1 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-note-private.h:
4 * src/hildon-note.c: (hildon_note_set_property),
5 (hildon_note_get_property), (hildon_note_class_init),
6 (hildon_note_init), (hildon_note_finalize),
7 (hildon_note_new_confirmation_with_icon_name),
8 (hildon_note_new_information_with_icon_name):
10 No need to mark as deprecated the actual code. Revert
11 to avoid missing symbols in widgets using deprecated API.
13 2008-11-20 Alberto Garcia <agarcia@igalia.com>
15 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
17 * src/hildon-volumebar.h
18 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
19 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
22 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
23 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
25 * examples/Makefile.am:
26 Deprecate hildon-insensitive-example
28 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
30 2008-11-20 Alberto Garcia <agarcia@igalia.com>
32 * examples/hildon-pannable-area-buttons-scroll-example.c:
33 Make all buttons finger height
35 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
37 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
39 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
40 update the day model only if it is really required, and to avoid the
41 full-reconstruction aproach. Now it only add or remove the required days.
43 The purpose of this is avoid superfluous HildonTouchSelector::changed
46 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
47 with strange parameters)
49 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
51 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
53 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
54 the WINDOW_TYPE property.
56 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
58 2008-11-19 Alberto Garcia <agarcia@igalia.com>
61 Fix dependency to allow parallel compilation with make -jX
63 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
65 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
66 color frame and some minor tweaks to make it more consistent with
69 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
70 highlighted but not visible)
72 2008-11-14 Alejandro G. Castro <alex@igalia.com>
74 * examples/Makefile.am: Fixed typo in the Makefile.am.
76 2008-11-14 Alejandro G. Castro <alex@igalia.com>
78 Reviewed the use of MAEMO_GTK define, now we add the define in the
79 compilation line, and we also add it to the pc file.
81 * configure.ac: Added MAEMO_GTK define to the compilation command
82 and removed it from the config.h.
84 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
85 do not have to take care about this define if the library was
89 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
91 2008-11-14 Alejandro G. Castro <alex@igalia.com>
93 * examples/Makefile.am,
94 * examples/hildon-pannable-area-buttons-scroll-example.c,
95 * examples/hildon-pannable-area-gesture-signals-example.c,
96 * examples/hildon-pannable-area-scroll-jump-example.c,
97 * examples/hildon-pannable-area-tree-view-example.c:
98 Renamed the pannable area examples, now they have more meaningful
101 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
103 * src/hildon-touch-selector.c:
104 (hildon_touch_selector_set_column_selection_mode): Used of
105 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
106 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
107 to avoid re-seting the same selection mode.
109 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
110 breaks HildonPickerDialog)
112 2008-11-13 Alejandro G. Castro <alex@igalia.com>
114 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
115 conditional in the Makefile.am
117 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
119 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
120 Remove unused methods.
122 2008-11-12 Alberto Garcia <agarcia@igalia.com>
124 * src/hildon-button.c (hildon_button_init):
125 Make button images center-aligned by default
127 2008-11-12 Alejandro G. Castro <alex@igalia.com>
130 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
131 activated, we have to think about how to deal with both defines
132 MAEMO_GTK and MAEMO_CHANGES.
134 2008-11-12 Alberto Garcia <agarcia@igalia.com>
136 * examples/hildon-app-menu-example.c (create_menu): Make all
139 2008-11-11 Alejandro G. Castro <alex@igalia.com>
141 Fixed the compilation without maemo gtk adding ifdefs with
142 MAEMO_GTK define to the code, we have to check this version more
145 * examples/Makefile.am: Added control to avoid some examples that
146 just make sense with maemo gtk.
149 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
150 hildon modes with the define.
152 * examples/hildon-edit-toolbar-example.c,
153 (create_icon_view): Create the icon view without hildon-gtk
154 helpers if we are not using maemo gtk.
156 * src/hildon-touch-selector.c,
157 (_create_new_column): Create the treeview without hildon-gtk
158 helpers if we are not using maemo gtk.
160 2008-11-11 Alejandro G. Castro <alex@igalia.com>
162 * src/hildon-pnnable-area.c,
163 (hildon_pannable_area_dispose),
164 (hildon_pannable_area_button_press_cb),
165 (hildon_pannable_area_child_mapped),
166 (hildon_pannable_area_add),
167 (hildon_pannable_area_remove): Added code to control the position
168 of the event_window when adding and removing children from the
169 pannable. We have to raise the event window when the child is
172 Fixes: NB#89811 (Not able to select first image thumbnail in multi
173 selection mode using custom widget inside pannable)
175 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
177 * configure.ac: post release version bump
178 * debian/changelog: version bump
180 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
185 * configure.ac: bump version
186 * debian/changelog: updates
188 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
190 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
191 search mode, in order to avoid lose the focus on the treeview when
192 a hw key (like enter) is pressed.
194 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
195 in HildonDateSelector dialog)
197 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
199 * debian/rules: Added --enable-maintainer-mode
200 * Makefile.am: Added ACLOCAL_AMFLAGS
202 This allows to properly regenerate the Makefiles if you modify the
203 configure.ac or any Makefile.am.
205 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
207 * examples/hildon-app-menu-example.c: (main): Do not set RC style
208 properties, not needed at all.
210 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
212 * src/hildon-note-private.h: Add strings for the icon and stock_icon
214 * src/hildon-note.c: (hildon_note_set_property),
215 (hildon_note_get_property), (hildon_note_class_init),
216 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
217 (hildon_note_new_confirmation_add_buttons): Remove icons.
218 (hildon_note_new_confirmation_with_icon_name): Deprecate.
219 (hildon_note_new_information_with_icon_name): Deprecate.
220 (hildon_note_new_confirmation): Act directly, without calling
221 the deprecated constructor.
222 (hildon_note_new_information): Act directly, without calling
223 the deprecated constructor.
224 * src/hildon-note.h: Mark deprecate methods as such.
225 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
226 not run tests on the deprecated methods if built with deprecation
229 Fixes: NB#91688 (Never show icons in information notes/confirmation
232 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
234 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
235 (hildon_app_menu_key_press): Remove leftover usage of the
236 private structure in HildonAppMenu struct.
237 * src/hildon-app-menu.h: Remove leftover private structure
238 from the HildonAppMenu struct.
240 Fixes a crasher when using the HildonAppMenu.
242 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
244 * src/hildon-picker-dialog.c: Use appropriate logical id
245 for the default "Done" text.
247 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
249 * configure.ac: post release version bump
250 * debian/changelog: version bump
252 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
254 Modified the way to scroll to the current selection just when the touch
255 selector is shown on the screen, avoiding a g_idle. Added too a property
256 to configure this behaviour. See hildon_pannable_area_jump_to_child
257 documentation for more information.
259 * src/hildon-touch-selector.c
260 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
261 Added 'initial-scroll' property
262 (hildon_touch_selector_set_property): Added
263 (hildon_touch_selector_map): Removed as not required anymore
264 (_hildon_touch_selector_on_selected_items): Modified in order to manage
265 only a concrete column, instead of iterate along all the columns
267 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
272 * configure.ac: bump version
273 * debian/changelog: updates
275 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
277 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
278 compilation time warnings.
280 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
282 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
283 the default value for HildonPannableArea::mov-mode to
284 HILDON_PANNABLE_AREA_MODE_VERT.
286 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
288 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
290 Reverting following commit:
292 2008-10-13 Alberto Garcia <agarcia@igalia.com>
294 * src/hildon-app-menu-private.h
295 * src/hildon-app-menu.[ch]
296 * src/hildon-button.[ch]
297 * src/hildon-check-button.[ch]
298 * src/hildon-entry.[ch]
299 * src/hildon-pannable-area.[ch]
300 * src/hildon-text-view.[ch]:
301 Added private field to the object's structure.
303 because it causes an ABI breakage. We will need to introduce these
304 changes later at some point. See NB#91636 for an extensive
305 explanation and status.
307 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
309 Patch contributed by Daniel Borgmann (danielb@openismus.com)
311 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
312 remove special cases that are no longer necessary.
314 Fixes: NB#91016 (Change toolbar sizes, simplification)
316 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
318 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
319 is shown in the cancel note.
321 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
323 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
324 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
325 (hildon_seekbar_init): Remove steppers, remove expose event.
326 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
328 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
330 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
332 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
333 label font to "SmallSystemFont" for vertically arranged buttons.
335 Fixes: NB#90662 (HildonButton "value" and "detail" text is
338 2008-10-31 Alberto Garcia <agarcia@igalia.com>
340 * src/hildon-check-button.c
341 (hildon_check_button_set_active, hildon_check_button_clicked):
342 Don't access private parts directly, use getters instead.
344 2008-10-31 Alberto Garcia <agarcia@igalia.com>
346 * src/hildon-check-button.c (hildon_check_button_new):
347 Align the contents of the check button to the left.
349 2008-10-30 Alejandro G. Castro <alex@igalia.com>
351 * src/hildon-pannable-area.c,
352 (hildon_pannable_area_scroll_to),
353 (hildon_pannable_area_jump_to),
354 (hildon_pannable_area_scroll_to_child),
355 (hildon_pannable_area_jump_to_child): Replace the mapped
356 precondition of these functions with the realized, it is the
357 correct state of the widget in this case. Changed the
358 documentation according to this modification.
360 2008-10-30 Alejandro G. Castro <alex@igalia.com>
362 Added a new EXTRA_CFLAGS option to add the deprecated define to
363 the compilation command. This way we can avoid using the define in
364 the documentation compilation.
366 * configure.ac: Defined EXTRA_CFLAGS.
368 * examples/Makefile.am:
370 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
372 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
374 * src/hildon-picker-dialog.c:
375 Defined a utility macro with the desired touch selector height
376 Removed currently unused separator, and title_label variables from
378 (hildon_picker_dialog_init): Removed code related to the creation
379 of unused private variables title_label and separator.
380 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
381 to ensure correct visualization of the touch selector inside the dialog.
382 * src/hildon-touch-selector.c
383 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
384 ensure a concrete height of the widget.
386 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
391 Remove spurious whitespaces.
393 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
395 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
396 compilation warning after the cancel button removal.
398 2008-10-30 Alejandro G. Castro <alex@igalia.com>
400 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
402 * configure.ac: Added an AM_CONDITIONAL in order to use in the
403 Makefile.am, that way we can choose not to compile some examples
404 and tests of the deprecated widgets.
406 * examples/Makefile.am: Divided the sources in deprecated and
409 * src/Makefile.am: Added undef statement of the deprecated
410 symbol to the enums file generation process.
412 * src/hildon-color-chooser-dialog.c
413 * src/hildon-color-chooser-dialog.h
414 * src/hildon-color-button.c
415 * src/hildon-color-button.h
416 * src/hildon-color-chooser.c
417 * src/hildon-color-chooser.h
418 * src/hildon-controlbar.c
419 * src/hildon-controlbar.h
420 * src/hildon-date-editor.c
421 * src/hildon-date-editor.h
422 * src/hildon-hvolumebar.c
423 * src/hildon-hvolumebar.h
424 * src/hildon-private.c
425 * src/hildon-private.h
426 * src/hildon-range-editor.c
427 * src/hildon-range-editor.h
428 * src/hildon-seekbar.c
429 * src/hildon-seekbar.h
430 * src/hildon-time-editor.c
431 * src/hildon-time-editor.h
432 * src/hildon-time-picker.c
433 * src/hildon-time-picker.h
434 * src/hildon-volumebar.c
435 * src/hildon-volumebar.h
436 * src/hildon-vvolumebar.c
437 * src/hildon-vvolumebar.h
438 * src/hildon-bread-crumb-trail.h
439 * src/hildon-bread-crumb-trail.c
440 * src/hildon-calendar-popup.c
441 * src/hildon-calendar-popup.h
442 * src/hildon-weekday-picker.c:
443 * src/hildon-weekday-picker.h:
444 * src/hildon-bread-crumb-widget.c:
445 * src/hildon-bread-crumb-widget.h:
446 * src/hildon-bread-crumb.c:
447 * src/hildon-bread-crumb.h:
448 * src/hildon-calendar.c:
449 * src/hildon-calendar.h:
450 * src/hildon-caption.c:
451 * src/hildon-code-dialog.c:
452 * src/hildon-code-dialog.h:
453 * src/hildon-font-selection-dialog.c:
454 * src/hildon-font-selection-dialog.h:
455 * src/hildon-get-password-dialog.c:
456 * src/hildon-get-password-dialog.h:
457 * src/hildon-login-dialog.c:
458 * src/hildon-login-dialog.h:
459 * src/hildon-number-editor.c:
460 * src/hildon-number-editor.h:
461 * src/hildon-set-password-dialog.c:
462 * src/hildon-set-password-dialog.h:
463 * src/hildon-sort-dialog.c:
464 * src/hildon-sort-dialog.h: This is the list of deprecated
467 * src/hildon-touch-selector.c:
468 * src/hildon-window.c: Added undef statement to avoid compilation
471 * tests/Makefile.am: Divided the sources in deprecated and
474 * tests/check_test.c,
475 (configure_tests): Marked the deprecated code that was adding
476 suites with deprecated tests.
478 Fixes: NB#91135 (Deprecate legacy hildon widgets)
480 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
482 * src/hildon-touch-selector.c: (_default_print_func): Do not
483 duplicate a string returned by gtk_tree_model_get(), it is already
486 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
489 2008-10-28 Alejandro G. Castro <alex@igalia.com>
491 * src/hildon-pannable-area.c
492 (hildon_pannable_area_add_with_viewport): Reviewed the complete
493 method, it had problems when adding a widget with viewport the
494 second time. Now checks if it already has a viewport and uses it.
496 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
499 2008-10-28 Alejandro G. Castro <alex@igalia.com>
501 * src/hildon-pannable-area.c,
502 (hildon_pannable_area_scroll_to),
503 (hildon_pannable_area_jump_to),
504 (hildon_pannable_area_scroll_to_child),
505 (hildon_pannable_area_jump_to_child): Added a precondition to the
506 scroll and jump to functions: the widget must be mapped before we
507 can safely call these functions. We have also added documentation
508 to the functions to explain how to use them in this situation.
511 2008-10-28 Alejandro G. Castro <alex@igalia.com>
513 Reviewed the threading handling of the pannable widget, we have
514 used the gdk_threads_add_timeout function instead of the usual
515 glib handlers. This avoids some problems with the threads.
517 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
518 (hildon_pannable_area_initial_effect),
519 (hildon_pannable_area_scroll_indicator_fade),
520 (hildon_pannable_area_button_press_cb),
521 (hildon_pannable_area_timeout),
522 (hildon_pannable_area_motion_notify_cb),
523 (hildon_pannable_area_button_release_cb),
524 (hildon_pannable_area_scroll_cb),
525 (hildon_pannable_area_scroll_to): Removed the
526 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
527 gdk_threads_add_timeout.
529 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
531 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
536 * configure.ac: bump version
537 * debian/changelog: updates
539 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
541 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
542 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
543 * src/hildon-color-chooser-dialog.c:
544 (hildon_color_chooser_dialog_init):
545 * src/hildon-font-selection-dialog.c:
546 (hildon_font_selection_dialog_init):
547 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
549 Remove all cancel/close-like dialogs, as these are not going to be
552 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
554 * src/hildon-note.c: (hildon_note_rebuild),
555 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
558 Fixes: NB#90661 (Delete dialog is displayed without NO button)
560 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
562 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
563 sure all buttons are shown, even the Cancel/Close-like ones.
565 Fixes: NB#90861 (Custom Confirmation dialogs should be
566 protected from cancel button removal)
568 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
570 * debian/control: Change libhildon1-examples dependency from libhildon1
572 * debian/libhildon1-examples.install
574 * Makefile.am: Modified the final install directory for the examples on
575 package libhildon1-examples
576 * Makefile.static: Update clean target in order to remove all the binary
579 Changes suggested by Claudio after review new libhildon1-examples package
581 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
583 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
584 * src/hildon-touch-selector.c: Ditto.
586 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
588 * debian/control: Added new package libhildon1-examples, in order to pack
589 the current hildon examples as documentation
590 * debian/rules: Not to compress .c files, modify some includes on the
591 examples (as normally are compiled locally, but when installed it will
592 require to include the installed libhildon1 library), and rename
594 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
595 install all the example files on the new example package
596 * examples/Makefile.static: Added static makefile that can be used to
597 compile the examples, once installed the new example package
598 * examples: Most of the examples were modified in order to grant that
599 all use only '#include "hildon.h"', in order to be easy to prepare
600 it on the example package
602 2008-10-23 Alberto Garcia <agarcia@igalia.com>
605 * debian/libhildon1-dev.install
606 * debian/libhildon1-doc.install:
607 Move all gtk-doc files to a separate libhildon1-doc package.
609 2008-10-23 Daniel Borgmann <danielb@openismus.com>
611 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
613 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
615 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
617 * debian/rules: Fixed a error in order to avoid unnecessary calls
618 to autogen.sh on package building
620 2008-10-22 Alberto Garcia <agarcia@igalia.com>
622 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
624 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
626 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
629 2008-10-21 Alberto Garcia <agarcia@igalia.com>
631 * src/hildon-picker-button.c
632 (hildon_picker_button_finalize):
633 Free priv->done_button_text
635 * src/hildon-time-button.c
636 (hildon_time_button_set_time)
637 * src/hildon-picker-button.c
638 (hildon_picker_button_clicked)
639 (hildon_picker_button_selector_selection_changed)
640 (hildon_picker_button_set_selector)
641 * src/hildon-date-button.c
642 (hildon_date_button_set_date):
643 Free strings returned by hildon_touch_selector_get_current_text()
645 * src/hildon-button.c (hildon_button_construct_child):
646 Fix leaks in priv->image and priv->label_box
648 Fixes: NB#90535 (Memory leak in picker button)
650 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
652 * src/hildon-button.c: (hildon_button_get_property): Do not access
653 private elements directly, use getters instead.
655 2008-10-20 Alberto Garcia <agarcia@igalia.com>
657 * src/hildon-app-menu-private.h
658 * src/hildon-app-menu.c
659 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
660 Store the menu's parent window.
662 * src/hildon-stackable-window.c
663 (hildon_stackable_window_toggle_menu)
664 (hildon_stackable_window_finalize):
665 Set the menu's parent window when the menu is shown, unset it when
668 * src/hildon-app-menu.c
669 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
670 (hildon_app_menu_class_init):
671 Send unhandled keyboard accelerators to the parent window.
673 2008-10-20 Alberto Garcia <agarcia@igalia.com>
675 * src/hildon-stackable-window.c
676 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
678 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
680 * configure.ac: post release version bump
682 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
685 * configure.ac: Bump version
686 * debian/changelog: Updates
687 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
690 2008-10-20 Alberto Garcia <agarcia@igalia.com>
692 Patch contributed by Daniel Borgmann (danielb@openismus.com)
695 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
696 GtkMenu with Hildon style.
698 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
700 * src/hildon-picker-button.c:
701 (hildon_picker_button_set_done_button_text): Set the dialog's
702 done button text here as well.
704 Fixes: NB#90232 (Picker button does not set the label on done button
707 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
709 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
712 2008-10-16 Alberto Garcia <agarcia@igalia.com>
714 * src/hildon-app-menu.c (hildon_app_menu_insert)
715 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
716 the HildonAppMenu to be activatable using keyboard accelerators
717 when the menu is not being shown.
719 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
721 2008-10-16 Alberto Garcia <agarcia@igalia.com>
723 * src/hildon-stackable-window.c
724 (hildon_stackable_window_show):
725 Don't hide old windows automatically when new windows are shown:
726 this is now a task for the window manager.
727 (hildon_stackable_window_class_init)
728 (hildon_stackable_window_hide):
729 Remove windows from the stack everytime they're hidden.
730 (hildon_stackable_window_realize):
731 Don't change the _NET_WM_WINDOW_TYPE property. Use
732 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
733 it as a stackable window.
735 * src/hildon-program.c
736 (hildon_program_pop_window_stack):
737 Just hide the window to remove it from the stack.
738 (hildon_program_go_to_root_window):
739 Don't call gtk_widget_show(), this is now a task for the window
742 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
744 2008-10-15 Alberto Garcia <agarcia@igalia.com>
746 * src/hildon-button.c
747 (hildon_button_construct_child):
748 Don't pack anything in the button until text or image are
749 set. This allows adding a custom child after creating the button
750 with hildon_button_new().
751 (hildon_button_finalize, hildon_button_class_init)
752 (hildon_button_init, hildon_button_set_arrangement): Destroy the
753 alignment and the label box even when they're not packed in the
756 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
758 * src/hildon-touch-selector.h:
759 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
760 currently the type definition was using GTK_TYPE_VBOX
761 * src/hildon-touch-selector.c:
762 Added some implementation notes in order to clarify that any other widget
763 added without the column related API will not be included on the
764 selection logic, and how the widget is freed, as some people ask about
766 (hildon_touch_selector_remove): Reimplemented in order to free properly
767 the column related data when you remove the private hbox.
768 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
769 to get a proper HildonTouchSelectorColumn documentation
771 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
773 * src/hildon-touch-selector-entry.c:
774 (hildon_touch_selector_entry_print_func): Return NULL if there is no
775 text in the GtkEntry and there is no item selected. Fixes a
778 2008-10-13 Alberto Garcia <agarcia@igalia.com>
780 * src/hildon-app-menu-private.h
781 * src/hildon-app-menu.[ch]
782 * src/hildon-button.[ch]
783 * src/hildon-check-button.[ch]
784 * src/hildon-entry.[ch]
785 * src/hildon-pannable-area.[ch]
786 * src/hildon-text-view.[ch]:
787 Added private field to the object's structure.
789 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
791 * configure.ac: post-release version bump
793 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
797 * configure.ac: pre-release version bump
799 * debian/changelog: updates.
801 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
803 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
804 Disconnect the handler for HildonTouchSelector::changed.
806 (hildon_picker_button_selector_selection_changed): Update the button
807 value if the selection change was not triggered by the
810 (hildon_picker_button_set_selector): connect to
811 HildonTouchSelector::changed.
813 Fixes: NB#89650 (Picker button is not updated, when selection in
814 selector has changed)
816 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
818 * src/hildon-picker-dialog.c
819 (hildon_picker_dialog_realize): Removed as not required
820 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
821 * src/hildon-picker-button.c
822 (_current_selector_empty): New function, checks if the selector is empty
823 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
824 if the current selector is empty, in order to avoid to show the dialog
825 close the dialog in this case (and shows a g_warning).
827 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
829 2008-10-09 Alejandro G. Castro <alex@igalia.com>
831 * src/hildon-pannable-area.c,
832 (hildon_pannable_area_scroll): Added clause to stop movement when
833 the child of pannable is smaller than one page.
834 (hildon_pannable_area_scroll_to): Added conditions to avoid
835 starting the scrolling movement if the child is smaller than one
836 page, the complete child is in the screen, we do not have to move.
838 Fixes: NB#89632 (Picker button selection doesn't change on first click)
840 2008-10-09 Alberto Garcia <agarcia@igalia.com>
842 * src/hildon-app-menu.c: Removed the 'columns' property, as now
843 this is managed automatically by the widget when the size of the
846 2008-10-09 Alberto Garcia <agarcia@igalia.com>
848 * src/hildon-picker-button.c
849 (hildon_picker_button_set_done_button_text): Make a copy of the
850 text, and free the previous value.
852 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
854 * src/hildon-touch-selector-entry.c:
855 (hildon_touch_selector_entry_print_func): Return the selected row's
856 text if the entry is empty.
858 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
861 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
863 * src/hildon-touch-selector-entry.c: Minor docs fixes.
865 2008-10-09 Alberto Garcia <agarcia@igalia.com>
868 * src/hildon-check-button.h
869 * src/hildon-check-button.c
870 * examples/hildon-check-button-example.c:
871 HildonCheckButton is now a new widget. 'toggled' signal added.
873 2008-10-08 Alberto Garcia <agarcia@igalia.com>
875 * src/hildon-program-private.h
876 * src/hildon-program.c (hildon_program_init)
877 (hildon_program_finalize): Removed unused variables group_leader
878 and name from HildonProgramPrivate.
880 2008-10-08 Alberto Garcia <agarcia@igalia.com>
882 * src/hildon-check-button.c (hildon_check_button_set_active)
883 (hildon_check_button_get_active, hildon_check_button_new): Use
884 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
886 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
888 * src/hildon-touch-selector.h
889 (hildon_touch_selector_set_column_attributes): added deprecation
890 guard HILDON_DISABLE_DEPRECATED
891 * src/hildon-time-selector.c
892 (hildon_time_selector_set_time)
893 (hildon_time_selector_get_time): Fixed a typo on documentation
894 * src/hildon-touch-selector.c: update HildonTouchSelector and
895 HildonTouchSelectorColumn documentation
896 * src/hildon-touch-selector-entry.c: update "text-column" property
898 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
899 to be added to the general documentation.
901 2008-10-08 Alejandro G. Castro <alex@igalia.com>
903 * examples/hildon-pannable-area-example-4.c,
905 * examples/hildon-pannable-area-example.c,
906 (main): Modified the code in order to use the container add, with
907 viewport treeviews could have problems if they are really big.
909 2008-10-06 Alejandro G. Castro <alex@igalia.com>
911 * src/hildon-weekday-picker.c,
912 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
913 the agreement regarding deprecation in the library.
915 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
917 * examples/hildon-picker-button-multicolumn-example.c:
918 (main): Use custom "done" button text.
920 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
921 (hildon_picker_button_set_property),
922 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
923 (hildon_picker_button_init),
924 (+hildon_picker_button_get_done_button_text),
925 (+hildon_picker_button_set_done_button_text): New methods to customize
926 the "done" button label in the launched HildonPickerDialog. Also,
929 * src/hildon-picker-button.h: add the public API.
931 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
933 * src/hildon-date-selector.h:
934 * src/hildon-picker-dialog.h:
935 * src/hildon-time-selector.h:
936 * src/hildon-touch-selector-column.h:
937 * src/hildon-touch-selector.h:
939 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
940 declarations. Fixes gtk-doc warnings.
942 2008-10-06 Alberto Garcia <agarcia@igalia.com>
944 * src/hildon-picker-dialog.h
945 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
946 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
948 Fixes: NB#89329 (selectors in picker dialog are not visible when a
949 long text is set as label for done button)
951 2008-10-06 Alberto Garcia <agarcia@igalia.com>
953 * src/hildon-dialog.c (hildon_dialog_add_button):
954 Set fixed width to all buttons in the HildonDialog.
956 2008-10-06 Alberto Garcia <agarcia@igalia.com>
958 Patch contributed by Daniel Borgmann (danielb@openismus.com)
960 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
961 Set widget name using class name plus "-finger" or "-thumb".
963 2008-10-03 Alberto Garcia <agarcia@igalia.com>
965 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
966 'clicked' when the state of the button is manually changed.
968 2008-10-02 Alberto Garcia <agarcia@igalia.com>
970 * src/hildon-app-menu.c (hildon_app_menu_realize)
971 (hildon_app_menu_unrealize, hildon_app_menu_init)
972 (hildon_app_menu_class_init, item_visibility_changed):
973 Change the menu layout when the size of the screen changes.
974 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
975 Show warning only when changing the number of colums using the
978 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
980 * debian/compat: Set to 5
981 * debian/control: Update dependencies.
982 * debian/libhildon1-dbg.install: Remove.
983 * debian/libhildon1-dev.install: Update according to cdbs paths.
984 * debian/libhildon1.install: Update according to cdbs paths.
985 * debian/rules: Switch to cdbs.
987 2008-10-01 Alberto Garcia <agarcia@igalia.com>
989 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
990 'item' variable renamed to 'filter'
992 2008-10-01 Alberto Garcia <agarcia@igalia.com>
994 * src/hildon-app-menu.c (hildon_app_menu_insert)
995 (hildon_app_menu_add_filter, remove_item_from_list)
996 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
997 Don't leak hidden items when the menu is destroyed.
999 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1001 * src/hildon-app-menu.c (hildon_app_menu_insert)
1002 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1003 (hildon_app_menu_set_columns, item_visibility_changed)
1004 (filter_visibility_changed, hildon_app_menu_repack_filters)
1005 (hildon_app_menu_repack_items):
1006 Repack items and filters separately.
1008 Don't repack all items, change only the ones that are needed to
1011 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1013 * src/Makefile.am: added hildon-touch-selector-column.h
1015 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1017 * src/hildon-touch-selector.c: added the property "text-column" to the
1018 class HildonTouchSelectorColumn, and related get/set functions
1019 (_default_printf_func): updated to use "text-column" property
1020 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1021 "text-column" in his documentation, as this is now included on
1022 HildonTouchSelectorColumn. The get/set_property can still be used,
1023 working as a wrapper to the concrete column "text-column" property
1024 (_text_column_modified): callback added in order to handle the signal
1025 "notify::text-column" of the concrete HildonTouchSelectorColumn
1026 (hildon_touch_selector_entry_get_text_column)
1027 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1028 modified in order to use the HildonTouchSelectorColumn "text-column"
1030 * src/hildon-time-selector.c:
1031 * src/hildon-date-selector.c:
1032 * examples/hildon-touch-selector-example.c
1033 * examples/hildon-touch-selector-multi-cells-example.c
1034 * examples/hildon-picker-button-multicolumn-example.c
1035 Set the right value to "text-column" property on the creation of a new
1036 column using hildon_touch_selector_append_column()
1038 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1040 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1042 * src/hildon-app-menu.c
1043 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1044 updating the layout of the menu, don't create all widgets again,
1045 just repack the items in their new places.
1047 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1049 * src/hildon-time-selector.c
1050 (hildon_time_selector_get_time)
1051 (hildon_time_selector_set_time)
1052 Added documentation of these public methods
1054 * src/hildon-date-button.h
1055 * src/hildon-touch-selector-column.h
1056 * src/hildon-time-button.h
1057 * src/hildon-picker-dialog.h
1058 * src/hildon-time-selector.h
1059 * src/hildon-picker-button.h
1060 * src/hildon-touch-selector.h
1061 * src/hildon-time-picker.h
1062 * src/hildon-date-selector.h
1063 * src/hildon-touch-selector-entry.h
1064 Modified in order to use hildon-widgets code style
1066 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1068 Added deprecated support to the compilation process using
1069 HILDON_DISABLE_DEPRECATED
1071 * configure.ac: Added the --disable-deprecated to the configure
1074 * src/hildon-weekday-picker.c:
1075 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1076 to use the deprecated support. We will update the other deprecated
1077 widgets status in a new patch.
1079 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1081 * configure.ac: Fixed typo with fatal warnings support, the
1082 variable name was not correct
1084 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1086 * src/hildon-app-menu.c
1087 * src/hildon-program.c: Update documentation.
1089 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1091 * configure.ac: Post-release version bump.
1093 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1098 * configure.ac: Pre-release version bump.
1099 * debian/changelog: Updates.
1101 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1103 * NEWS: Update news for previous releases.
1105 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1107 * examples/hildon-touch-selector-multi-cells-example.c:
1108 (create_selector): Update the example to use
1109 hildon_touch_selector_append_column() with a NULL renderer and set
1110 the renderers later.
1111 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1112 passed a NULL renderer. This is documented behavior now.
1114 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1115 This must be used if the developer wants full control on the layout of
1116 the renderers to be added to the column.
1118 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1120 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1122 * src/hildon-touch-selector.c: Documentation fixes.
1124 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1126 * src/hildon-wizard-dialog-private.h: Remove image and box.
1127 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1128 (hildon_wizard_dialog_set_property), (response): Completely remove
1129 image/icon support, and the containers required for the layout.
1131 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1133 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1135 * src/hildon-app-menu.c: Updated documentation.
1137 * src/hildon-stackable-window.c
1138 (hildon_stackable_window_set_main_menu): Unref the old menu after
1139 ref'ing the new one.
1141 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1143 * src/hildon-stackable-window.c
1144 (hildon_stackable_window_set_main_menu): Unref the previous menu
1145 instead of destroying it.
1147 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1148 floating reference and set has_user_ref_count to FALSE to make
1149 HildonAppMenu act like a normal ref-counted widget and not a
1152 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1155 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1157 * src/hildon-touch-selector-column.h: new file
1158 * src/hildon-touch-selector.h
1159 * src/hildon-touch-selector.c
1160 Implemented GtkCellLayout interface, in order to allow to configure
1161 the cell layout on each individual selector column
1162 (hildon_touch_selector_set_column_attributes): marked as deprecated
1163 * examples/hildon-touch-selector-multi-cells-example.c
1164 Example of how to use the GtkCellLayout interface on the selector
1166 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1168 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1170 * src/hildon-app-menu.h
1171 * src/hildon-app-menu.c
1172 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1173 (hildon_app_menu_append, hildon_app_menu_prepend):
1174 New methods to prepend, insert and move items in the menu.
1176 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1178 * src/hildon-wizard-dialog.c:
1180 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1182 (create_title): Update logical IDs and related code.
1183 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1185 * src/hildon-wizard-dialog.h: Note that
1186 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1187 point, as it is not used anymore.
1189 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1191 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1193 * src/hildon-note.c:
1194 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1195 shown. Do not display an icon in confirmation notes nor information
1197 (hildon_note_set_button_text): Update logical ID for cancel button.
1199 Fixes: NB#88850 (Update HildonNote button strings + signals)
1201 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1203 * src/hildon-stackable-window.c
1204 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1206 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1208 * src/hildon-app-menu-private.h
1209 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1210 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1211 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1212 temporary property 'columns' to change the number of columns.
1214 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1216 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1218 * examples/hildon-note-example.c: (on_information_clicked),
1219 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1220 debugging information.
1221 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1223 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1224 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1225 in order to close: this will be handled by the WM from now on.
1227 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1229 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1231 * src/hildon-app-menu-private.h
1232 * src/hildon-app-menu.c
1233 (hildon_app_menu_append, hildon_app_menu_add_filter)
1234 (button_visibility_changed, hildon_app_menu_apply_style)
1235 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1236 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1237 layout everytime a button (item or filter) is shown or hidden.
1239 * src/hildon-stackable-window.c
1240 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1243 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1245 * src/hildon-touch-selector.c:
1246 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1247 that the treeview inside the touch selector is in fremantle hildon mode
1248 * examples/hildon-date-button-example.c
1249 * examples/hildon-picker-button-multicolumn-example.c
1250 * examples/hildon-touch-selector-entry-example.c
1251 * examples/hildon-touch-selector-example.c
1252 * examples/hildon-time-button-example.c
1253 * examples/hildon-picker-button-example.c:
1254 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1256 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1258 * examples/hildon-text-view-example.c: (main): Remove the
1259 gtkrc bits, now handled by the theme.
1261 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1263 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1266 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1268 * po/Makefile.am: Install properly the mo files.
1269 * po/en_GB.po: Update translation, to ease testing purposes.
1271 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1273 * examples/hildon-picker-button-example.c: (main): Select an item
1274 in the selector before setting it to the button.
1276 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1278 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1279 Update button's value if the selector has an item active.
1281 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1282 'value' with the selector)
1284 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1286 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1287 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1288 (hildon_picker_button_class_init): Plug the finalize method.
1289 (hildon_picker_button_set_selector): If there's a previously set
1290 selector, unref'it before setting a new one.
1292 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1293 HildonTouchSelector)
1295 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1297 * src/hildon-touch-selector-entry.c:
1298 (hildon_touch_selector_entry_changed): Check if there is no text
1299 selected before setting the entry text.
1302 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1304 * src/hildon-touch-selector.h
1305 * src/hildon-touch-selector.c
1306 (hildon_touch_selector_get_active)
1307 (hildon_touch_selector_set_active): New methods to set/get the
1308 index of the selected item.
1310 * src/hildon-picker-button.h
1311 * src/hildon-picker-button.c
1312 (hildon_picker_button_get_active)
1313 (hildon_picker_button_set_active): New methods to set/get the
1314 index of the selected item.
1316 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1318 * configure.ac: post-release version bump.
1320 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1324 * configure.ac: Pre-release version bump.
1325 * debian/changelog: Updates.
1326 * debian/control: Add myself as maintainer and depend on l10n
1329 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1331 * src/hildon-window.c
1332 (hildon_window_set_main_menu)
1333 * src/hildon-stackable-window.c
1334 (hildon_stackable_window_set_main_menu):
1335 Updated documentation.
1337 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1339 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1340 Don't free selector->priv manually.
1343 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1346 (hildon_gtk_window_set_progress_indicator):
1347 * src/hildon-gtk.h: Added the new API
1348 hildon_gtk_window_set_progress_indicator, it changes the state of
1349 the window progress hint.
1351 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1353 * src/hildon-button.c
1354 * src/hildon-stackable-window.c: Minor documentation updates.
1356 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1358 * src/hildon-stackable-window.c: Updated documentation.
1360 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1362 * src/hildon-defines.h: Update margins definitions
1363 to the Fremantle sizes.
1366 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1368 * src/hildon-touch-selector.c,
1369 (_hildon_touch_selector_set_model): Cleaning the code after
1370 review, removed g_print and #if 0 from the code.
1372 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1374 * src/hildon-edit-toolbar.c: Update documentation.
1376 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1378 * src/hildon-check-button.h
1379 * src/hildon-check-button.c
1380 (hildon_check_button_set_label, hildon_check_button_get_label)
1381 * examples/hildon-check-button-example.c
1382 (button_clicked_cb):
1383 Removed deprecated methods.
1385 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1387 * src/hildon-text-view.c:
1388 Add sample code to the documentation.
1390 * src/hildon-entry.h
1391 * src/hildon-text-view.h:
1392 Minor cosmetic changes.
1394 * src/hildon-entry.c:
1395 Add sample code to the documentation.
1396 (hildon_entry_init, hildon_entry_refresh_contents):
1397 Don't allow NULL values in the placeholder.
1399 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1401 * doc/hildon-docs.sgml
1403 * examples/Makefile.am
1404 * examples/hildon-text-view-example.c
1406 * src/hildon-text-view.c
1407 * src/hildon-text-view.h
1409 New HildonTextView widget, with example.
1411 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1413 * po/POTFILES.in: Add missing files with translatable strings.
1414 Partially fixes NB#88287.
1416 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1418 * examples/hildon-pannable-area-example-2.c: (main): No need to
1419 set the cellrenderer height inside hildon touch lists, the theme does
1422 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1424 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1425 they are integrated in the theme.
1427 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1429 * examples/hildon-entry-example.c: Update the example adding
1430 widgets to modify the text and the placeholder of the HildonEntry.
1432 * src/hildon-entry.c: Show the placeholder everytime the widget
1433 is empty and loses the focus.
1435 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1437 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1439 * src/hildon-pannable-area.c,
1440 (hildon_pannable_area_size_request): Fixed bug in height
1441 requisition, avoid increasing size and add border twice.
1443 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1445 * configure.ac: postrelease version bump.
1447 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1451 * configure.ac: Prerelease version bump.
1452 * debian/changelog: update.
1453 * debian/rules: make -dbg package contain useful debugging symbols.
1455 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1457 * src/hildon-dialog.h
1458 * src/hildon-dialog.c
1459 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1460 New methods to add buttons with finger size.
1461 (hildon_dialog_new_with_buttons):
1462 Create buttons with finger size.
1464 * examples/hildon-dialog-example.c (main): Use HildonDialog
1465 methods to add buttons.
1467 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1469 * src/hildon-entry.c: Updated HildonButton documentation.
1471 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1473 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1474 button value label with (FALSE, FALSE) to prevent NB#88126 from
1477 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1479 * examples/hildon-pannable-area-example.c,
1480 (main): Removed examples panning a vbox inside a pannable
1481 area. Check bug NB#87965
1483 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1485 Patch contributed by Kris Rietveld (kris@imendio.com)
1487 * src/hildon-pannable-area.c,
1488 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1489 get_size and get_position, this saves an X server roundtrip.
1491 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1493 * doc/hildon-docs.sgml
1495 * examples/Makefile.am
1496 * examples/hildon-entry-example.c
1498 * src/hildon-entry.c
1499 * src/hildon-entry.h
1501 New HildonEntry widget, with example.
1503 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1505 * src/hildon-button.c (hildon_button_construct_child): Pack the
1506 image with expand == fill == FALSE. This is a workaround for a bug
1509 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1511 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1512 labels for the text column, to make it more look more dynamic.
1514 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1516 * src/hildon-time-selector.c
1517 Define gettext auxiliar macro N_
1518 (_create_minutes_model)
1519 (_create_hours_model)
1520 (_create_ampm_model): use of strftime in order to fill the model
1521 * src/hildon-date-selector.c
1522 (hildon_date_selector_finalize):
1523 (_locales_init): remove the logic related to get the name of the months
1524 using nl_langinfo, as it is not required anymore
1526 (_create_year_model)
1527 (_create_month_model)
1528 (_update_day_model): use of strftime in order to fill the model properly
1531 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1533 * src/hildon-button.h
1534 * src/hildon-button.c (hildon_button_get_image): New method to
1537 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1539 * src/hildon-touch-selector.c:
1540 (hildon_touch_selector_remove_column): Remove from the correct parent
1541 and also remove the list element and free it.
1544 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1546 * src/hildon-time-selector.c
1547 (_create_hours_model): change the range on 12h ampm format in order to use
1548 a 12-11 range instead of previous 01-12 range
1549 (hildon_time_selector_set_time): change the way to select the current time
1550 on 12h ampm format, due the change on the range
1551 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1554 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1556 * src/hildon-touch-selector.c
1557 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1558 in order to allow use this function on multiple row selection mode if
1559 the column is different that the first one
1562 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1564 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1565 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1567 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1569 * src/hildon-date-selector.h: clean some comments, now on the .c
1570 * src/hildon-date-selector.c
1571 (hildon_date_selector_select_month): first implementation
1572 (hildon_date_selector_select_day): added documentation, reimplemented
1573 using hildon_date_selector_select_current_date to avoid repeat code
1576 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1578 Reviewed interaction logic based on device experiences, refactored
1581 * src/hildon-pannable-area.c,
1582 (hildon_pannable_area_class_init): Updated default vmax speed.
1583 (hildon_pannable_area_calculate_velocity): Added this function, it
1584 avoids duplicate valocity calculation. Adjusted calculation to
1585 avoid problems with zero dist events.
1587 (hildon_pannable_area_motion_notify_cb): Now we use the
1588 calculate_velocity function.
1590 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1592 * src/hildon-date-selector.c
1593 (hildon_date_selector_select_current_date): fix the day range check
1594 as it failed using the last day of the current month
1597 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1599 * src/hildon-touch-selector.c
1600 (hildon_touch_selector_get_num_columns): added a parameter validation
1603 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1605 * examples/Makefile.am
1606 * examples/hildon-edit-toolbar-example.c: Example of the
1607 HildonEditToolbar widget.
1609 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1611 * configure.ac: postrelease version bump.
1613 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1617 * configure.ac: prerelease version bump.
1618 * debian/changelog: update.
1620 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1622 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1623 renderer to display stock icons in the touch list. Also, set the sizes
1624 to the recommended in the style guide.
1626 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1627 * src/hildon-touch-selector.h
1628 (hildon_touch_selector_set_active_iter): renamed, now is
1629 hildon_touch_selector_select_iter
1630 (hildon_touch_selector_get_active_iter): renamed, now is
1631 hildon_touch_selector_get_selected
1632 (hildon_touch_selector_unselect_iter): added
1633 * src/hildon-touch-selector.c
1634 Update after API modification (methods renamed)
1635 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1636 order to avoid problems selecting multiple elements on the column
1637 (hildon_touch_selector_unselect_iter): added the implementation
1638 * src/hildon-time-selector.c
1639 * src/hildon-date-selector.c
1640 * src/hildon-touch-selector-entry.c
1641 Update methods calls after hildon-touch-selector.h API modification (methods
1644 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1646 * src/hildon-stackable-window.c
1647 (hildon_stackable_window_finalize): Call the parent class's finalize.
1649 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1651 * examples/hildon-touch-selector-example.c: (create_selector): Use
1652 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1655 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1657 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1658 set a cell background color, to respect theming.
1660 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1662 * doc/hildon-docs.sgml
1665 * src/hildon-edit-toolbar.c
1666 * src/hildon-edit-toolbar.h
1667 * src/hildon.h: New HildonEditToolbar widget.
1669 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1671 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1674 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1675 * src/hildon-touch-selector.c
1676 (_create_new_column): use g_object_set instead of two g_object_set_property
1678 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1679 * src/hildon-touch-selector.c
1680 (_create_new_column): use of hildon_gtk_tree_view_new to create
1681 the treeview, instead of use directly g_object_new
1682 (_create_new_column): update the property name "vindicator-mode" for the
1683 new one "vscrollbar-policy"
1684 * examples/hildon-date-button-example.c
1685 * examples/hildon-picker-button-multicolumn-example.c
1686 * examples/hildon-touch-selector-entry-example.c
1687 * examples/hildon-touch-selector-example.c
1688 * examples/hildon-time-button-example.c
1689 * examples/hildon-picker-button-example.c
1690 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1691 to all the treeviews inside a pannable area.
1693 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1695 * src/hildon-button.h
1696 * src/hildon-button.c (hildon_button_init)
1697 (hildon_button_set_arrangement, hildon_button_set_alignment)
1698 (hildon_button_set_title_alignment)
1699 (hildon_button_set_value_alignment)
1700 (hildon_button_set_image_alignment)
1701 (hildon_button_construct_child): New methods to set the alignment
1702 of the individual components of the button (title, value,
1703 image). Also, new method to alter the xscale and yscale properties
1704 of the GtkAlignment inside the button, so more complex layouts can
1707 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1709 * src/hildon-button.c (hildon_button_style_set)
1710 (hildon_button_class_init, hildon_button_set_arrangement)
1711 (hildon_button_construct_child): Apply style properties
1712 correctly. Use the 'image-spacing' style property too.
1714 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1716 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1717 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1720 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1722 * src/hildon-pannable-area.c,
1723 (hildon_pannable_area_size_request): Fixed problem with
1724 pannable-area size_request.
1726 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1728 Added management for the grab-focus to a child widget, like a
1729 range, we need to fade out the scrollbar when releasing.
1731 * src/hildon-pannable-area.c,
1732 (hildon_pannable_area_init): Connected the grab-focus signal to
1734 (hildon_pannable_area_grab_notify): Added this function in order
1735 to manage the situation when the grab-focus ends. We have to
1736 fade-out the scrollbar.
1738 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1740 * src/hildon-app-menu.c: Minor documentation update.
1742 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1744 * src/hildon-app-menu.c
1745 * examples/hildon-app-menu-example.c (create_menu): Update
1746 examples and documentation to explain how to connect callbacks.
1748 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1750 * examples/hildon-button-example.c
1751 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1752 hildon_stackable_window_new instead of gtk_window_new
1754 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1756 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1757 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1758 (hildon_pannable_area_set_property),
1759 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1760 (hildon_pannable_area_unrealize),
1761 (hildon_pannable_area_size_request),
1762 (hildon_pannable_area_size_allocate),
1763 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1764 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1765 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1766 (hildon_pannable_area_initial_effect),
1767 (hildon_pannable_area_redraw),
1768 (hildon_pannable_area_scroll_indicator_fade),
1769 (hildon_pannable_area_expose_event),
1770 (hildon_pannable_area_get_topmost), (synth_crossing),
1771 (hildon_pannable_area_button_press_cb),
1772 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1773 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1774 (hildon_pannable_area_motion_notify_cb),
1775 (hildon_pannable_area_button_release_cb),
1776 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1777 (hildon_pannable_area_remove),
1778 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1779 chage the code layout to a more GtkWidget like. Review the use of
1782 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1784 * examples/hildon-pannable-area-example-4.c,
1785 (main): Modified the name of the hindicator_mode to
1788 * src/hildon-pannable-area.c,
1789 (hildon_pannable_area_class_init),
1790 (hildon_pannable_area_motion_notify_cb),
1791 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1792 we have reduced the amount of signals and managed reviewed its
1793 rationale. Changed the default decelerate value.
1795 (hildon_pannable_area_add),
1796 (hildon_pannable_area_redraw): Refactored functions.
1798 (hildon_pannable_area_init),
1799 (hildon_pannable_area_get_property),
1800 (hildon_pannable_area_set_property):
1801 (hildon_pannable_draw_vscroll),
1802 (hildon_pannable_draw_hscroll),
1803 (hildon_pannable_area_initial_effect),
1804 (hildon_pannable_area_expose_event),
1805 (hildon_pannable_area_scroll),
1806 (hildon_pannable_area_button_press_cb),
1807 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1808 and vindicator_mode with hscrollbar_policy and
1809 vscrollbar_policy. Replaced hscroll and vscroll with
1810 hscroll_visible and vscroll_visible.
1812 (hildon_pannable_area_refresh): Refactor the function, remove
1813 variables and check the calls to this function, added resize
1814 conditions in case the children change their layout.
1816 (hildon_pannable_area_size_request): Added more detailed
1817 size_request calculation.
1820 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1822 * src/hildon-color-chooser.c
1823 (init_borders): use the correct gtk_border_free instead of g_free, to
1824 avoid a crash when this widget is used (ie: the three color selection
1827 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1829 * src/hildon-check-button.c,
1830 (hildon_check_button_set_active): Fixed problem when setting the
1831 active value, the widget was not redrawn.
1833 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1835 * src/hildon-pannable-area.c,
1836 (hildon_pannable_area_refresh),
1837 (hildon_pannable_area_scroll),
1838 (hildon_pannable_area_motion_notify_cb): Small code style change.
1840 (hildon_pannable_area_class_init): Default initial_hint set to
1841 FALSE, it is not in the specs.
1843 (hildon_pannable_area_initial_effect),
1844 (hildon_pannable_area_expose_event),
1845 (hildon_pannable_area_map),
1846 (hildon_pannable_area_init): Moved the launching point of the
1847 initial effect, it was in map but the sizes where not correct in
1848 that method so we do not know if we have the reproduce it. Now it
1849 is placed in the expose_event method and uses a variable to
1850 reproduce it just once.
1852 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1854 * src/hildon-pannable-area.c,
1855 (hildon_pannable_draw_vscroll),
1856 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1857 position allowed for the scrollbars.
1859 (hildon_pannable_area_size_allocate): Small style change.
1861 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1863 * src/hildon-pannable-area.c,
1864 (hildon_pannable_area_scroll_indicator_fade),
1865 (hildon_pannable_area_button_press_cb),
1866 (hildon_pannable_area_button_release_cb),
1867 (hildon_pannable_area_scroll_cb),
1868 (hildon_pannable_area_expose_event),
1869 (hildon_pannable_area_init): Added the define parameter
1870 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1871 and refactor the fade variable.
1873 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1875 * src/hildon-pannable-area.c,
1876 (hildon_pannable_area_redraw),
1877 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1878 lines, we were reimplemeting the redraw code.
1880 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1882 * src/hildon-pannable-area.c,
1883 (hildon_pannable_area_scroll_cb),
1884 (hildon_pannable_area_realize),
1885 (hildon_pannable_area_class_init): Added scroll_event management
1886 for pannable area, now we can scroll the usual desktop method.
1888 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1889 initialization of the parameters should depend on idle_id.
1891 (hildon_pannable_area_init),
1892 (hildon_pannable_area_map): Small code style modifications
1894 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1896 * src/hildon-pannable-area.c
1897 (hildon_pannable_area_button_press_cb),
1898 (hildon_pannable_area_motion_notify_cb),
1899 (hildon_pannable_area_button_release_cb),
1900 (hildon_pannable_area_size_allocate),
1901 (hildon_pannable_area_scroll_to): Improved the timeouts
1902 management, we avoid creating them each time.
1904 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1906 * src/hildon-pannable-area.c:
1907 (hildon_pannable_area_refresh),
1908 (hildon_pannable_area_motion_notify_cb),
1909 (hildon_pannable_area_class_init):
1910 * src/hildon-pannable-area.h:
1911 * src/hildon-touch-selector.c
1912 (_create_new_column):
1913 * examples/hildon-pannable-area-example-4.c:
1914 (horizontal_movement),
1915 (vertical_movement),
1917 Replaced the names of enums in the HildonPannableArea:
1918 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1919 HILDON_MOVEMENT_MODE_*
1920 - HILDON_PANNABLE_AREA_MOV_* ->
1922 - Removed HildonPannableAreaIndicatorMode, now we
1925 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1927 * examples/hildon-pannable-area-touch-grid-example.c
1928 * examples/hildon-pannable-area-touch-list-example.c: Fix
1929 compilation warnings.
1931 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1933 * src/hildon-gtk.c (hildon_gtk_button_new)
1934 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1935 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1936 images overriding the value of the "gtk-button-images" setting.
1938 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1940 * src/hildon-check-button.c (hildon_check_button_new):
1941 Instead of using a custom container, display the label and the
1942 checkbox using the standard GtkButton API.
1944 * examples/hildon-check-button-example.c (main): Don't use
1945 hildon_check_button_set_label() anymore
1947 * src/hildon-check-button.h
1948 * src/hildon-check-button.c
1949 (hildon_check_button_set_label, hildon_check_button_get_label):
1950 Set as deprecated, now we're using gtk_button_{get,set}_label()
1952 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1954 * src/hildon-pannable-area.c,
1955 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1956 GtkTreeview first line we detected it after the inclusion of the
1957 GtkWindowImpl in gtk+. We now check if the window is visible, not
1958 just if the pointer is over the window.
1959 (hildon_pannable_axis_scroll),
1960 (hildon_pannable_area_expose_event): Small style changes.
1962 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1964 * src/hildon-button.c: Update documentation.
1966 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1968 * examples/hildon-button-example.c: Add a switch to show images in
1971 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1973 * doc/hildon-docs.sgml: Some docs reorganization.
1975 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1977 * examples/hildon-pannable-area-touch-list-example.c
1979 * examples/hildon-pannable-area-touch-grid-example.c
1980 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1981 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1982 Fix memory leak when setting the tree model.
1984 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1988 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1990 * doc/hildon.types: Remove duplicated hildon_window_get_type
1991 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1992 documentation comment.
1994 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1996 * doc/Makefile.am: Complete list of private headers.
1998 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2000 * doc/hildon-docs.sgml
2001 * src/hildon-app-menu.c
2002 * src/hildon-bread-crumb.c
2003 * src/hildon-button.c
2005 * src/hildon-program.c
2006 * src/hildon-stackable-window.c
2007 * src/hildon-window.c: Lots of documentation updates.
2009 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2011 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2013 * configure.ac: Require Gtk+ 2.12.9 at least
2015 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2017 * src/hildon-pannable-area.c
2018 (hildon_pannable_area_scroll_indicator_fade),
2019 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2020 to protect the return of this timeout callbacks, avoiding deadlocks.
2022 2008-08-12 Christian Dywan <christian@imendio.com>
2025 * src/hildon-*.h: Ensure a consistent include order,
2026 include <gtk/gtk.h> instead of particular files and
2027 only include the topmost header in the gtk stack. See NB #39857
2029 2008-08-12 Christian Dywan <christian@imendio.com>
2031 * src/hildon-picker-dialog.c
2032 * src/hildon-touch-selector.c: Fix warnings about unused and
2033 uninitialized variables.
2035 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2037 * examples/Makefile.am
2038 * examples/hildon-check-button-example.c: Example of the hildon
2041 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2043 * src/hildon-window.h
2044 * src/hildon-window.c (hildon_window_class_init)
2045 (hildon_window_unset_program): Don't make
2046 hildon_window_unset_program a virtual function anymore.
2048 * src/hildon-stackable-window.c: Update documentation
2050 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2053 * doc/hildon-docs.sgml
2054 * doc/visual_index.xml
2055 * src/hildon-defines.c
2057 * src/hildon-helper.c
2058 * src/hildon-range-editor.c: Lots of documentation fixes.
2060 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2062 * examples/hildon-picker-button-multicolumn-example.c
2063 (create_touch_selector): Fix compilation warning.
2065 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2067 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2068 (hildon_pannable_area_button_release_cb)
2069 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2071 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2073 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2076 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2078 * src/hildon-bread-crumb-trail.h
2079 * src/hildon-date-editor.c
2080 * src/hildon-date-selector.c
2081 * src/hildon-pannable-area.c
2082 * src/hildon-picker-dialog.c
2083 * src/hildon-time-selector.c
2084 * src/hildon-touch-selector-entry.c
2085 * src/hildon-touch-selector.c
2086 * src/hildon-touch-selector.h: Misc documentation fixes
2088 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2090 * examples/hildon-date-editor-example.c (main): Updated date
2093 * examples/hildon-note-example.c (on_confirmation_clicked):
2094 Updated confirmation note example.
2096 * src/hildon-date-editor.c
2097 * src/hildon-note.c: Updated sample programs in documentation.
2100 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2102 * src/hildon-date-button.h:
2103 * src/hildon-picker-button.h:
2104 * src/hildon-time-button.c:
2105 * src/hildon-time-button.h:
2107 Some declarations changes to allow gtk-doc to document the widgets
2110 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2112 * src/hildon-date-button.c: Document the widget.
2113 * src/hildon-time-button.c: Document the widget.
2115 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2117 * src/hildon-picker-button.c: Document the widget.
2118 * src/hildon-touch-selector-entry.c: Document the widget.
2120 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2122 * doc/hildon-docs.sgml
2125 * src/hildon-check-button.h
2126 * src/hildon-check-button.c: New functions to create the Hildon
2130 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2132 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2134 * src/hildon-button.h
2135 * src/hildon-button.c
2136 (hildon_button_add_title_size_group)
2137 (hildon_button_add_value_size_group)
2138 (hildon_button_add_image_size_group)
2139 (hildon_button_add_size_groups): New functions to set size groups
2140 for the button labels and image.
2141 (hildon_button_new_full): Removed
2143 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2145 * src/hildon-time-selector.c
2146 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2147 in order to avoid a crash if gconf is not available
2149 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2151 * src/hildon-button.c (hildon_button_set_arrangement)
2152 (hildon_button_construct_child): Don't construct the button child
2153 before setting the arrangement.
2155 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2157 * src/hildon-program-private.h
2158 * src/hildon-program.c
2159 * src/hildon-program.h
2160 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2161 (hildon_program_peek_window_stack)
2162 (hildon_program_pop_window_stack)
2163 (hildon_program_go_to_root_window): HildonProgram now has a
2164 separate list for stackable windows. Functions are provided to
2165 manage that list with a stack-like API.
2167 * src/hildon-stackable-window.c: Stackable window management is
2168 now much simpler with the new HildonProgram API. Windows no
2169 longer need to be manually added to the program, they're
2170 automatically pushed to the top of the stack when shown.
2172 * examples/hildon-stackable-window-example.c: Updated example to
2173 reflect the API changes.
2175 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2177 * src/hildon-touch-selector.c: Comment out unimplemented
2178 hildon_touch_selector_insert_column() to avoid a compile warning.
2180 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2182 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2183 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2184 (hildon_touch_selector_set_column_selection_mode),
2185 (_hildon_touch_selector_set_model),
2186 (hildon_touch_selector_set_model):
2188 Complete review of HildonTouchSelector documentation.
2190 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2192 * doc/hildon-docs.sgml
2196 * src/hildon-gtk.c: Convenience functions for standard Gtk
2197 widgets, used to easily perform frequent operations.
2199 * src/hildon-button-helpers.h
2200 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2202 * src/hildon-helper.h
2203 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2204 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2206 * src/hildon-button.h
2207 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2209 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2211 * src/hildon-button.c (hildon_button_init)
2212 (hildon_button_set_arrangement, hildon_button_construct_child):
2213 Pack the image and the labels inside the same GtkAlignment so
2214 gtk_button_set_alignment() can be used
2216 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2218 * src/hildon-button.h
2219 * src/hildon-button.c
2220 (hildon_button_init, hildon_button_set_image)
2221 (hildon_button_set_image_position)
2222 (hildon_button_construct_child): New functions to add an image to
2225 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2227 * src/hildon-date-button.c
2228 * src/hildon-picker-button.c
2229 * src/hildon-time-button.c
2230 * src/hildon-button.c:
2231 (hildon_button_class_init): "size-flags" renamed to "size"
2232 (hildon_button_set_title): Hide the title label if set to NULL.
2234 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2236 HildonButtonFlags split into HildonButtonArrangement (to set the
2237 button layout) and HildonSizeType (which can be used for any
2240 * src/hildon-button.h
2241 * src/hildon-button.c
2242 (hildon_button_class_init)
2243 (hildon_button_set_arrangement)
2244 (hildon_button_set_property): New "size-flags"
2245 property. "arrangement-flags" renamed to "arrangement".
2246 (hildon_button_new, hildon_button_new_with_text)
2247 (hildon_button_new_full): Constructors updated to reflect type changes.
2249 * src/hildon-helper.h
2250 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2251 to set the size of a widget.
2255 * src/hildon-button-helpers.c
2256 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2258 * src/hildon-date-button.c
2259 * src/hildon-date-button.h
2260 * src/hildon-picker-button.c
2261 * src/hildon-picker-button.h
2262 * src/hildon-time-button.c
2263 * src/hildon-time-button.h: Updated widgets to reflect
2264 HildonButton API changes.
2266 * examples/hildon-button-example.c
2267 * examples/hildon-date-button-example.c
2268 * examples/hildon-picker-button-example.c
2269 * examples/hildon-picker-button-multicolumn-example.c
2270 * examples/hildon-time-button-example.c
2271 * examples/hildon-touch-selector-entry-example.c
2272 * examples/hildon-touch-selector-example.c: Updated examples to
2273 reflect HildonButton API changes.
2275 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2277 * doc/hildon-docs.sgml:
2279 * examples/Makefile.am:
2280 * examples/hildon-touch-selector-entry-example.c:
2282 * src/hildon-touch-selector-entry.c:
2283 * src/hildon-touch-selector-entry.h:
2286 Moved HildonTouchSelectorEntry from sandbox. Added its
2287 documentation and examples.
2289 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2291 * src/hildon-touch-selector.h:
2292 * examples/hildon-picker-button-multicolumn-example.c:
2293 (hildon_touch_selector_append_text_column): Add a gboolean
2294 parameter to determine if text must be centered in the column.
2296 * src/hildon-date-selector.c: (hildon_date_selector_init):
2297 * src/hildon-time-selector.c: (hildon_time_selector_init):
2298 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2299 (create_touch_selector): Update widgets and example to reflect
2302 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2304 * src/hildon-touch-selector.c:
2305 (hildon_touch_selector_set_active_iter): Set also the cursor in
2308 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2310 * doc/hildon-docs.sgml
2313 * src/hildon-toggle-button.c
2314 * src/hildon-toggle-button.h
2315 * src/hildon.h: Removed HildonToggleButton widget, a derived
2316 class is not necessary for this.
2318 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2320 * src/hildon-pannable-area.c,
2321 (hildon_pannable_area_realize),
2322 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2325 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2327 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2328 "done" button the default widget for the dialog.
2330 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2332 * src/hildon-touch-selector.c:
2333 (hildon_touch_selector_class_init),
2334 (hildon_touch_selector_get_property),
2335 (_hildon_touch_selector_set_model),
2336 (_hildon_touch_selector_has_multiple_selection),
2337 (hildon_touch_selector_has_multiple_selection):
2338 Add a "has-multiple-selection" property with a virtual
2339 has_multiple_selection() method to allow derived classes to
2340 override the default value for it. See the method and property
2341 documentation for details.
2343 * src/hildon-touch-selector.h: Add the new API.
2345 * src/hildon-picker-dialog.c: (requires_done_button): Call
2346 hildon_touch_selector_has_multiple_selection() instead of
2347 determining the need for a button itself.
2349 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2351 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2352 (_hildon_touch_selector_set_model),
2353 (hildon_touch_selector_set_model): Move working code to
2354 _hildon_touch_selector_set_mode(). Call the class method instead.
2356 * src/hildon-touch-selector.h: Add (*set_model) to
2357 HildonTouchSelectorClass.
2359 Make hildon_touch_selector_set_model() a virtual method, so that
2360 derived classes can extend it and do fancy stuff with the model.
2362 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2364 * configure.ac: Set back the tarname in AC_INIT to hildon.
2366 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2370 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2371 instead of libesd (NB#86876). Volume handling is still an open issue.
2373 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2376 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2378 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2379 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2380 derived class to ease placement of an entry widget in
2381 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2382 end, where the selector columns are packed now.
2384 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2386 * src/hildon-picker-button.c: Removed the simple _text() API.
2387 * src/hildon-picker-button.h: Likewise.
2389 * src/hildon-touch-selector.h:
2390 * src/hildon-touch-selector.c:
2391 (hildon_touch_selector_new_text),
2392 (hildon_touch_selector_append_text),
2393 (hildon_touch_selector_prepend_text),
2394 (hildon_touch_selector_insert_text):
2396 Moved the simple _text() API from HildonPickerButton to
2397 HildonTouchPicker, to provide better escalability and not to tie
2398 that API to HildonPickerButton.
2400 * examples/hildon-picker-button-example.c: (main): Example updated.
2402 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2404 * src/hildon-button.c: Updated documentation.
2406 * examples/hildon-button-example.c: Add the posibility to create
2407 the buttons using horizontal layout for title and value.
2409 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2411 * src/hildon-app-menu-private.h
2412 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2413 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2414 GtkSizeGroup for the filters, use the 'homogeneous' property of
2417 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2419 * examples/hildon-button-example.c: Updated example.
2421 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2423 * doc/hildon-docs.sgml:
2426 Update documentation.
2428 * examples/Makefile.am: Update renamed examples.
2430 * examples/hildon-picker-button-multicolumn-example.c:
2431 (create_touch_selector), (main): Update after the rename.
2433 * examples/hildon-touch-picker-example.c: Removed.
2434 * examples/hildon-touch-selector-example.c: (value_changed),
2435 (create_selector), (get_visible_content), (main): Renamed from
2436 hildon-touch-picker-example.c
2438 * src/Makefile.am: Updated renamed files.
2440 * src/hildon-date-button.c: (hildon_date_button_init),
2441 (hildon_date_button_get_date), (hildon_date_button_set_date):
2442 * src/hildon-date-selector.c: (hildon_date_selector_init),
2443 (_custom_print_func), (_update_day_model),
2444 (_manage_selector_change_cb),
2445 (hildon_date_selector_select_current_date),
2446 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2447 * src/hildon-date-selector.h:
2448 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2449 (hildon_picker_button_set_property),
2450 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2451 (hildon_picker_button_init), (hildon_picker_button_new_text),
2452 (hildon_picker_button_append_text),
2453 (hildon_picker_button_prepend_text),
2454 (hildon_picker_button_insert_text),
2455 (hildon_picker_button_set_selector),
2456 (hildon_picker_button_get_selector):
2457 * src/hildon-picker-button.h:
2458 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2459 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2460 (_update_title_on_selector_changed_cb), (requires_done_button),
2461 (_hildon_picker_dialog_set_selector),
2462 (hildon_picker_dialog_set_selector),
2463 (hildon_picker_dialog_get_selector):
2464 * src/hildon-picker-dialog.h:
2465 * src/hildon-time-button.c: (hildon_time_button_init),
2466 (hildon_time_button_get_time), (hildon_time_button_set_time):
2467 * src/hildon-time-selector.c: (hildon_time_selector_init),
2468 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2469 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2470 * src/hildon-time-selector.h:
2473 Massive code updates after the rename.
2475 * src/hildon-touch-picker.c: Removed.
2476 * src/hildon-touch-picker.h: Removed.
2478 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2479 (hildon_touch_selector_init), (hildon_touch_selector_map),
2480 (hildon_touch_selector_remove), (_default_print_func),
2481 (_selection_changed_cb), (_create_new_column),
2482 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2483 (hildon_touch_selector_append_text_column),
2484 (hildon_touch_selector_remove_column),
2485 (hildon_touch_selector_set_column_attributes),
2486 (hildon_touch_selector_insert_column),
2487 (hildon_touch_selector_get_num_columns),
2488 (hildon_touch_selector_get_column_selection_mode),
2489 (hildon_touch_selector_set_column_selection_mode),
2490 (hildon_touch_selector_set_print_func),
2491 (hildon_touch_selector_get_print_func),
2492 (hildon_touch_selector_get_active_iter),
2493 (hildon_touch_selector_set_active_iter),
2494 (hildon_touch_selector_get_selected_rows),
2495 (hildon_touch_selector_get_model),
2496 (hildon_touch_selector_set_model),
2497 (hildon_touch_selector_get_current_text),
2498 (_hildon_touch_selector_center_on_selected_items):
2499 * src/hildon-touch-selector.h: Renamed from
2500 hildon-touch-picker.[ch]
2502 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2503 references, code examples, and related documentation.
2505 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2507 * doc/hildon-docs.sgml
2510 * src/hildon-toggle-button.c
2511 * src/hildon-toggle-button.h
2512 * src/hildon.h: New HildonToggleButton widget.
2514 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2516 * src/hildon-button.c: Add API documentation.
2517 (hildon_button_set_size_groups): Check input parameters
2519 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2521 * src/hildon-pannable-area.c
2522 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2523 effect after reaching the movement thredshold. This way we start
2524 using the distance after passing the thredshold.
2526 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2528 * src/hildon-button.c: (hildon_button_set_property): Use the
2529 appropriate g_value_get_flags() method.
2531 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2533 * doc/hildon-docs.sgml:
2536 Add the touch pickers, picker dialogs, and picker button widgets
2537 to the documentation.
2539 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2541 * src/hildon-button.c: (hildon_button_set_property),
2542 (hildon_button_class_init): Make "arrangement-flags" a proper
2543 G_TYPE_FLAGS derived property.
2545 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2547 * examples/Makefile.am: Add below examples.
2548 * examples/hildon-date-button-example.c:
2549 * examples/hildon-picker-button-example.c:
2550 * examples/hildon-picker-button-multicolumn-example.c:
2551 * examples/hildon-time-button-example.c:
2552 * examples/hildon-touch-picker-example.c:
2554 Add examples for the recently added touch pickers,
2555 picker dialogs, and picker button widgets.
2557 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2559 * src/hildon-button.c: Add some API documentation
2561 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2563 * src/hildon-button.h
2564 * src/hildon-button.c
2566 (hildon_button_new_with_text): New constructor to create a button
2567 with no text at all.
2568 (hildon_button_init, hildon_button_set_arrangement)
2569 (hildon_button_set_title, hildon_button_set_value)
2570 (hildon_button_set_text)
2571 (hildon_button_construct_child): Hide the value when it's not used
2572 so the rest of the text is properly aligned.
2573 Allow creating buttons with arbitrary widgets inside (not just
2574 title/value labels).
2576 * examples/hildon-button-example.c (vertical_buttons_window)
2577 (horizontal_buttons_window): Update example to use new API.
2579 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2581 * src/Makefile.am: Added HildonTimeButton.
2582 * src/hildon-time-button.c: Added missing LGPL header.
2583 * src/hildon-time-button.h: Added missing LGPL header.
2584 * src/hildon.h: Add hildon-time-button.h
2586 Copied HildonTimeButton from sandbox to trunk. Future work on this
2587 widget must take place in trunk.
2589 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2591 * src/Makefile.am: Added HildonDateButton.
2592 * src/hildon-date-button.c: Update includes.
2593 * src/hildon.h: Add hildon-date-button.h
2595 Copied HildonDateButton from sandbox to trunk. Future work on this
2596 widget must take place in trunk.
2598 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2600 * src/Makefile.am: Added HildonPickerButton.
2601 * src/hildon-picker-button.h: Update includes.
2602 * src/hildon.h: Add hildon-picker-button.h
2604 Copied HildonPickerButton from sandbox to trunk. Future work on
2605 this widget must take place in trunk.
2607 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2609 * src/Makefile.am: Added HildonPickerDialog.
2610 * src/hildon-picker-dialog.c: Update includes.
2611 * src/hildon.h: Add hildon-picker-dialog.h
2613 Copied HildonPickerDialog from sandbox to trunk. Future work
2614 on this widget must take place in trunk.
2616 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2618 * src/Makefile.am: Added HildonTimeSelector.
2619 * src/hildon.h: Add hildon-time-selector.h
2621 Copied HildonTimeSelector widget from sandbox to trunk. Future
2622 work on this widget must happen in trunk.
2624 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2626 * src/Makefile.am: Added HildonDateSelector.
2627 * src/hildon.h: Add hildon-date-selector.h
2629 Copied HildonDateSelector widget from sandbox to trunk. Future
2630 work on this widget must happen in trunk.
2632 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2634 * src/Makefile.am: Added HildonTouchPicker.
2635 * src/hildon-touch-picker.c: Update includes.
2636 * src/hildon.h: Add hildon-touch-picker.h
2638 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2639 on this widget must happen in trunk.
2641 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2643 * src/hildon-pannable-area.c:
2644 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2646 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2648 * examples/hildon-app-menu-example.c (main): Let the window
2651 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2653 * src/hildon-pannable-area.c
2654 (hildon_pannable_area_class_init): Set the min value of the
2655 overshoot properties to zero, which points out that not
2656 overshooting allowed.
2658 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2660 Modified the procedure to get the widget at a point inside the
2661 pannable area when using the movement type signals. Now the user
2662 has to call a function to get the child, that way we just
2663 calculate the child in case the user really want to use it and not
2666 * src/hildon-marshalers.list: Modified the marshallers, now we do
2667 not have the widget as a parameter.
2669 * src/hildon-pannable-area.c
2670 (hildon_pannable_area_motion_notify_cb),
2671 (hildon_pannable_area_class_init),
2672 (hildon_pannable_get_child_widget_at): Removed the widget
2673 parameter from the signal callback. We have also refactored the
2674 emission of the signals.
2676 * src/hildon-pannable-area.h: Added a new method to the API to
2677 calculate a widget at a point inside the pannable area,
2678 hildon_pannable_get_child_widget_at.
2680 * examples/hildon-pannable-area-example-4.c
2681 (horizontal_movement): Modified the example to use the new API,
2682 added condition to control which widget is under the event. This
2683 way we can avoid scrolling laterally over other widgets.
2685 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2687 * src/hildon-pannable-area.c
2688 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2689 modes, we stop getting the pointer events due to returning the
2690 callback without properly calling the get pointer again. Fixed
2691 also an error using the hscroll and vscroll.
2693 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2695 * src/hildon-app-menu-private.h
2696 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2697 (hildon_app_menu_button_release, hildon_app_menu_init)
2698 (hildon_app_menu_class_init): Don't hide the menu on button
2699 release if the user didn't press outside first.
2701 * src/hildon-window.h
2702 * src/hildon-window.c (hildon_window_toggle_menu)
2703 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2704 hildon_window_toggle_menu a virtual function for the stackable
2705 window to override it.
2707 * src/hildon-stackable-window.h
2708 * src/hildon-stackable-window-private.h
2709 * src/hildon-stackable-window.c
2710 (hildon_stackable_window_realize)
2711 (hildon_stackable_window_finalize)
2712 (hildon_stackable_window_class_init)
2713 (hildon_stackable_window_init)
2714 (hildon_stackable_window_set_main_menu): New function to set the
2715 app menu of a HildonStackableWindow.
2717 * examples/hildon-app-menu-example.c: Remove the button to show
2718 the app menu, now it'll be shown when clicking on the title bar
2721 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2723 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2724 set the widget name if the arrangement flags do not specify
2727 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2729 * src/hildon-button.c: (hildon_button_set_property),
2730 (hildon_button_class_init), (hildon_button_new_full),
2731 (hildon_button_set_arrangement): Added "arrangement-flags"
2734 Make the HildonButtonFlags a construction-only property, to allow
2735 subclasses to set them properly.
2737 2008-07-21 Tim Janik <timj@imendio.com>
2739 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2740 insertion position after backspace, so additional digits are appended,
2743 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2745 * src/hildon-pannable-area.c,
2746 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2747 TODO list, it was complete and removed the g_debug and g_print
2750 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2752 Added the movement modes to the hildon-pannable-area, with this
2753 modes the developers can control in which directions the widget
2754 can scroll. They can also connect to signals in order to do
2755 something when that happens, allowing applications scroll. There
2756 is an example uploaded showing how to use it.
2758 * examples/Makefile.am:
2759 * examples/hildon-pannable-area-example-4.c: Added this example of
2760 an application using the modes.
2762 * src/hildon-marshalers.list: Added a new marshaller for the new
2765 * src/hildon-pannable-area.h: Added new enumerations and flags in
2766 order to control the movement modes and the new signals to warn
2767 about the movements in the area.
2769 * src/hildon-pannable-area.c:
2770 (hildon_pannable_axis_scroll),
2771 (hildon_pannable_area_scroll),
2772 (hildon_pannable_area_motion_notify_cb),
2773 (hildon_pannable_area_get_property),
2774 (hildon_pannable_area_set_property),
2775 (hildon_pannable_area_map),
2776 (hildon_pannable_area_class_init),
2777 (hildon_pannable_area_init),
2778 (hildon_pannable_area_jump_to): Added the modes to control the
2779 movement in the widget. We have added properties to control it,
2780 signals to warn about the movements and refactored some code.
2782 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2784 Changes required in order to allow vfast_factor set to zero to
2787 * src/hildon-pannable-area.c:
2788 (hildon_pannable_area_button_press_cb): Changed the condition, it
2789 is required for not allowing click when vfast_factor is zero.
2790 (hildon_pannable_area_timeout): Initialized velocity variables
2791 when we stop moving, it was less than 1 but not zero and we need
2792 to check zero in some situations.
2793 (hildon_pannable_area_class_init): Changed the default value of
2794 the speed factor, now the button_press is just sent in case the
2795 speed is 2 per cent of the max speed.
2796 (hildon_pannable_area_init): Initialization with 0.
2798 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2800 * src/hildon-pannable-area.c,
2801 (hildon_pannable_area_get_topmost): replaced
2802 gdk_window_get_children with gdk_window_peek_children, this way we
2803 do not have to free the list because it is not a copy.
2805 (hildon_pannable_axis_scroll),
2806 (hildon_pannable_area_scroll),
2807 (hildon_pannable_area_timeout),
2808 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2809 two parameters that were only used inside the
2810 hildon_pannable_area_scroll function.
2812 * examples/hildon-pannable-area-example.c,
2813 (get_sawtooth_label): Fixed small memory leak.
2815 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2817 More checks for the case where the overshoot is bigger than the
2820 * src/hildon-pannable-area.c:
2821 (hildon_pannable_draw_vscroll),
2822 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2823 to draw the slider of the scrollbar under the other scrollbar.
2824 (hildon_pannable_area_expose_event): added new checks to control
2825 the drawing of the overshooting area rectangle, in case it is too
2826 big for the area of the widget.
2827 (hildon_pannable_area_size_allocate): add more checks to avoid
2828 setting a position to the child widget outside the area.
2830 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2832 * src/hildon-pannable-area.c
2833 (hildon_pannable_area_size_allocate): Added conditions to control
2834 when overshooting is bigger than the allocated space for the
2835 children, this avoids negative allocations.
2837 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2839 * doc/hildon-docs.sgml
2841 * examples/Makefile.am
2842 * examples/hildon-button-example.c
2844 * src/hildon-button.c
2845 * src/hildon-button.h
2846 * src/hildon.h: Initial version of the new HildonButton widget,
2849 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2851 * src/hildon-pannable-area.c:
2852 (hildon_pannable_area_button_press_cb),
2853 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2854 (hildon_pannable_area_motion_notify_cb),
2855 (hildon_pannable_area_button_release_cb),
2856 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2857 (hildon_pannable_area_jump_to_child):
2859 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2861 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2863 * examples/Makefile.am
2864 * examples/hildon-pannable-area-touch-grid-example.c
2865 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2866 the Hildon Touch List and Hildon Touch Grid using the
2867 HildonPannableArea widget.
2869 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2871 * src/hildon-pannable-area.c,
2872 (hildon_pannable_area_button_press_cb),
2873 (hildon_pannable_area_refresh),
2874 (hildon_pannable_area_scroll),
2875 (hildon_pannable_area_motion_notify_cb),
2876 (hildon_pannable_area_button_release_cb),
2877 (hildon_pannable_area_expose_event),
2878 (hildon_pannable_area_add),
2879 (hildon_pannable_area_remove),
2880 (hildon_pannable_area_realize),
2881 (hildon_pannable_area_size_allocate),
2882 (hildon_pannable_area_class_init),
2883 (hildon_pannable_area_init),
2884 (hildon_pannable_area_scroll_to_child),
2885 (hildon_pannable_area_jump_to_child): Fixed the problem of
2886 removing the child from the GtkBin, we have rearranged the widget
2887 hierarchy, now there is no GtkAlignment which was not doing
2888 anything interesting but breaking some of the assumptions of
2889 GtkContainer. Now developers if they want to add a GtkAlignment
2890 they could, but it is not inside the area.
2892 We had to review the whole allocation/expose process, now it is
2893 improved and we save at least three signals which would be saving
2894 some time when rendering the widget. The allocation of the
2895 scrollbars is now made in the allocate method as usual.
2897 We have also added some conditions in order to control when there
2898 is no child of the pannable area. Maybe we will need more work
2901 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2903 * src/hildon-pannable-area.c,
2904 (hildon_pannable_area_dispose): Released the fade-out timeout when
2905 disposing the widget.
2907 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2909 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2910 zero, we are going to use that property in order to deactivate the
2912 (hildon_pannable_axis_scroll),
2913 (hildon_pannable_area_size_allocate): Added conditions to control
2914 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2915 call, now it is called in all situations and we can remove calls
2916 in the allocate method.
2917 (hildon_pannable_area_map): Control the situation when
2918 overshoot_max is zero, we do not need the timeout.
2919 (hildon_pannable_area_class_init): Added documentation in order to
2920 point out that setting zero to overshoot_max means deactivate
2923 NOTE: removed trailing whitespaces from my previous comments of
2926 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2928 * src/hildon-pannable-area.c
2929 (hildon_pannable_area_get_property),
2930 (hildon_pannable_area_set_property),
2931 (hildon_pannable_area_map),
2932 (hildon_pannable_area_class_init),
2933 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2934 to cause the widget give a hint about its panning abilities upon
2937 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2939 * src/hildon-pannable-area.c: Several documentation improvements.
2941 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2943 * src/hildon-program.c
2944 * src/hildon-stackable-window.c: Update documentation.
2946 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2948 * src/hildon-stackable-window.c (get_previous_window_if_last):
2949 Renamed get_last_window()
2950 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2951 (hildon_stackable_window_unset_program):
2953 (get_previous_window_if_last):
2954 Detect if the window hasn't been added to a HildonProgram.
2956 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2958 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2960 * src/hildon-pannable-area.c
2961 (hildon_pannable_area_button_press_cb),
2962 (hildon_pannable_axis_scroll),
2963 (hildon_pannable_area_scroll),
2964 (hildon_pannable_area_timeout),
2965 (hildon_pannable_calculate_vel_factor),
2966 (hildon_pannable_area_get_property),
2967 (hildon_pannable_area_set_property),
2968 (hildon_pannable_area_class_init),
2969 (hildon_pannable_area_init),
2970 (hildon_pannable_area_scroll_to),
2971 (hildon_pannable_area_jump_to),
2972 (hildon_pannable_area_scroll_to_child),
2973 (hildon_pannable_area_jump_to_child):
2974 * src/hildon-pannable-area.h: Added the new API functions:
2975 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2976 hildon_pannable_area_scroll_to_child,
2977 hildon_pannable_area_jump_to_child
2980 * examples/Makefile.am
2981 * examples/hildon-pannable-area-example-2.c
2982 * examples/hildon-pannable-area-example-3.c: Added these two new
2983 examples in order to test and show how the new APIs work.
2985 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2987 * examples/hildon-stackable-window-example.c (new_window):
2988 * src/Makefile.am (noinst_HEADERS):
2989 * src/hildon-program.c (hildon_program_go_to_root_window):
2990 * src/hildon-program.h:
2991 * src/hildon-stackable-window-private.h:
2992 * src/hildon-stackable-window.c:
2993 * src/hildon-stackable-window.h:
2994 Create hildon-stackable-window-private.h
2995 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2997 * examples/hildon-app-menu-example.c (create_menu):
2998 * examples/hildon-hvolumebar-insensitive-example.c (main):
2999 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3000 * examples/hildon-toolbar-seekbar-example.c (main):
3001 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3002 * src/hildon-banner.c (hildon_banner_set_property):
3003 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3004 Fix compilation warnings
3006 * src/hildon-window.c:
3009 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3011 * src/hildon-stackable-window.c
3012 (hildon_stackable_window_unset_program):
3013 Calculate correctly whether to show the previous window if the
3014 last one is removed from the stack.
3015 (hildon_stackable_window_go_to_root_window):
3016 Send delete events starting from the topmost window.
3017 Stop if one of the windows is not destroyed.
3019 (hildon_stackable_window_delete_event)
3020 (hildon_stackable_window_class_init):
3021 Ignore the delete event if the window is not the topmost one.
3023 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3025 * src/hildon-pannable-area.c
3026 (hildon_pannable_area_expose_event): Fixed a problem when
3027 selecting the background color of the scrollbars.
3029 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3031 * examples/hildon-stackable-window-example.c
3032 * src/hildon-stackable-window.c
3033 * src/hildon-stackable-window.h
3034 hildon_stackable_window_go_home() renamed to
3035 hildon_stackable_window_go_to_root_window()
3036 Send delete events to windows rather than closing them with
3037 gtk_widget_destroy()
3039 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3041 * src/hildon-pannable-area.c
3042 (hildon_pannable_area_button_release_cb): Fix overshooting in
3045 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3047 * src/hildon-pannable-area.c
3048 (hildon_pannable_area_init): Initially show the scroll indicators.
3049 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3051 Add initial effect showing the widget is pannable.
3053 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3055 * src/hildon-pannable-area.c
3056 (hildon_pannable_area_class_init)
3057 (hildon_pannable_area_set_property)
3058 (hildon_pannable_area_get_property)
3059 (hildon_pannable_area_button_press_cb):
3060 New 'velocity_fast_factor' property to decide which velocity is
3063 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3065 * src/hildon-pannable-area.c
3066 (hildon_pannable_draw_hscroll)
3067 (hildon_pannable_draw_vscroll):
3068 Use float variables to calculate the size of the scrollbars to
3069 avoid error propagation and resizing during scrolling.
3071 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3073 * src/hildon-pannable-area.c
3074 (hildon_pannable_draw_vscroll)
3075 (hildon_pannable_draw_hscroll):
3076 Define a minimum size for the scroll bars
3078 * src/hildon-stackable-window.c
3079 (hildon_stackable_window_go_home): Fix compilation warning
3080 (get_last_window): Minor optimizations
3081 (hildon_stackable_window_class_init): Fix initialization of
3084 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3086 * src/hildon-stackable-window.c: Fixed typos in doc
3088 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3090 * src/hildon-pannable-area.c
3091 (hildon_pannable_area_scroll):
3092 Calculate here whether we need to scroll instead of using the booleans
3093 that tell us whether to /draw/ the scrolling bars.
3095 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3097 * src/hildon-app-menu.h
3099 * src/hildon-app-menu.c
3100 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3101 multiple filter groups related code and API. Now we support only
3103 * examples/hildon-app-menu-example.c:
3105 Update to reflect API changes.
3107 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3109 * src/hildon-stackable-window.c
3110 (hildon_stackable_window_class_init):
3111 Add hildon_stackable_window_realize.
3112 (hildon_stackable_window_realize):
3113 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3114 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3115 to apply theming and behavior specific to HildonStackableWindow
3118 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3120 * src/hildon-note.c (hildon_note_button_release):
3121 Close information notes also when tapping on them
3123 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3125 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3126 ELASTICITY, refactor and review, fix some issues with drawing
3129 * src/hildon-pannable-area.c:
3130 (hildon_pannable_area_button_press_cb): removed the conditions to
3131 avoid clicks when overshooting. It is not required
3133 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3134 define. Refatored and reviewed the code, now we do not need to
3135 manage velocity in motion_notify.
3137 (hildon_pannable_area_motion_notify_cb): We have moved the code
3138 that controls the area_scroll to the axis_scroll function and get
3139 rid of duplicated code.
3141 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3143 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3145 (hildon_pannable_draw_vscroll),
3146 (hildon_pannable_draw_hscroll): Fixed the problems with the
3147 scrollbar drawing, now we do not use two surfaces, it is easier
3148 and saves resources.
3150 (hildon_pannable_area_get_property): Style modification.
3152 (hildon_pannable_area_class_init): Changed some default values.
3154 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3156 * src/hildon-stackable-window.c: Fix some typos in the
3159 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3161 * src/hildon-dialog.c:
3162 Change indentation style
3165 (hildon_note_button_release):
3166 Use root coordinates to check if the release event happened
3169 * src/hildon-app-menu.c
3170 (hildon_app_menu_button_release):
3171 Remove unnecessary check
3173 * examples/hildon-app-menu-example.c
3175 Add cast to fix warning
3177 * src/hildon-app-menu.c
3178 (hildon_app_menu_class_init):
3179 New inner-border style property.
3180 Set all default spacings to 16
3181 (hildon_app_menu_init):
3182 Use vertical-spacing to set the space between filter buttons and
3183 regular menu buttons.
3184 Set the default container border using the inner-border value.
3186 * examples/hildon-app-menu-example.c
3188 Don't set the menu border explicitly, now we have the inner-border
3189 style property for that.
3191 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3193 * src/hildon-app-menu.c (hildon_app_menu_init):
3194 Make the window modal
3196 * src/hildon-note.c (hildon_note_map)
3197 * src/hildon-app-menu.c (hildon_app_menu_map):
3198 Destroy the grab window if we're unable to grab the pointer
3200 * src/hildon-app-menu-private.h
3201 * src/hildon-app-menu.c
3202 (hildon_app_menu_init, hildon_app_menu_finalize)
3203 (hildon_app_menu_map, hildon_app_menu_unmap)
3204 (hildon_app_menu_button_release)
3205 (grab_transfer_window_get):
3206 Bring back the grab window
3207 (hildon_app_menu_realize):
3208 Decorate the window, set WM hint for Matchbox
3210 * src/hildon-note.c (hildon_note_realize):
3211 * src/hildon-banner.c (hildon_banner_realize):
3212 Add WM hints for Matchbox
3214 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3216 * src/hildon-app-menu-private.h
3217 * src/hildon-app-menu.c
3218 (hildon_app_menu_init, hildon_app_menu_finalize)
3219 (hildon_app_menu_map, hildon_app_menu_unmap)
3220 (hildon_app_menu_button_release):
3221 Remove the grab window, it's not needed anymore
3223 * src/hildon-program.c
3224 Fixed typo in documentation
3226 * src/hildon-app-menu.h
3227 * src/hildon-app-menu.c
3228 * examples/hildon-app-menu-example.c
3229 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3231 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3234 Added new transfer_window and close_if_pressed_outside private
3236 (hildon_note_rebuild):
3237 Don't add a cancel button to the information note. It will be
3238 closed when tapping outside
3239 Remove the comment about the OK button in the documentation
3240 (hildon_note_realize):
3241 Set the notification type hint
3242 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3243 Grab/ungrab pointer and keyboard if the note has to be closed when
3245 (hildon_note_button_release):
3246 Close the note when tapping outside (if applicable)
3248 * src/hildon-app-menu.c
3249 Grab/ungrab pointer and keyboard on map/unmap
3250 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3251 Close the menu on button release, not button press
3253 * src/hildon-banner.c
3254 (hildon_banner_set_property)
3255 (hildon_banner_check_position):
3256 Make the banner use the full width of the screen
3257 (hildon_banner_show_information)
3258 (hildon_banner_show_information_with_markup):
3259 Don't display an icon by default
3261 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3263 Added fading scrollbars and adapted all the overshooting code to
3264 horizontal scrolling. We have also fixed bugs with overshooting
3265 and current fading implementation.
3267 * src/hildon-pannable-area.c
3268 (hildon_pannable_area_scroll_indicator_fade): Time out function
3269 used to change the transparency of the scrollbars.
3271 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3272 control and fixed a problem with fading, we now remove the fade
3273 timeout before adding a new one.
3275 (hildon_pannable_axis_scroll):
3276 (hildon_pannable_area_scroll):
3277 (hildon_pannable_area_timeout): Added this functions so we can use
3278 the scroll code both for vertical and horizontal.
3280 (hildon_pannable_area_motion_notify_cb):
3281 (hildon_pannable_area_button_release_cb): Added the horizontal
3282 scrolling control, fixed a problem with the overshooting timeout.
3284 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3285 painting of the scrolls.
3287 (hildon_pannable_draw_vscroll):
3288 (hildon_pannable_draw_hscroll):
3289 (hildon_pannable_area_expose_event):
3290 Draw both scrollbars and rectangles in the overshooting area.
3292 (hildon_pannable_area_get_property):
3293 (hildon_pannable_area_set_property):
3294 Modified the overshoot property to overshoot_max
3296 (hildon_pannable_area_map):
3297 Replaced the comments symbols.
3299 (hildon_pannable_area_size_allocate):
3300 (hildon_pannable_area_class_init):
3301 (hildon_pannable_area_init): Added horizontal scroll, fading
3302 effect properties, fixed a problem when overshooting in the bottom
3305 * examples/hildon-pannable-area-example.c:
3306 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3307 looks better in the example.
3309 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3311 * src/hildon-window.c
3312 * src/hildon-window.h
3313 (hildon_window_class_init)
3314 (hildon_window_unset_program)
3315 (hildon_window_unset_program_real):
3316 Make unset_program a virtual function
3318 * src/hildon-stackable-window.c
3319 * src/hildon-stackable-window.h
3320 Added hildon_stackable_window_go_home()
3322 * examples/Makefile.am
3323 * examples/hildon-stackable-window-example.c
3324 HildonStackableWindow example
3326 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3328 * hildon-pannable-area.c: Added the overshoot property and removed
3329 the OVERSHOOT define. Fixed an indent style error.
3330 (hildon_pannable_area_motion_notify_cb):
3331 (hildon_pannable_area_get_property):
3332 (hildon_pannable_area_set_property): Add overshoot property.
3334 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3337 (hildon_pannable_area_class_init): Installed the new property.
3339 * hildon-pannable-area-example.c: Added a sawtooth function, this
3340 way it is easier to check the movement in the pannable.
3341 (get_sawtooth_label): Added this function.
3342 (main): Now we get the labels from the new get_sawtooth_label
3345 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3347 * src/hildon-app-menu.h
3348 * src/hildon-app-menu.c
3349 Renamed API variables for consistency
3351 (hildon_app_menu_popup): Use also the default window size to
3352 decide where to place the menu
3354 (hildon_app_menu_init, hildon_app_menu_class_init): New
3355 external-border style property
3357 2008-05-26 Michael Natterer <mitch@imendio.com>
3359 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3360 widget_class->tap_and_hold_setup signal slot doesn't exist any
3361 longer, stop overriding it.
3363 (hildon_time_editor_init): g_signal_connect() to the
3364 tap-and-hold-setup signal instead.
3366 (hildon_time_editor_entry_keypress): add cast to fix warning.
3368 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3370 * doc/hildon-docs.sgml
3372 * examples/Makefile.am
3373 * examples/hildon-app-menu-example.c
3375 * src/hildon-app-menu-private.h
3376 * src/hildon-app-menu.c
3377 * src/hildon-app-menu.h
3379 New HildonAppMenu widget
3381 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3383 Rearranged the inheritance of the pannable area, now it inherits
3384 from GtkBin. This will allow us to control the event_window and
3385 the allocation process of the widget, required for some effects.
3387 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3388 GtkBin structures. * src/hildon-pannable-area.c: Added the
3389 event_window variable.
3390 (hildon_pannable_area_button_press_cb):
3391 (hildon_pannable_area_button_release_cb):
3392 (hildon_pannable_area_motion_notify_cb):
3393 Changed the signature of the method, now we override the event
3394 callback instead of connecting to the signal.
3396 (hildon_pannable_area_realize):
3397 (hildon_pannable_area_unrealize):
3398 (hildon_pannable_area_map):
3399 (hildon_pannable_area_unmap):
3400 (hildon_pannable_area_size_allocate):
3401 Added functions to control the widget construction. We add a
3402 INPUT_ONLY window and we put it over the widgets inside the
3403 container, this event_window handles the events.
3405 (hildon_pannable_area_class_init):
3406 Replaced the signal connections with overrides of the event
3409 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3411 Bouncing effect added when touching the borders, you can change
3412 the elasticity of the border changing the ELASTICITY define.
3414 * src/hildon-pannable-area.c: Added ELASTICITY define.
3415 (hildon_pannable_area_timeout): Added inverse velocity when
3416 touching the border of the child widget, that causes a bounce.
3418 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3420 Improved performance, we now do not go to the X server in order to
3421 get the list of window children. Apparently the effect is the
3422 same, we have to be careful and check if this breaks something in
3425 * src/hildon-pannable-area.c:
3426 (get_ordered_children): Removed this function.
3427 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3428 the children windows function with gdk_window_get_children.
3430 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3432 * src/hildon-pannable-area.c:
3433 (hildon_pannable_area_dispose): Fixed a crash when closing the
3434 window and kinetics is activated.
3436 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3438 * src/hildon-pannable-area.h
3439 * src/hildon-pannable-area.c
3440 Changed indentation style to meet the one used in Hildon
3442 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3444 Reviewed the interaction of the AUTO mode, now we use the time
3445 attribute of the events and calculate the velocity in the motion,
3446 doing a gimp like calculation. The velocity is calculated in each
3447 motion event using the last velocity and the current one, the
3448 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3450 * src/hildon-pannable-area.c: Replaced the time based algorithm
3452 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3453 timeout for the AUTO mode when we are still moving the cursor. We
3454 added also the velocity calculation in this function.
3455 (hildon_pannable_area_button_release_cb): launch the timeout in
3456 case we are in AUTO mode. There are still some constants here that
3457 come from the old implementation that should be reviewed and
3460 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3462 * doc/hildon-docs.sgml
3465 * src/hildon-stackable-window.c
3466 * src/hildon-stackable-window.h
3468 New HildonStackableWindow widget
3470 * examples/hildon-dialog-example.c
3471 * examples/hildon-pannable-area-example.c
3474 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3476 * src/hildon-dialog.c
3477 (hildon_dialog_new_with_buttons): New constructor.
3479 * examples/hildon-dialog-example.c
3480 (main): Update the example to use the new
3481 hildon_dialog_new_with_buttons().
3483 * examples/hildon-pannable-area-example.c
3484 (main): Update example.
3486 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3488 * doc/hildon-docs.sgml
3490 Added HildonPannableArea to the documentation.
3492 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3494 * doc/visual_index.xml
3495 Fix reference to HildonLoginDialog in documentation
3497 * doc/hildon-docs.sgml
3499 * examples/Makefile.am
3500 * examples/hildon-dialog-example.c
3502 * src/hildon-dialog.c
3503 * src/hildon-dialog.h
3505 New HildonDialog widget.
3507 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3509 * src/hildon-pannable-area.c
3510 Merge latest changes (r4318, r4342) from libmokoui trunk
3512 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3514 * examples/Makefile.am
3515 * examples/hildon-pannable-area-example.c
3517 * src/hildon-pannable-area.c
3518 * src/hildon-pannable-area.h
3520 New HildonPannableArea widget.
3522 2008-04-15 18:05:19 <timj@imendio.com>
3524 * src/hildon-banner.c: revert the recent change, that introduced
3525 gtk_window_present() calls. this reopens:
3526 Bug 78481 - [freetest] information banners are hidden under browser menu
3527 But resolves another variant of:
3528 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3530 2008-04-15 13:21:13 <timj@imendio.com>
3532 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3533 recreated its layout, spotted by Kris. this fixes all remaining
3534 artefacts and stability issues with the banner code. in particular:
3535 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3537 2008-04-14 16:52:59 <timj@imendio.com>
3539 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3540 operating on unrealized widgets, fixes:
3541 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3543 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3545 2008-04-09 Kristian Rietveld <kris@imendio.com>
3547 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3548 makes banner disappear.
3549 Fixes: NB#79182: info banner flickering with certain message lengts.
3551 * src/hildon-banner.c (hildon_banner_constructor),
3552 (hildon_banner_init), (hildon_banner_set_text),
3553 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3554 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3555 FALSE, reset size requests of label and banner,
3556 (force_to_wrap_truncated): when the text is too wide, always enforce
3557 the maximum possible width instead of recalculating it from the
3558 layout; enforce the maximum banner height of 3 lines,
3559 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3560 nicer wrapping and no truncated chars if space gets tight.
3562 * src/hildon-banner-private.h: add has_been_wrapped and
3563 has_been_truncated fields.
3565 2008-04-07 Sven Herzberg <sven@imendio.com>
3567 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3568 local values in hildon_date_editor_size_allocate
3570 * src/hildon-date-editor.c: moved the real allocation code into the
3573 2008-04-07 Sven Herzberg <sven@imendio.com>
3575 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3576 local values in hildon_date_editor_size_allocate
3578 * src/hildon-date-editor.c: merged the two if() branches together
3580 2008-04-07 Sven Herzberg <sven@imendio.com>
3582 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3583 local values in hildon_date_editor_size_allocate
3585 * src/hildon-date-editor.c: changed the arguments of the if()
3588 2008-04-07 Sven Herzberg <sven@imendio.com>
3590 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3591 local values in hildon_date_editor_size_allocate
3593 * src/hildon-date-editor.c: split the calculation of the allocation
3594 from the real allocation
3596 2008-03-27 Michael Natterer <mitch@imendio.com>
3598 Fixes: NB#81696: The passcode is not overwritten even after
3601 * src/hildon-code-dialog.c
3602 (hildon_code_dialog_button_clicked)
3603 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3604 because that doesn't overwrite selected text. Instead, emit the
3605 "commit" signal on the entry's im_context so the entry's normal
3606 insert logic is triggered. Set the cursor to the end of the entry
3607 after each insert operation so that we *only* insert in the middle
3608 of the text if something was selected.
3610 2008-03-27 Michael Natterer <mitch@imendio.com>
3612 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3613 selector cannot be opened
3615 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3616 when the popup color selector is created. Please connect to this
3617 signal in order to set the dialog's help ID.
3619 2008-03-25 Sven Herzberg <sven@imendio.com>
3621 Fixes: MB#1212: Hide info banners (infoprints) on click
3623 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3624 extracted the close event simulation into an extra function
3625 (hildon_banner_button_press_event): simulate a close event and destroy
3626 the widget if the event wasn't handled
3627 (hildon_banner_class_init): added the button_press_event handler
3628 (hildon_banner_init): added button-press events to the widget
3630 2008-03-25 Sven Herzberg <sven@imendio.com>
3632 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3633 Patch from: Mohammad Anwari <mdamt@maemo.org>
3635 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3636 instead of the right in RTL mode
3637 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3638 breadcrumb button list in RTL mode
3639 * src/hildon-caption.c: mirror the appearance of the caption widget in
3641 * src/hildon-date-editor.c: mirror appearance of the date editor in
3643 * src/hildon-time-editor.c: mirror appearance of the time editor in
3645 * src/hildon-window.c: fix the position of the popup in RTL mode
3647 2008-03-25 Sven Herzberg <sven@imendio.com>
3649 Amendment to the fix of NB#22072. Fix compilation.
3651 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3653 2008-03-19 Sven Herzberg <sven@imendio.com>
3655 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3658 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3659 timeout id properly when the timeout will disappear this leaves no
3660 artifacts around in the destroy(); there will only be the timeout
3661 created by hildon_banner_ensure_timeout() and adding a new timeout
3662 will also work if the timeout gets removed because the timeout_handler
3665 2008-03-19 Michael Natterer <mitch@imendio.com>
3667 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3669 * src/hildon-volumebar.c
3670 * src/hildon-vvolumebar.c
3671 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3672 the widget becomes focussable at all.
3674 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3675 set the focus to wither the mute button or the volumebar.
3677 Remove own "can-focus" property and instead listen to
3678 notify::can-focus in order to update the widget's state.
3680 Implement GtkWidget::focus() and make sure we can also *leave* the
3681 widget, not only enter it, depending on volumebar orientation and
3682 requested focus direction.
3684 Clean up set_mute() to cooperate nicely with all the above.
3686 2008-03-04 Michael Natterer <mitch@imendio.com>
3688 Fixes: NB#78481: information banners are hidden under browser menu
3690 * src/hildon-banner.c: call gtk_window_present() on the banners so
3691 they are risen if they are already visible.
3693 2008-03-03 Sven Herzberg <sven@imendio.com>
3695 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3697 * examples/hildon-window-menu-example.c: (main): extended the window
3698 menu example to serve as a testcase for automatically added
3699 accelerator groups, too
3700 * src/hildon-window.c: (hildon_window_add_accel_group),
3701 (hildon_window_set_menu): added patch by Tommi Komulainen
3703 2008-03-03 Sven Herzberg <sven@imendio.com>
3705 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3707 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3708 knowledge about the border allocators used within GTK+
3710 2008-02-26 Sven Herzberg <sven@imendio.com>
3712 Fixes: MB#2981: Build with asserts broken
3714 * src/hildon-date-editor.c,
3715 * src/hildon-number-editor.c,
3716 * src/hildon-time-editor.c,
3717 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3718 the proper GType instance check
3720 2008-02-25 Sven Herzberg <sven@imendio.com>
3722 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3724 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3725 * examples/hildon-window-menu-example.c: (main): explicitly show
3727 * src/hildon-window.c:
3728 (hildon_window_set_main_menu): moved most of the code from set_menu()
3729 to this place; skipped the call to gtk_widget_show_all(); also didn't
3730 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3731 (hildon_window_set_menu): removed most of the code, just keep the
3732 questionable gtk_widget_show_all()
3733 * src/hildon-window.h: added the new function and deprecate the old
3736 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3742 * debian/changelog: Updating.
3744 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3747 * pkgconfig/Makefile.am:
3748 * pkgconfig/hildon.pc.in:
3751 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3752 use newly created API_MAJOR_VERSION.
3754 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3760 * debian/changelog: Updating.
3762 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3764 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3766 Add outer_border style property, we use it but don't define it (!).
3770 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3772 * examples/hildon-bread-crumb-trail-example.c (main):
3776 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3778 Fix logic for the bread crumb trail node removal.
3782 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3788 * debian/changelog: Updating.
3790 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3792 Patch by Alejandro to get/set passwords dialogs accesibility.
3794 * hildon-1/src/hildon-get-password-dialog.c:
3795 * hildon-1/src/hildon-set-password-dialog.c:
3796 Set atk_set_name to the passwd entries in order to allow
3797 accessibility by name on this entries.
3799 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3804 * debian/control: Updating gtk dep.
3806 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3808 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3809 USE_MAEMO_GTK is enabled.
3811 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3813 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3814 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3816 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3822 * debian/changelog: Updating.
3824 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3826 * examples/Makefile.am:
3827 * examples/hildon-logical-color-example.c:
3828 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3829 applied + adding a test case. Fixes: NB#71660.
3831 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3833 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3834 to be visible, fixes warning on map for windows without toolbars.
3836 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3838 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3839 2.11.0, add a check for that besides the MAEMO_GTK check.
3841 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3847 * debian/changelog: Updating.
3849 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3851 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3852 visibility. Fixes: NB#70842 and MB#615.
3854 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3856 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3857 set the separator as no-show-all so it doesn't unintentionally appear when
3858 someone does a show_all.
3860 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3862 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3863 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3864 toplevel item. Fixes: NB#62031
3866 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3868 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3869 fix the name of the function in the docs.
3871 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3877 * debian/changelog: Updating.
3879 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3881 * examples/hildon-banner-long-example.c: Adding a test-case for long
3884 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3886 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3888 * src/hildon-color-chooser-dialog.c:
3889 * src/hildon-color-chooser.c:
3890 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3891 memory leaks in font selector and color selector. Fixes: NB#70499 and
3894 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3896 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3898 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3900 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3901 little bit bigger. Fixes: #NB63694.
3903 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3909 * debian/changelog: Updating.
3911 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3914 * doc/hildon-docs.sgml:
3915 * doc/images/bread-crumb-trail.png:
3916 * doc/images/calendar-popup.png:
3917 * doc/images/caption.png:
3918 * doc/images/code-dialog.png:
3919 * doc/images/color-button.png:
3920 * doc/images/color-chooser-dialog.png:
3921 * doc/images/color-chooser.png:
3922 * doc/images/controlbar.png:
3923 * doc/images/date-editor.png:
3924 * doc/images/font-selection-dialog.png:
3925 * doc/images/get-password-dialog.png:
3926 * doc/images/hvolumebar.png:
3927 * doc/images/login-dialog.png:
3928 * doc/images/note.png:
3929 * doc/images/number-editor.png:
3930 * doc/images/range-editor.png:
3931 * doc/images/seekbar.png:
3932 * doc/images/set-password-dialog.png:
3933 * doc/images/sort-dialog.png:
3934 * doc/images/time-editor.png:
3935 * doc/images/time-picker.png:
3936 * doc/images/vvolumebar.png:
3937 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3938 Adding the bread-crumb-trial and helpers to the documentation.
3940 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3942 * examples/hildon-find-toolbar-example.c:
3943 * src/hildon-find-toolbar.c:
3944 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3945 actually continue firing the other handlers if connected. Adding a new
3947 hildon_find_toolbar_get_last_index that gets the index of the most
3948 recently added (last) item. Fixes: NB#52301.
3950 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3952 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3953 behaviour. Fixes: NB#68610.
3955 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3957 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3960 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3962 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3963 when realizing the banner. Should make the infonbanner effect a bit more
3966 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3968 * src/hildon-volumebar.c:
3969 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3970 hildon_volumebar_set_range_insensitive_message and
3971 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3973 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3975 * src/hildon-window.c: Fixing the border freeing on destroy.
3977 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3979 * src/hildon-code-dialog-private.h:
3980 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3981 kw keyboard support in HildonCodeDialog.
3983 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3989 * debian/changelog: Updating.
3991 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3993 * src/hildon-date-editor.c:
3994 * src/hildon-number-editor.c:
3995 * src/hildon-private.c:
3996 * src/hildon-private.h:
3997 * src/hildon-time-editor.c:
3998 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3999 handling in subclassed composite widgets. Fixes: NB#66628.
4001 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4003 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4004 from destroy_ callback as it introduces problems in async dbus signal
4005 handlers. Fixes NB#66673.
4007 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4009 * examples/hildon-hvolumebar-example.c:
4010 * src/hildon-volumebar.c: Improving the focus handling in the
4011 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4012 set_property accessor so that "mute" property can be actually set. I'm
4013 scared that nobody noticed it's totally broken.
4015 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4017 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4020 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4022 * src/hildon-calendar.c:
4023 * src/hildon-number-editor.c:
4024 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4025 matches the spec of 6 chars per second. Fixes: NB#60489.
4027 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4029 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4030 gtk_style_lookup_color sometime returns FALSE even though color was
4031 found and values were filled properly. Weird. Removing the warning for the
4034 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4036 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4037 expand vertically. Adding some extra space to the find toolbar buttons to
4038 make them thumbable. Fixes NB#66060.
4040 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4042 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4043 popup with "Ok" and "Cancel". Fixes NB#59299.
4045 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4047 * src/hildon-calendar.c: Process all window updates before executing next
4048 timeout. Fixes: NB#54146.
4050 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4056 * debian/changelog: Updating.
4058 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4060 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4061 the client event and ignore it, since we use the delete event to close
4064 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4066 * src/hildon-helper.c: Remove the bogus warning about color not being
4067 found. Fixes NB#58352.
4069 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4071 * examples/Makefile.am:
4072 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4073 HildonSeekbar widget inside a toolbar.
4075 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4077 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4078 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4079 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4080 don't want to be closed by non-temporary windows on map.
4082 Also use G_DEFINE_TYPE instead of manually typed code.
4084 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4091 * debian/rules: Updating.
4093 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4095 * examples/Makefile.am:
4096 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4097 bug NB#61128. Strangely it works.
4099 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4101 * src/hildon-date-editor.c: When the date editor entry has been changed
4102 but the numbers of characters < max, turn off the skip validation flag.
4103 Prevents a situation when we enter first a valid year and later re-write
4104 it with an invalid one. Fixes NB#60154.
4106 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4108 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4109 code dialog. Fixes NB#64355.
4111 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4113 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4114 switching the page. Fixes NB#49374.
4116 * examples/Makefile.am:
4117 * examples/hildon-wizard-dialog-example.c: Adding an example for
4118 HildonWizardDialog that shows how to handle manual sensitivity setting on
4121 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4125 * src/hildon-version.h.in:
4126 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4128 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4130 * src/hildon-volumebar.c: Updating the docs.
4132 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4138 * debian/changelog: Updating.
4140 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4142 * src/hildon-find-toolbar.c:
4143 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4144 selected item: hildon_find_toolbar_set_active,
4145 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4146 hildon_find_toolbar_get_active_iter . They correspond to respective
4147 GtkComboBox functions.
4149 * examples/Makefile.am:
4150 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4153 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4155 * examples/Makefile.am:
4156 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4159 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4160 when font size > 32 and we pack a focusable widget inside. Actually using
4161 the default response would work too, but since we don't show default
4162 response state in any way (no theming) it would not be visible to the
4163 user. Fixes NB#63430.
4165 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4167 * src/hildon-date-editor.c: Adding the missing variable setter in the
4168 set_property handler. Fixes NB#54182.
4170 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4172 * src/hildon-window.h: Changing the long key press time from 1500ms to
4173 800ms as requested in NB#63700. I have a bad feeling about this, let's
4174 see... Fixes NB#63700.
4176 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4178 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4179 hildon_time_picker_map, hildon_time_picker_realize,
4180 hildon_time_picker_style_set): Split the contents of map to more
4181 appropriate functions; set window decorations on realize and update
4182 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4184 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4189 * debian/changelog: Updating.
4191 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4193 * src/Makefile.am: fixed installation of the header files
4195 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4201 * debian/changelog: Updating.
4203 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4205 * configure.ac: Removing some remaining of --enable-xan.
4207 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4209 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4210 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4212 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4213 2.10.12-osso6 because the move-focus signal needs to be available in
4216 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4218 * examples/Makefile.am:
4219 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4220 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4221 fine. Prolly NB#61128 is fixed now.
4223 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4225 * src/hildon-volumebar.c:
4226 * src/hildon-volumebar.h: Adding the
4227 hildon_volumebar_set_range_insensitive_message and
4228 hildon_volumebar_set_range_insensitive_messagef functions to set
4229 insensitive message on the slider of the volumebar. Fixes NB#61129.
4231 * examples/Makefile.am:
4232 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4233 test the new insensitive messsage functionality on HildonVolumebar.
4235 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4237 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4240 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4242 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4243 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4244 button on after clearing the trail.
4246 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4248 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4250 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4252 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4253 by splitting the installed headers in generated and non-generated groups. Use
4254 only the non-generated headers to create the hildon-enum-types.h file.
4256 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4258 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4260 * src/hildon-window.c: Hide the window before performing the destroy.
4261 Should make the app closing a little tiny bit more snappy.
4263 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4265 * src/hildon-seekbar.c: add gtkrange.h header
4266 * src/hildon-caption.c: remove unused variable
4268 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4270 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4273 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4279 * debian/changelog: Updating.
4281 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4283 * src/hildon-window.c (hildon_window_window_state_event,
4284 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4285 escape timeout on focus-out-event rather than notify::is-topmost; the
4286 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4288 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4290 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4291 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4293 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4295 * src/hildon-window: actually, you need to use the macro always, there's
4296 no private pointer in the instance structure. We should have cleaned this up
4297 when we had the chance...
4299 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4301 * src/hildon-window.c: do not get the private date from HildonWindow before
4302 it passes the g_return_if_fail check. Once it's passed the test, there's no
4303 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4304 if you are only going to access the data once. Whitespace cleanups.
4306 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4308 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4309 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4311 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4317 * debian/changelog: Updating.
4319 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4321 * src/hildon-window.c: When destroying the window, remove (if exists) the
4322 escape timeout handler. Fixes #NB59276.
4324 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4326 * src/hildon-banner.c: When realizing the widget, set the window
4327 transiency. Setting the transiency in the gobject constructor is not
4328 good, as the widget is not realized at that point. Fixes: #NB56624.
4330 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4332 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4333 Add padding for future expansions.
4335 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4337 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4338 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4339 will fake an activation on the previous to the last item of the trail, so
4340 the effect can be overrided by the developer as usual.
4341 Also change the callback for the back button to do the same thing, so its
4342 effect can be overrided too. Fixes: NB#58982
4344 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4346 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4347 HildonCaption. Fixes NB#52379.
4349 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4351 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4352 the internal state of the trail after the user has had the chance of executing
4353 his handler for the signal. Specifically, it may happen that the activated button
4354 is removed and the user still lets the default handler run. This would segfault
4357 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4359 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4360 scrollbar to the preview dialog. Fixes NB#54147.
4362 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4364 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4365 max/min year properties can be altered, so the client can modify it
4366 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4368 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4370 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4371 hildonlike by default. Fixing a problem with disappearing arrows when
4372 scrolling through months and years. Fixes NB#54127.
4374 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4376 * examples/hildon-date-editor-example.c: Adding error callback to the date
4379 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4385 * configure.ac: Updating.
4387 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4389 * configure.ac: Adding a special '--enable-xan' configure option that
4390 turns off the -Werror compilation setting. Usefull for development.
4392 * src/hildon-calendar.c:
4393 * src/hildon-number-editor.c:
4394 * src/hildon-time-picker.c: Adding the 5* multiplier to
4397 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4399 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4400 instead of g_object_ref + gtk_object_sink.
4402 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4408 * debian/changelog: Updating.
4410 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4412 * src/hildon-color-chooser-dialog.c:
4413 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4414 straight from Tommi labs.
4416 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4418 * examples/hildon-finger-example.c: Correcting the header file path.
4420 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4421 the changed signal. Fixes a small memory leak.
4423 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4427 * src/hildon-banner.c: Importing several usefull fixes from the
4428 ubuntu-mobile branch.
4430 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4432 * examples/Makefile.am:
4433 * examples/hildon-finger-example.c: Adding a finger-checking code
4436 * src/hildon-font-selection-dialog.c: Do not allocate the color
4437 structure using the g_new. Fixes NB#54061.
4439 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4441 * src/hildon-helper.c: Correcting tabs in file.
4443 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4445 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4446 control the visibility of the children.
4448 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4450 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4456 * debian/changelog: Updating.
4458 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4460 * src/hildon-bread-crumb-trail.c:
4461 (hildon_bread_crumb_trail_size_allocate):
4463 Make the back button always a square.
4465 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4467 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4468 from the .c file as it's a private file.
4470 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4472 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4473 uses slightly bigger height.
4475 * src/hildon-font-selection-dialog.c: Adding some checks before
4476 freeing memory in the font selection dialog.
4478 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4480 * src/hildon-font-selection-dialog.c: Adding a small check when
4483 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4484 buttons sensitivity on page switching.
4486 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4488 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4489 internal details of adding a bread crumb to the trail.
4491 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4497 * debian/changelog: Updating.
4499 * src/hildon-bread-crumb-trail.h:
4500 * src/hildon-bread-crumb.h: Changing the API guard to
4501 HILDON_ENABLE_UNSTABLE_API.
4503 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4511 * src/hildon-helper.h: Updating.
4513 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4521 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4525 * src/hildon-helper.h: Small fix to make the package actually compile.
4527 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4529 * src/hildon-bread-crumb-trail.h:
4530 * src/hildon-bread-crumb.h:
4532 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4533 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4535 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4537 * examples/hildon-bread-crumb-trail-example.c:
4539 * src/hildon-bread-crumb-trail.c:
4540 * src/hildon-bread-crumb-trail.h:
4541 * src/hildon-bread-crumb.c:
4542 * src/hildon-bread-crumb.h:
4543 * src/hildon-marshalers.list:
4544 * src/hildon-bread-crumb-widget.c:
4545 * src/hildon-bread-crumb-widget.h:
4547 Slight change in the widget design. The bread crumb trail API is
4548 unchanged, but HildonBreadCrumb is now an interface. A *private*
4549 implementation, hildon-bread-crumb-widget, is provided and used
4550 internally by the trail for the push_text/push_icon functions.
4552 The generic push API is still available, so anyone can implement
4553 and use its own bread crumb widget.
4555 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4557 * debian/rules: Fixing the shlibs.
4559 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4561 * src/hildon-banner.c: Fixing a problem with timed banners having
4562 their parrent destroyed before they are.
4564 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4566 * src/hildon-bread-crumb.c:
4567 * src/hildon-bread-crumb.h:
4569 Make the get_natural_size function a vfunc.
4571 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4573 * src/hildon-bread-crumb.c:
4574 * src/hildon-bread-crumb-trail.c:
4578 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4585 * debian/changelog: Updating for release.
4587 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4589 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4590 don't leak the pango layout.
4592 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4595 * examples/hildon-bread-crumb-trail-example.c:
4599 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4601 * debian/changelog: Removing the bug-fixed entries that were actually
4602 resolved as WONTFIX.
4604 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4607 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4609 * src/hildon-bread-crumb-trail.c:
4610 * src/hildon-bread-crumb-trail.h:
4611 * src/hildon-bread-crumb.c:
4612 * src/hildon-bread-crumb.h:
4616 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4618 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4619 until it's passed the type check.
4621 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4623 * examples/hildon-bread-crumb-trail-example.c
4627 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4629 * examples/Makefile.am
4630 * examples/hildon-bread-crumb-trail-example.c
4632 * src/hildon-bread-crumb-trail.c
4633 * src/hildon-bread-crumb-trail.h
4634 * src/hildon-bread-crumb.c
4635 * src/hildon-bread-crumb.h
4637 New HildonBreadCrumbTrail widget.
4639 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4641 * src/hildon-range-editor.c (hildon_range_editor_init),
4642 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4643 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4644 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4645 hildon_time_editor_class_init, hildon_time_editor_init),
4646 src/hildon-get-password-dialog.c (invalid_input,
4647 hildon_get_password_set_property, hildon_get_password_get_property,
4648 create_contents, hildon_get_password_dialog_set_max_characters),
4649 src/hildon-set-password-dialog.c (create_contents),
4650 src/hildon-date-editor.c (hildon_date_editor_init),
4651 src/hildon-login-dialog.c (hildon_login_dialog_init),
4652 src/hildon-number-editor.c (hildon_number_editor_init),
4653 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4654 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4655 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4656 configure option and adding the respective checks in the code.
4657 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4658 hildon_calendar_drag_data_received): fixed some build warnings.
4660 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4662 * debian/changelog: A 1.0.0 release notes.