1 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-stackable-window-private.h
4 * src/hildon-stackable-window.c (hildon_stackable_window_show)
5 (hildon_stackable_window_hide, hildon_stackable_window_init):
6 Remove all window stack management.
8 * src/hildon-program-private.h
10 * src/hildon-program.c (hildon_program_init)
11 (hildon_program_pop_window_stack)
12 (hildon_program_peek_window_stack)
13 (hildon_program_go_to_root_window):
14 Remove all window stack management and mark functions as
17 2008-11-25 Alberto Garcia <agarcia@igalia.com>
19 * src/hildon-app-menu.c (hildon_app_menu_realize):
20 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
22 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
24 * configure.ac: post release version bump
25 * debian/changelog: version bump
27 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
32 * configure.ac: bump version
33 * debian/changelog: updates
35 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
37 Based on initial code by Christian Dywan (christian@imendio.com)
39 * doc/hildon-docs.sgml: Add section for hildon-main.
40 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
41 * src/Makefile.am: Add new hildon-main.[ch]
42 * src/hildon-defines.h: Update the icon sizes.
43 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
44 new library initialization files and register icon sizes.
45 * src/hildon-main.h: New declarations.
46 * src/hildon.h: Include hildon-main.h
48 Add new initialization functions to the library. These methods
49 will register the hildon specific icon sizes and can be used in the
50 future for other hildon specific bits.
52 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
54 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
56 * src/hildon-window.c: (hildon_window_realize),
57 (hildon_window_notify), (-hildon_window_update_title): Do not set
58 the application name in the window title.
60 Fixes: NB#89754 (Applications shouldn't display their names in the
63 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
65 * src/hildon-note-private.h:
66 * src/hildon-note.c: (hildon_note_set_property),
67 (hildon_note_get_property), (hildon_note_class_init),
68 (hildon_note_init), (hildon_note_finalize),
69 (hildon_note_new_confirmation_with_icon_name),
70 (hildon_note_new_information_with_icon_name):
72 No need to mark as deprecated the actual code. Revert
73 to avoid missing symbols in widgets using deprecated API.
75 2008-11-20 Alberto Garcia <agarcia@igalia.com>
77 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
79 * src/hildon-volumebar.h
80 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
81 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
84 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
85 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
87 * examples/Makefile.am:
88 Deprecate hildon-insensitive-example
90 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
92 2008-11-20 Alberto Garcia <agarcia@igalia.com>
94 * examples/hildon-pannable-area-buttons-scroll-example.c:
95 Make all buttons finger height
97 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
99 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
101 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
102 update the day model only if it is really required, and to avoid the
103 full-reconstruction aproach. Now it only add or remove the required days.
105 The purpose of this is avoid superfluous HildonTouchSelector::changed
108 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
109 with strange parameters)
111 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
113 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
115 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
116 the WINDOW_TYPE property.
118 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
120 2008-11-19 Alberto Garcia <agarcia@igalia.com>
123 Fix dependency to allow parallel compilation with make -jX
125 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
127 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
128 color frame and some minor tweaks to make it more consistent with
131 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
132 highlighted but not visible)
134 2008-11-14 Alejandro G. Castro <alex@igalia.com>
136 * examples/Makefile.am: Fixed typo in the Makefile.am.
138 2008-11-14 Alejandro G. Castro <alex@igalia.com>
140 Reviewed the use of MAEMO_GTK define, now we add the define in the
141 compilation line, and we also add it to the pc file.
143 * configure.ac: Added MAEMO_GTK define to the compilation command
144 and removed it from the config.h.
146 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
147 do not have to take care about this define if the library was
151 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
153 2008-11-14 Alejandro G. Castro <alex@igalia.com>
155 * examples/Makefile.am,
156 * examples/hildon-pannable-area-buttons-scroll-example.c,
157 * examples/hildon-pannable-area-gesture-signals-example.c,
158 * examples/hildon-pannable-area-scroll-jump-example.c,
159 * examples/hildon-pannable-area-tree-view-example.c:
160 Renamed the pannable area examples, now they have more meaningful
163 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
165 * src/hildon-touch-selector.c:
166 (hildon_touch_selector_set_column_selection_mode): Used of
167 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
168 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
169 to avoid re-seting the same selection mode.
171 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
172 breaks HildonPickerDialog)
174 2008-11-13 Alejandro G. Castro <alex@igalia.com>
176 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
177 conditional in the Makefile.am
179 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
181 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
182 Remove unused methods.
184 2008-11-12 Alberto Garcia <agarcia@igalia.com>
186 * src/hildon-button.c (hildon_button_init):
187 Make button images center-aligned by default
189 2008-11-12 Alejandro G. Castro <alex@igalia.com>
192 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
193 activated, we have to think about how to deal with both defines
194 MAEMO_GTK and MAEMO_CHANGES.
196 2008-11-12 Alberto Garcia <agarcia@igalia.com>
198 * examples/hildon-app-menu-example.c (create_menu): Make all
201 2008-11-11 Alejandro G. Castro <alex@igalia.com>
203 Fixed the compilation without maemo gtk adding ifdefs with
204 MAEMO_GTK define to the code, we have to check this version more
207 * examples/Makefile.am: Added control to avoid some examples that
208 just make sense with maemo gtk.
211 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
212 hildon modes with the define.
214 * examples/hildon-edit-toolbar-example.c,
215 (create_icon_view): Create the icon view without hildon-gtk
216 helpers if we are not using maemo gtk.
218 * src/hildon-touch-selector.c,
219 (_create_new_column): Create the treeview without hildon-gtk
220 helpers if we are not using maemo gtk.
222 2008-11-11 Alejandro G. Castro <alex@igalia.com>
224 * src/hildon-pnnable-area.c,
225 (hildon_pannable_area_dispose),
226 (hildon_pannable_area_button_press_cb),
227 (hildon_pannable_area_child_mapped),
228 (hildon_pannable_area_add),
229 (hildon_pannable_area_remove): Added code to control the position
230 of the event_window when adding and removing children from the
231 pannable. We have to raise the event window when the child is
234 Fixes: NB#89811 (Not able to select first image thumbnail in multi
235 selection mode using custom widget inside pannable)
237 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
239 * configure.ac: post release version bump
240 * debian/changelog: version bump
242 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
247 * configure.ac: bump version
248 * debian/changelog: updates
250 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
252 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
253 search mode, in order to avoid lose the focus on the treeview when
254 a hw key (like enter) is pressed.
256 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
257 in HildonDateSelector dialog)
259 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
261 * debian/rules: Added --enable-maintainer-mode
262 * Makefile.am: Added ACLOCAL_AMFLAGS
264 This allows to properly regenerate the Makefiles if you modify the
265 configure.ac or any Makefile.am.
267 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
269 * examples/hildon-app-menu-example.c: (main): Do not set RC style
270 properties, not needed at all.
272 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
274 * src/hildon-note-private.h: Add strings for the icon and stock_icon
276 * src/hildon-note.c: (hildon_note_set_property),
277 (hildon_note_get_property), (hildon_note_class_init),
278 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
279 (hildon_note_new_confirmation_add_buttons): Remove icons.
280 (hildon_note_new_confirmation_with_icon_name): Deprecate.
281 (hildon_note_new_information_with_icon_name): Deprecate.
282 (hildon_note_new_confirmation): Act directly, without calling
283 the deprecated constructor.
284 (hildon_note_new_information): Act directly, without calling
285 the deprecated constructor.
286 * src/hildon-note.h: Mark deprecate methods as such.
287 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
288 not run tests on the deprecated methods if built with deprecation
291 Fixes: NB#91688 (Never show icons in information notes/confirmation
294 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
296 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
297 (hildon_app_menu_key_press): Remove leftover usage of the
298 private structure in HildonAppMenu struct.
299 * src/hildon-app-menu.h: Remove leftover private structure
300 from the HildonAppMenu struct.
302 Fixes a crasher when using the HildonAppMenu.
304 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
306 * src/hildon-picker-dialog.c: Use appropriate logical id
307 for the default "Done" text.
309 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
311 * configure.ac: post release version bump
312 * debian/changelog: version bump
314 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
316 Modified the way to scroll to the current selection just when the touch
317 selector is shown on the screen, avoiding a g_idle. Added too a property
318 to configure this behaviour. See hildon_pannable_area_jump_to_child
319 documentation for more information.
321 * src/hildon-touch-selector.c
322 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
323 Added 'initial-scroll' property
324 (hildon_touch_selector_set_property): Added
325 (hildon_touch_selector_map): Removed as not required anymore
326 (_hildon_touch_selector_on_selected_items): Modified in order to manage
327 only a concrete column, instead of iterate along all the columns
329 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
334 * configure.ac: bump version
335 * debian/changelog: updates
337 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
339 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
340 compilation time warnings.
342 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
344 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
345 the default value for HildonPannableArea::mov-mode to
346 HILDON_PANNABLE_AREA_MODE_VERT.
348 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
350 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
352 Reverting following commit:
354 2008-10-13 Alberto Garcia <agarcia@igalia.com>
356 * src/hildon-app-menu-private.h
357 * src/hildon-app-menu.[ch]
358 * src/hildon-button.[ch]
359 * src/hildon-check-button.[ch]
360 * src/hildon-entry.[ch]
361 * src/hildon-pannable-area.[ch]
362 * src/hildon-text-view.[ch]:
363 Added private field to the object's structure.
365 because it causes an ABI breakage. We will need to introduce these
366 changes later at some point. See NB#91636 for an extensive
367 explanation and status.
369 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
371 Patch contributed by Daniel Borgmann (danielb@openismus.com)
373 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
374 remove special cases that are no longer necessary.
376 Fixes: NB#91016 (Change toolbar sizes, simplification)
378 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
380 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
381 is shown in the cancel note.
383 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
385 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
386 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
387 (hildon_seekbar_init): Remove steppers, remove expose event.
388 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
390 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
392 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
394 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
395 label font to "SmallSystemFont" for vertically arranged buttons.
397 Fixes: NB#90662 (HildonButton "value" and "detail" text is
400 2008-10-31 Alberto Garcia <agarcia@igalia.com>
402 * src/hildon-check-button.c
403 (hildon_check_button_set_active, hildon_check_button_clicked):
404 Don't access private parts directly, use getters instead.
406 2008-10-31 Alberto Garcia <agarcia@igalia.com>
408 * src/hildon-check-button.c (hildon_check_button_new):
409 Align the contents of the check button to the left.
411 2008-10-30 Alejandro G. Castro <alex@igalia.com>
413 * src/hildon-pannable-area.c,
414 (hildon_pannable_area_scroll_to),
415 (hildon_pannable_area_jump_to),
416 (hildon_pannable_area_scroll_to_child),
417 (hildon_pannable_area_jump_to_child): Replace the mapped
418 precondition of these functions with the realized, it is the
419 correct state of the widget in this case. Changed the
420 documentation according to this modification.
422 2008-10-30 Alejandro G. Castro <alex@igalia.com>
424 Added a new EXTRA_CFLAGS option to add the deprecated define to
425 the compilation command. This way we can avoid using the define in
426 the documentation compilation.
428 * configure.ac: Defined EXTRA_CFLAGS.
430 * examples/Makefile.am:
432 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
434 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
436 * src/hildon-picker-dialog.c:
437 Defined a utility macro with the desired touch selector height
438 Removed currently unused separator, and title_label variables from
440 (hildon_picker_dialog_init): Removed code related to the creation
441 of unused private variables title_label and separator.
442 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
443 to ensure correct visualization of the touch selector inside the dialog.
444 * src/hildon-touch-selector.c
445 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
446 ensure a concrete height of the widget.
448 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
453 Remove spurious whitespaces.
455 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
457 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
458 compilation warning after the cancel button removal.
460 2008-10-30 Alejandro G. Castro <alex@igalia.com>
462 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
464 * configure.ac: Added an AM_CONDITIONAL in order to use in the
465 Makefile.am, that way we can choose not to compile some examples
466 and tests of the deprecated widgets.
468 * examples/Makefile.am: Divided the sources in deprecated and
471 * src/Makefile.am: Added undef statement of the deprecated
472 symbol to the enums file generation process.
474 * src/hildon-color-chooser-dialog.c
475 * src/hildon-color-chooser-dialog.h
476 * src/hildon-color-button.c
477 * src/hildon-color-button.h
478 * src/hildon-color-chooser.c
479 * src/hildon-color-chooser.h
480 * src/hildon-controlbar.c
481 * src/hildon-controlbar.h
482 * src/hildon-date-editor.c
483 * src/hildon-date-editor.h
484 * src/hildon-hvolumebar.c
485 * src/hildon-hvolumebar.h
486 * src/hildon-private.c
487 * src/hildon-private.h
488 * src/hildon-range-editor.c
489 * src/hildon-range-editor.h
490 * src/hildon-seekbar.c
491 * src/hildon-seekbar.h
492 * src/hildon-time-editor.c
493 * src/hildon-time-editor.h
494 * src/hildon-time-picker.c
495 * src/hildon-time-picker.h
496 * src/hildon-volumebar.c
497 * src/hildon-volumebar.h
498 * src/hildon-vvolumebar.c
499 * src/hildon-vvolumebar.h
500 * src/hildon-bread-crumb-trail.h
501 * src/hildon-bread-crumb-trail.c
502 * src/hildon-calendar-popup.c
503 * src/hildon-calendar-popup.h
504 * src/hildon-weekday-picker.c:
505 * src/hildon-weekday-picker.h:
506 * src/hildon-bread-crumb-widget.c:
507 * src/hildon-bread-crumb-widget.h:
508 * src/hildon-bread-crumb.c:
509 * src/hildon-bread-crumb.h:
510 * src/hildon-calendar.c:
511 * src/hildon-calendar.h:
512 * src/hildon-caption.c:
513 * src/hildon-code-dialog.c:
514 * src/hildon-code-dialog.h:
515 * src/hildon-font-selection-dialog.c:
516 * src/hildon-font-selection-dialog.h:
517 * src/hildon-get-password-dialog.c:
518 * src/hildon-get-password-dialog.h:
519 * src/hildon-login-dialog.c:
520 * src/hildon-login-dialog.h:
521 * src/hildon-number-editor.c:
522 * src/hildon-number-editor.h:
523 * src/hildon-set-password-dialog.c:
524 * src/hildon-set-password-dialog.h:
525 * src/hildon-sort-dialog.c:
526 * src/hildon-sort-dialog.h: This is the list of deprecated
529 * src/hildon-touch-selector.c:
530 * src/hildon-window.c: Added undef statement to avoid compilation
533 * tests/Makefile.am: Divided the sources in deprecated and
536 * tests/check_test.c,
537 (configure_tests): Marked the deprecated code that was adding
538 suites with deprecated tests.
540 Fixes: NB#91135 (Deprecate legacy hildon widgets)
542 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
544 * src/hildon-touch-selector.c: (_default_print_func): Do not
545 duplicate a string returned by gtk_tree_model_get(), it is already
548 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
551 2008-10-28 Alejandro G. Castro <alex@igalia.com>
553 * src/hildon-pannable-area.c
554 (hildon_pannable_area_add_with_viewport): Reviewed the complete
555 method, it had problems when adding a widget with viewport the
556 second time. Now checks if it already has a viewport and uses it.
558 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
561 2008-10-28 Alejandro G. Castro <alex@igalia.com>
563 * src/hildon-pannable-area.c,
564 (hildon_pannable_area_scroll_to),
565 (hildon_pannable_area_jump_to),
566 (hildon_pannable_area_scroll_to_child),
567 (hildon_pannable_area_jump_to_child): Added a precondition to the
568 scroll and jump to functions: the widget must be mapped before we
569 can safely call these functions. We have also added documentation
570 to the functions to explain how to use them in this situation.
573 2008-10-28 Alejandro G. Castro <alex@igalia.com>
575 Reviewed the threading handling of the pannable widget, we have
576 used the gdk_threads_add_timeout function instead of the usual
577 glib handlers. This avoids some problems with the threads.
579 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
580 (hildon_pannable_area_initial_effect),
581 (hildon_pannable_area_scroll_indicator_fade),
582 (hildon_pannable_area_button_press_cb),
583 (hildon_pannable_area_timeout),
584 (hildon_pannable_area_motion_notify_cb),
585 (hildon_pannable_area_button_release_cb),
586 (hildon_pannable_area_scroll_cb),
587 (hildon_pannable_area_scroll_to): Removed the
588 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
589 gdk_threads_add_timeout.
591 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
593 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
598 * configure.ac: bump version
599 * debian/changelog: updates
601 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
603 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
604 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
605 * src/hildon-color-chooser-dialog.c:
606 (hildon_color_chooser_dialog_init):
607 * src/hildon-font-selection-dialog.c:
608 (hildon_font_selection_dialog_init):
609 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
611 Remove all cancel/close-like dialogs, as these are not going to be
614 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
616 * src/hildon-note.c: (hildon_note_rebuild),
617 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
620 Fixes: NB#90661 (Delete dialog is displayed without NO button)
622 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
624 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
625 sure all buttons are shown, even the Cancel/Close-like ones.
627 Fixes: NB#90861 (Custom Confirmation dialogs should be
628 protected from cancel button removal)
630 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
632 * debian/control: Change libhildon1-examples dependency from libhildon1
634 * debian/libhildon1-examples.install
636 * Makefile.am: Modified the final install directory for the examples on
637 package libhildon1-examples
638 * Makefile.static: Update clean target in order to remove all the binary
641 Changes suggested by Claudio after review new libhildon1-examples package
643 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
645 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
646 * src/hildon-touch-selector.c: Ditto.
648 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
650 * debian/control: Added new package libhildon1-examples, in order to pack
651 the current hildon examples as documentation
652 * debian/rules: Not to compress .c files, modify some includes on the
653 examples (as normally are compiled locally, but when installed it will
654 require to include the installed libhildon1 library), and rename
656 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
657 install all the example files on the new example package
658 * examples/Makefile.static: Added static makefile that can be used to
659 compile the examples, once installed the new example package
660 * examples: Most of the examples were modified in order to grant that
661 all use only '#include "hildon.h"', in order to be easy to prepare
662 it on the example package
664 2008-10-23 Alberto Garcia <agarcia@igalia.com>
667 * debian/libhildon1-dev.install
668 * debian/libhildon1-doc.install:
669 Move all gtk-doc files to a separate libhildon1-doc package.
671 2008-10-23 Daniel Borgmann <danielb@openismus.com>
673 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
675 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
677 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
679 * debian/rules: Fixed a error in order to avoid unnecessary calls
680 to autogen.sh on package building
682 2008-10-22 Alberto Garcia <agarcia@igalia.com>
684 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
686 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
688 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
691 2008-10-21 Alberto Garcia <agarcia@igalia.com>
693 * src/hildon-picker-button.c
694 (hildon_picker_button_finalize):
695 Free priv->done_button_text
697 * src/hildon-time-button.c
698 (hildon_time_button_set_time)
699 * src/hildon-picker-button.c
700 (hildon_picker_button_clicked)
701 (hildon_picker_button_selector_selection_changed)
702 (hildon_picker_button_set_selector)
703 * src/hildon-date-button.c
704 (hildon_date_button_set_date):
705 Free strings returned by hildon_touch_selector_get_current_text()
707 * src/hildon-button.c (hildon_button_construct_child):
708 Fix leaks in priv->image and priv->label_box
710 Fixes: NB#90535 (Memory leak in picker button)
712 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
714 * src/hildon-button.c: (hildon_button_get_property): Do not access
715 private elements directly, use getters instead.
717 2008-10-20 Alberto Garcia <agarcia@igalia.com>
719 * src/hildon-app-menu-private.h
720 * src/hildon-app-menu.c
721 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
722 Store the menu's parent window.
724 * src/hildon-stackable-window.c
725 (hildon_stackable_window_toggle_menu)
726 (hildon_stackable_window_finalize):
727 Set the menu's parent window when the menu is shown, unset it when
730 * src/hildon-app-menu.c
731 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
732 (hildon_app_menu_class_init):
733 Send unhandled keyboard accelerators to the parent window.
735 2008-10-20 Alberto Garcia <agarcia@igalia.com>
737 * src/hildon-stackable-window.c
738 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
740 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
742 * configure.ac: post release version bump
744 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
747 * configure.ac: Bump version
748 * debian/changelog: Updates
749 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
752 2008-10-20 Alberto Garcia <agarcia@igalia.com>
754 Patch contributed by Daniel Borgmann (danielb@openismus.com)
757 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
758 GtkMenu with Hildon style.
760 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
762 * src/hildon-picker-button.c:
763 (hildon_picker_button_set_done_button_text): Set the dialog's
764 done button text here as well.
766 Fixes: NB#90232 (Picker button does not set the label on done button
769 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
771 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
774 2008-10-16 Alberto Garcia <agarcia@igalia.com>
776 * src/hildon-app-menu.c (hildon_app_menu_insert)
777 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
778 the HildonAppMenu to be activatable using keyboard accelerators
779 when the menu is not being shown.
781 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
783 2008-10-16 Alberto Garcia <agarcia@igalia.com>
785 * src/hildon-stackable-window.c
786 (hildon_stackable_window_show):
787 Don't hide old windows automatically when new windows are shown:
788 this is now a task for the window manager.
789 (hildon_stackable_window_class_init)
790 (hildon_stackable_window_hide):
791 Remove windows from the stack everytime they're hidden.
792 (hildon_stackable_window_realize):
793 Don't change the _NET_WM_WINDOW_TYPE property. Use
794 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
795 it as a stackable window.
797 * src/hildon-program.c
798 (hildon_program_pop_window_stack):
799 Just hide the window to remove it from the stack.
800 (hildon_program_go_to_root_window):
801 Don't call gtk_widget_show(), this is now a task for the window
804 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
806 2008-10-15 Alberto Garcia <agarcia@igalia.com>
808 * src/hildon-button.c
809 (hildon_button_construct_child):
810 Don't pack anything in the button until text or image are
811 set. This allows adding a custom child after creating the button
812 with hildon_button_new().
813 (hildon_button_finalize, hildon_button_class_init)
814 (hildon_button_init, hildon_button_set_arrangement): Destroy the
815 alignment and the label box even when they're not packed in the
818 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
820 * src/hildon-touch-selector.h:
821 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
822 currently the type definition was using GTK_TYPE_VBOX
823 * src/hildon-touch-selector.c:
824 Added some implementation notes in order to clarify that any other widget
825 added without the column related API will not be included on the
826 selection logic, and how the widget is freed, as some people ask about
828 (hildon_touch_selector_remove): Reimplemented in order to free properly
829 the column related data when you remove the private hbox.
830 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
831 to get a proper HildonTouchSelectorColumn documentation
833 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
835 * src/hildon-touch-selector-entry.c:
836 (hildon_touch_selector_entry_print_func): Return NULL if there is no
837 text in the GtkEntry and there is no item selected. Fixes a
840 2008-10-13 Alberto Garcia <agarcia@igalia.com>
842 * src/hildon-app-menu-private.h
843 * src/hildon-app-menu.[ch]
844 * src/hildon-button.[ch]
845 * src/hildon-check-button.[ch]
846 * src/hildon-entry.[ch]
847 * src/hildon-pannable-area.[ch]
848 * src/hildon-text-view.[ch]:
849 Added private field to the object's structure.
851 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
853 * configure.ac: post-release version bump
855 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
859 * configure.ac: pre-release version bump
861 * debian/changelog: updates.
863 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
865 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
866 Disconnect the handler for HildonTouchSelector::changed.
868 (hildon_picker_button_selector_selection_changed): Update the button
869 value if the selection change was not triggered by the
872 (hildon_picker_button_set_selector): connect to
873 HildonTouchSelector::changed.
875 Fixes: NB#89650 (Picker button is not updated, when selection in
876 selector has changed)
878 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
880 * src/hildon-picker-dialog.c
881 (hildon_picker_dialog_realize): Removed as not required
882 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
883 * src/hildon-picker-button.c
884 (_current_selector_empty): New function, checks if the selector is empty
885 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
886 if the current selector is empty, in order to avoid to show the dialog
887 close the dialog in this case (and shows a g_warning).
889 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
891 2008-10-09 Alejandro G. Castro <alex@igalia.com>
893 * src/hildon-pannable-area.c,
894 (hildon_pannable_area_scroll): Added clause to stop movement when
895 the child of pannable is smaller than one page.
896 (hildon_pannable_area_scroll_to): Added conditions to avoid
897 starting the scrolling movement if the child is smaller than one
898 page, the complete child is in the screen, we do not have to move.
900 Fixes: NB#89632 (Picker button selection doesn't change on first click)
902 2008-10-09 Alberto Garcia <agarcia@igalia.com>
904 * src/hildon-app-menu.c: Removed the 'columns' property, as now
905 this is managed automatically by the widget when the size of the
908 2008-10-09 Alberto Garcia <agarcia@igalia.com>
910 * src/hildon-picker-button.c
911 (hildon_picker_button_set_done_button_text): Make a copy of the
912 text, and free the previous value.
914 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
916 * src/hildon-touch-selector-entry.c:
917 (hildon_touch_selector_entry_print_func): Return the selected row's
918 text if the entry is empty.
920 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
923 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
925 * src/hildon-touch-selector-entry.c: Minor docs fixes.
927 2008-10-09 Alberto Garcia <agarcia@igalia.com>
930 * src/hildon-check-button.h
931 * src/hildon-check-button.c
932 * examples/hildon-check-button-example.c:
933 HildonCheckButton is now a new widget. 'toggled' signal added.
935 2008-10-08 Alberto Garcia <agarcia@igalia.com>
937 * src/hildon-program-private.h
938 * src/hildon-program.c (hildon_program_init)
939 (hildon_program_finalize): Removed unused variables group_leader
940 and name from HildonProgramPrivate.
942 2008-10-08 Alberto Garcia <agarcia@igalia.com>
944 * src/hildon-check-button.c (hildon_check_button_set_active)
945 (hildon_check_button_get_active, hildon_check_button_new): Use
946 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
948 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
950 * src/hildon-touch-selector.h
951 (hildon_touch_selector_set_column_attributes): added deprecation
952 guard HILDON_DISABLE_DEPRECATED
953 * src/hildon-time-selector.c
954 (hildon_time_selector_set_time)
955 (hildon_time_selector_get_time): Fixed a typo on documentation
956 * src/hildon-touch-selector.c: update HildonTouchSelector and
957 HildonTouchSelectorColumn documentation
958 * src/hildon-touch-selector-entry.c: update "text-column" property
960 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
961 to be added to the general documentation.
963 2008-10-08 Alejandro G. Castro <alex@igalia.com>
965 * examples/hildon-pannable-area-example-4.c,
967 * examples/hildon-pannable-area-example.c,
968 (main): Modified the code in order to use the container add, with
969 viewport treeviews could have problems if they are really big.
971 2008-10-06 Alejandro G. Castro <alex@igalia.com>
973 * src/hildon-weekday-picker.c,
974 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
975 the agreement regarding deprecation in the library.
977 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
979 * examples/hildon-picker-button-multicolumn-example.c:
980 (main): Use custom "done" button text.
982 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
983 (hildon_picker_button_set_property),
984 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
985 (hildon_picker_button_init),
986 (+hildon_picker_button_get_done_button_text),
987 (+hildon_picker_button_set_done_button_text): New methods to customize
988 the "done" button label in the launched HildonPickerDialog. Also,
991 * src/hildon-picker-button.h: add the public API.
993 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
995 * src/hildon-date-selector.h:
996 * src/hildon-picker-dialog.h:
997 * src/hildon-time-selector.h:
998 * src/hildon-touch-selector-column.h:
999 * src/hildon-touch-selector.h:
1001 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1002 declarations. Fixes gtk-doc warnings.
1004 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1006 * src/hildon-picker-dialog.h
1007 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1008 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1010 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1011 long text is set as label for done button)
1013 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1015 * src/hildon-dialog.c (hildon_dialog_add_button):
1016 Set fixed width to all buttons in the HildonDialog.
1018 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1020 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1022 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1023 Set widget name using class name plus "-finger" or "-thumb".
1025 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1027 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1028 'clicked' when the state of the button is manually changed.
1030 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1032 * src/hildon-app-menu.c (hildon_app_menu_realize)
1033 (hildon_app_menu_unrealize, hildon_app_menu_init)
1034 (hildon_app_menu_class_init, item_visibility_changed):
1035 Change the menu layout when the size of the screen changes.
1036 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1037 Show warning only when changing the number of colums using the
1040 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1042 * debian/compat: Set to 5
1043 * debian/control: Update dependencies.
1044 * debian/libhildon1-dbg.install: Remove.
1045 * debian/libhildon1-dev.install: Update according to cdbs paths.
1046 * debian/libhildon1.install: Update according to cdbs paths.
1047 * debian/rules: Switch to cdbs.
1049 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1051 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1052 'item' variable renamed to 'filter'
1054 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1056 * src/hildon-app-menu.c (hildon_app_menu_insert)
1057 (hildon_app_menu_add_filter, remove_item_from_list)
1058 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1059 Don't leak hidden items when the menu is destroyed.
1061 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1063 * src/hildon-app-menu.c (hildon_app_menu_insert)
1064 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1065 (hildon_app_menu_set_columns, item_visibility_changed)
1066 (filter_visibility_changed, hildon_app_menu_repack_filters)
1067 (hildon_app_menu_repack_items):
1068 Repack items and filters separately.
1070 Don't repack all items, change only the ones that are needed to
1073 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1075 * src/Makefile.am: added hildon-touch-selector-column.h
1077 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1079 * src/hildon-touch-selector.c: added the property "text-column" to the
1080 class HildonTouchSelectorColumn, and related get/set functions
1081 (_default_printf_func): updated to use "text-column" property
1082 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1083 "text-column" in his documentation, as this is now included on
1084 HildonTouchSelectorColumn. The get/set_property can still be used,
1085 working as a wrapper to the concrete column "text-column" property
1086 (_text_column_modified): callback added in order to handle the signal
1087 "notify::text-column" of the concrete HildonTouchSelectorColumn
1088 (hildon_touch_selector_entry_get_text_column)
1089 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1090 modified in order to use the HildonTouchSelectorColumn "text-column"
1092 * src/hildon-time-selector.c:
1093 * src/hildon-date-selector.c:
1094 * examples/hildon-touch-selector-example.c
1095 * examples/hildon-touch-selector-multi-cells-example.c
1096 * examples/hildon-picker-button-multicolumn-example.c
1097 Set the right value to "text-column" property on the creation of a new
1098 column using hildon_touch_selector_append_column()
1100 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1102 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1104 * src/hildon-app-menu.c
1105 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1106 updating the layout of the menu, don't create all widgets again,
1107 just repack the items in their new places.
1109 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1111 * src/hildon-time-selector.c
1112 (hildon_time_selector_get_time)
1113 (hildon_time_selector_set_time)
1114 Added documentation of these public methods
1116 * src/hildon-date-button.h
1117 * src/hildon-touch-selector-column.h
1118 * src/hildon-time-button.h
1119 * src/hildon-picker-dialog.h
1120 * src/hildon-time-selector.h
1121 * src/hildon-picker-button.h
1122 * src/hildon-touch-selector.h
1123 * src/hildon-time-picker.h
1124 * src/hildon-date-selector.h
1125 * src/hildon-touch-selector-entry.h
1126 Modified in order to use hildon-widgets code style
1128 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1130 Added deprecated support to the compilation process using
1131 HILDON_DISABLE_DEPRECATED
1133 * configure.ac: Added the --disable-deprecated to the configure
1136 * src/hildon-weekday-picker.c:
1137 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1138 to use the deprecated support. We will update the other deprecated
1139 widgets status in a new patch.
1141 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1143 * configure.ac: Fixed typo with fatal warnings support, the
1144 variable name was not correct
1146 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1148 * src/hildon-app-menu.c
1149 * src/hildon-program.c: Update documentation.
1151 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1153 * configure.ac: Post-release version bump.
1155 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1160 * configure.ac: Pre-release version bump.
1161 * debian/changelog: Updates.
1163 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1165 * NEWS: Update news for previous releases.
1167 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1169 * examples/hildon-touch-selector-multi-cells-example.c:
1170 (create_selector): Update the example to use
1171 hildon_touch_selector_append_column() with a NULL renderer and set
1172 the renderers later.
1173 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1174 passed a NULL renderer. This is documented behavior now.
1176 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1177 This must be used if the developer wants full control on the layout of
1178 the renderers to be added to the column.
1180 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1182 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1184 * src/hildon-touch-selector.c: Documentation fixes.
1186 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1188 * src/hildon-wizard-dialog-private.h: Remove image and box.
1189 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1190 (hildon_wizard_dialog_set_property), (response): Completely remove
1191 image/icon support, and the containers required for the layout.
1193 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1195 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1197 * src/hildon-app-menu.c: Updated documentation.
1199 * src/hildon-stackable-window.c
1200 (hildon_stackable_window_set_main_menu): Unref the old menu after
1201 ref'ing the new one.
1203 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1205 * src/hildon-stackable-window.c
1206 (hildon_stackable_window_set_main_menu): Unref the previous menu
1207 instead of destroying it.
1209 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1210 floating reference and set has_user_ref_count to FALSE to make
1211 HildonAppMenu act like a normal ref-counted widget and not a
1214 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1217 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1219 * src/hildon-touch-selector-column.h: new file
1220 * src/hildon-touch-selector.h
1221 * src/hildon-touch-selector.c
1222 Implemented GtkCellLayout interface, in order to allow to configure
1223 the cell layout on each individual selector column
1224 (hildon_touch_selector_set_column_attributes): marked as deprecated
1225 * examples/hildon-touch-selector-multi-cells-example.c
1226 Example of how to use the GtkCellLayout interface on the selector
1228 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1230 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1232 * src/hildon-app-menu.h
1233 * src/hildon-app-menu.c
1234 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1235 (hildon_app_menu_append, hildon_app_menu_prepend):
1236 New methods to prepend, insert and move items in the menu.
1238 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1240 * src/hildon-wizard-dialog.c:
1242 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1244 (create_title): Update logical IDs and related code.
1245 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1247 * src/hildon-wizard-dialog.h: Note that
1248 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1249 point, as it is not used anymore.
1251 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1253 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1255 * src/hildon-note.c:
1256 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1257 shown. Do not display an icon in confirmation notes nor information
1259 (hildon_note_set_button_text): Update logical ID for cancel button.
1261 Fixes: NB#88850 (Update HildonNote button strings + signals)
1263 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1265 * src/hildon-stackable-window.c
1266 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1268 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1270 * src/hildon-app-menu-private.h
1271 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1272 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1273 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1274 temporary property 'columns' to change the number of columns.
1276 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1278 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1280 * examples/hildon-note-example.c: (on_information_clicked),
1281 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1282 debugging information.
1283 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1285 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1286 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1287 in order to close: this will be handled by the WM from now on.
1289 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1291 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1293 * src/hildon-app-menu-private.h
1294 * src/hildon-app-menu.c
1295 (hildon_app_menu_append, hildon_app_menu_add_filter)
1296 (button_visibility_changed, hildon_app_menu_apply_style)
1297 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1298 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1299 layout everytime a button (item or filter) is shown or hidden.
1301 * src/hildon-stackable-window.c
1302 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1305 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1307 * src/hildon-touch-selector.c:
1308 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1309 that the treeview inside the touch selector is in fremantle hildon mode
1310 * examples/hildon-date-button-example.c
1311 * examples/hildon-picker-button-multicolumn-example.c
1312 * examples/hildon-touch-selector-entry-example.c
1313 * examples/hildon-touch-selector-example.c
1314 * examples/hildon-time-button-example.c
1315 * examples/hildon-picker-button-example.c:
1316 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1318 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1320 * examples/hildon-text-view-example.c: (main): Remove the
1321 gtkrc bits, now handled by the theme.
1323 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1325 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1328 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1330 * po/Makefile.am: Install properly the mo files.
1331 * po/en_GB.po: Update translation, to ease testing purposes.
1333 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1335 * examples/hildon-picker-button-example.c: (main): Select an item
1336 in the selector before setting it to the button.
1338 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1340 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1341 Update button's value if the selector has an item active.
1343 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1344 'value' with the selector)
1346 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1348 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1349 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1350 (hildon_picker_button_class_init): Plug the finalize method.
1351 (hildon_picker_button_set_selector): If there's a previously set
1352 selector, unref'it before setting a new one.
1354 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1355 HildonTouchSelector)
1357 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1359 * src/hildon-touch-selector-entry.c:
1360 (hildon_touch_selector_entry_changed): Check if there is no text
1361 selected before setting the entry text.
1364 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1366 * src/hildon-touch-selector.h
1367 * src/hildon-touch-selector.c
1368 (hildon_touch_selector_get_active)
1369 (hildon_touch_selector_set_active): New methods to set/get the
1370 index of the selected item.
1372 * src/hildon-picker-button.h
1373 * src/hildon-picker-button.c
1374 (hildon_picker_button_get_active)
1375 (hildon_picker_button_set_active): New methods to set/get the
1376 index of the selected item.
1378 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1380 * configure.ac: post-release version bump.
1382 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1386 * configure.ac: Pre-release version bump.
1387 * debian/changelog: Updates.
1388 * debian/control: Add myself as maintainer and depend on l10n
1391 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1393 * src/hildon-window.c
1394 (hildon_window_set_main_menu)
1395 * src/hildon-stackable-window.c
1396 (hildon_stackable_window_set_main_menu):
1397 Updated documentation.
1399 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1401 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1402 Don't free selector->priv manually.
1405 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1408 (hildon_gtk_window_set_progress_indicator):
1409 * src/hildon-gtk.h: Added the new API
1410 hildon_gtk_window_set_progress_indicator, it changes the state of
1411 the window progress hint.
1413 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1415 * src/hildon-button.c
1416 * src/hildon-stackable-window.c: Minor documentation updates.
1418 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1420 * src/hildon-stackable-window.c: Updated documentation.
1422 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1424 * src/hildon-defines.h: Update margins definitions
1425 to the Fremantle sizes.
1428 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1430 * src/hildon-touch-selector.c,
1431 (_hildon_touch_selector_set_model): Cleaning the code after
1432 review, removed g_print and #if 0 from the code.
1434 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1436 * src/hildon-edit-toolbar.c: Update documentation.
1438 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1440 * src/hildon-check-button.h
1441 * src/hildon-check-button.c
1442 (hildon_check_button_set_label, hildon_check_button_get_label)
1443 * examples/hildon-check-button-example.c
1444 (button_clicked_cb):
1445 Removed deprecated methods.
1447 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1449 * src/hildon-text-view.c:
1450 Add sample code to the documentation.
1452 * src/hildon-entry.h
1453 * src/hildon-text-view.h:
1454 Minor cosmetic changes.
1456 * src/hildon-entry.c:
1457 Add sample code to the documentation.
1458 (hildon_entry_init, hildon_entry_refresh_contents):
1459 Don't allow NULL values in the placeholder.
1461 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1463 * doc/hildon-docs.sgml
1465 * examples/Makefile.am
1466 * examples/hildon-text-view-example.c
1468 * src/hildon-text-view.c
1469 * src/hildon-text-view.h
1471 New HildonTextView widget, with example.
1473 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1475 * po/POTFILES.in: Add missing files with translatable strings.
1476 Partially fixes NB#88287.
1478 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1480 * examples/hildon-pannable-area-example-2.c: (main): No need to
1481 set the cellrenderer height inside hildon touch lists, the theme does
1484 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1486 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1487 they are integrated in the theme.
1489 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1491 * examples/hildon-entry-example.c: Update the example adding
1492 widgets to modify the text and the placeholder of the HildonEntry.
1494 * src/hildon-entry.c: Show the placeholder everytime the widget
1495 is empty and loses the focus.
1497 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1499 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1501 * src/hildon-pannable-area.c,
1502 (hildon_pannable_area_size_request): Fixed bug in height
1503 requisition, avoid increasing size and add border twice.
1505 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1507 * configure.ac: postrelease version bump.
1509 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1513 * configure.ac: Prerelease version bump.
1514 * debian/changelog: update.
1515 * debian/rules: make -dbg package contain useful debugging symbols.
1517 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1519 * src/hildon-dialog.h
1520 * src/hildon-dialog.c
1521 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1522 New methods to add buttons with finger size.
1523 (hildon_dialog_new_with_buttons):
1524 Create buttons with finger size.
1526 * examples/hildon-dialog-example.c (main): Use HildonDialog
1527 methods to add buttons.
1529 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1531 * src/hildon-entry.c: Updated HildonButton documentation.
1533 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1535 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1536 button value label with (FALSE, FALSE) to prevent NB#88126 from
1539 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1541 * examples/hildon-pannable-area-example.c,
1542 (main): Removed examples panning a vbox inside a pannable
1543 area. Check bug NB#87965
1545 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1547 Patch contributed by Kris Rietveld (kris@imendio.com)
1549 * src/hildon-pannable-area.c,
1550 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1551 get_size and get_position, this saves an X server roundtrip.
1553 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1555 * doc/hildon-docs.sgml
1557 * examples/Makefile.am
1558 * examples/hildon-entry-example.c
1560 * src/hildon-entry.c
1561 * src/hildon-entry.h
1563 New HildonEntry widget, with example.
1565 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1567 * src/hildon-button.c (hildon_button_construct_child): Pack the
1568 image with expand == fill == FALSE. This is a workaround for a bug
1571 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1573 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1574 labels for the text column, to make it more look more dynamic.
1576 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1578 * src/hildon-time-selector.c
1579 Define gettext auxiliar macro N_
1580 (_create_minutes_model)
1581 (_create_hours_model)
1582 (_create_ampm_model): use of strftime in order to fill the model
1583 * src/hildon-date-selector.c
1584 (hildon_date_selector_finalize):
1585 (_locales_init): remove the logic related to get the name of the months
1586 using nl_langinfo, as it is not required anymore
1588 (_create_year_model)
1589 (_create_month_model)
1590 (_update_day_model): use of strftime in order to fill the model properly
1593 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1595 * src/hildon-button.h
1596 * src/hildon-button.c (hildon_button_get_image): New method to
1599 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1601 * src/hildon-touch-selector.c:
1602 (hildon_touch_selector_remove_column): Remove from the correct parent
1603 and also remove the list element and free it.
1606 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1608 * src/hildon-time-selector.c
1609 (_create_hours_model): change the range on 12h ampm format in order to use
1610 a 12-11 range instead of previous 01-12 range
1611 (hildon_time_selector_set_time): change the way to select the current time
1612 on 12h ampm format, due the change on the range
1613 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1616 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1618 * src/hildon-touch-selector.c
1619 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1620 in order to allow use this function on multiple row selection mode if
1621 the column is different that the first one
1624 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1626 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1627 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1629 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1631 * src/hildon-date-selector.h: clean some comments, now on the .c
1632 * src/hildon-date-selector.c
1633 (hildon_date_selector_select_month): first implementation
1634 (hildon_date_selector_select_day): added documentation, reimplemented
1635 using hildon_date_selector_select_current_date to avoid repeat code
1638 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1640 Reviewed interaction logic based on device experiences, refactored
1643 * src/hildon-pannable-area.c,
1644 (hildon_pannable_area_class_init): Updated default vmax speed.
1645 (hildon_pannable_area_calculate_velocity): Added this function, it
1646 avoids duplicate valocity calculation. Adjusted calculation to
1647 avoid problems with zero dist events.
1649 (hildon_pannable_area_motion_notify_cb): Now we use the
1650 calculate_velocity function.
1652 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1654 * src/hildon-date-selector.c
1655 (hildon_date_selector_select_current_date): fix the day range check
1656 as it failed using the last day of the current month
1659 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1661 * src/hildon-touch-selector.c
1662 (hildon_touch_selector_get_num_columns): added a parameter validation
1665 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1667 * examples/Makefile.am
1668 * examples/hildon-edit-toolbar-example.c: Example of the
1669 HildonEditToolbar widget.
1671 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1673 * configure.ac: postrelease version bump.
1675 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1679 * configure.ac: prerelease version bump.
1680 * debian/changelog: update.
1682 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1684 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1685 renderer to display stock icons in the touch list. Also, set the sizes
1686 to the recommended in the style guide.
1688 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1689 * src/hildon-touch-selector.h
1690 (hildon_touch_selector_set_active_iter): renamed, now is
1691 hildon_touch_selector_select_iter
1692 (hildon_touch_selector_get_active_iter): renamed, now is
1693 hildon_touch_selector_get_selected
1694 (hildon_touch_selector_unselect_iter): added
1695 * src/hildon-touch-selector.c
1696 Update after API modification (methods renamed)
1697 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1698 order to avoid problems selecting multiple elements on the column
1699 (hildon_touch_selector_unselect_iter): added the implementation
1700 * src/hildon-time-selector.c
1701 * src/hildon-date-selector.c
1702 * src/hildon-touch-selector-entry.c
1703 Update methods calls after hildon-touch-selector.h API modification (methods
1706 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1708 * src/hildon-stackable-window.c
1709 (hildon_stackable_window_finalize): Call the parent class's finalize.
1711 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1713 * examples/hildon-touch-selector-example.c: (create_selector): Use
1714 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1717 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1719 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1720 set a cell background color, to respect theming.
1722 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1724 * doc/hildon-docs.sgml
1727 * src/hildon-edit-toolbar.c
1728 * src/hildon-edit-toolbar.h
1729 * src/hildon.h: New HildonEditToolbar widget.
1731 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1733 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1736 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1737 * src/hildon-touch-selector.c
1738 (_create_new_column): use g_object_set instead of two g_object_set_property
1740 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1741 * src/hildon-touch-selector.c
1742 (_create_new_column): use of hildon_gtk_tree_view_new to create
1743 the treeview, instead of use directly g_object_new
1744 (_create_new_column): update the property name "vindicator-mode" for the
1745 new one "vscrollbar-policy"
1746 * examples/hildon-date-button-example.c
1747 * examples/hildon-picker-button-multicolumn-example.c
1748 * examples/hildon-touch-selector-entry-example.c
1749 * examples/hildon-touch-selector-example.c
1750 * examples/hildon-time-button-example.c
1751 * examples/hildon-picker-button-example.c
1752 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1753 to all the treeviews inside a pannable area.
1755 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1757 * src/hildon-button.h
1758 * src/hildon-button.c (hildon_button_init)
1759 (hildon_button_set_arrangement, hildon_button_set_alignment)
1760 (hildon_button_set_title_alignment)
1761 (hildon_button_set_value_alignment)
1762 (hildon_button_set_image_alignment)
1763 (hildon_button_construct_child): New methods to set the alignment
1764 of the individual components of the button (title, value,
1765 image). Also, new method to alter the xscale and yscale properties
1766 of the GtkAlignment inside the button, so more complex layouts can
1769 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1771 * src/hildon-button.c (hildon_button_style_set)
1772 (hildon_button_class_init, hildon_button_set_arrangement)
1773 (hildon_button_construct_child): Apply style properties
1774 correctly. Use the 'image-spacing' style property too.
1776 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1778 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1779 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1782 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1784 * src/hildon-pannable-area.c,
1785 (hildon_pannable_area_size_request): Fixed problem with
1786 pannable-area size_request.
1788 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1790 Added management for the grab-focus to a child widget, like a
1791 range, we need to fade out the scrollbar when releasing.
1793 * src/hildon-pannable-area.c,
1794 (hildon_pannable_area_init): Connected the grab-focus signal to
1796 (hildon_pannable_area_grab_notify): Added this function in order
1797 to manage the situation when the grab-focus ends. We have to
1798 fade-out the scrollbar.
1800 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1802 * src/hildon-app-menu.c: Minor documentation update.
1804 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1806 * src/hildon-app-menu.c
1807 * examples/hildon-app-menu-example.c (create_menu): Update
1808 examples and documentation to explain how to connect callbacks.
1810 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1812 * examples/hildon-button-example.c
1813 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1814 hildon_stackable_window_new instead of gtk_window_new
1816 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1818 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1819 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1820 (hildon_pannable_area_set_property),
1821 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1822 (hildon_pannable_area_unrealize),
1823 (hildon_pannable_area_size_request),
1824 (hildon_pannable_area_size_allocate),
1825 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1826 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1827 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1828 (hildon_pannable_area_initial_effect),
1829 (hildon_pannable_area_redraw),
1830 (hildon_pannable_area_scroll_indicator_fade),
1831 (hildon_pannable_area_expose_event),
1832 (hildon_pannable_area_get_topmost), (synth_crossing),
1833 (hildon_pannable_area_button_press_cb),
1834 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1835 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1836 (hildon_pannable_area_motion_notify_cb),
1837 (hildon_pannable_area_button_release_cb),
1838 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1839 (hildon_pannable_area_remove),
1840 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1841 chage the code layout to a more GtkWidget like. Review the use of
1844 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1846 * examples/hildon-pannable-area-example-4.c,
1847 (main): Modified the name of the hindicator_mode to
1850 * src/hildon-pannable-area.c,
1851 (hildon_pannable_area_class_init),
1852 (hildon_pannable_area_motion_notify_cb),
1853 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1854 we have reduced the amount of signals and managed reviewed its
1855 rationale. Changed the default decelerate value.
1857 (hildon_pannable_area_add),
1858 (hildon_pannable_area_redraw): Refactored functions.
1860 (hildon_pannable_area_init),
1861 (hildon_pannable_area_get_property),
1862 (hildon_pannable_area_set_property):
1863 (hildon_pannable_draw_vscroll),
1864 (hildon_pannable_draw_hscroll),
1865 (hildon_pannable_area_initial_effect),
1866 (hildon_pannable_area_expose_event),
1867 (hildon_pannable_area_scroll),
1868 (hildon_pannable_area_button_press_cb),
1869 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1870 and vindicator_mode with hscrollbar_policy and
1871 vscrollbar_policy. Replaced hscroll and vscroll with
1872 hscroll_visible and vscroll_visible.
1874 (hildon_pannable_area_refresh): Refactor the function, remove
1875 variables and check the calls to this function, added resize
1876 conditions in case the children change their layout.
1878 (hildon_pannable_area_size_request): Added more detailed
1879 size_request calculation.
1882 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1884 * src/hildon-color-chooser.c
1885 (init_borders): use the correct gtk_border_free instead of g_free, to
1886 avoid a crash when this widget is used (ie: the three color selection
1889 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1891 * src/hildon-check-button.c,
1892 (hildon_check_button_set_active): Fixed problem when setting the
1893 active value, the widget was not redrawn.
1895 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1897 * src/hildon-pannable-area.c,
1898 (hildon_pannable_area_refresh),
1899 (hildon_pannable_area_scroll),
1900 (hildon_pannable_area_motion_notify_cb): Small code style change.
1902 (hildon_pannable_area_class_init): Default initial_hint set to
1903 FALSE, it is not in the specs.
1905 (hildon_pannable_area_initial_effect),
1906 (hildon_pannable_area_expose_event),
1907 (hildon_pannable_area_map),
1908 (hildon_pannable_area_init): Moved the launching point of the
1909 initial effect, it was in map but the sizes where not correct in
1910 that method so we do not know if we have the reproduce it. Now it
1911 is placed in the expose_event method and uses a variable to
1912 reproduce it just once.
1914 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1916 * src/hildon-pannable-area.c,
1917 (hildon_pannable_draw_vscroll),
1918 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1919 position allowed for the scrollbars.
1921 (hildon_pannable_area_size_allocate): Small style change.
1923 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1925 * src/hildon-pannable-area.c,
1926 (hildon_pannable_area_scroll_indicator_fade),
1927 (hildon_pannable_area_button_press_cb),
1928 (hildon_pannable_area_button_release_cb),
1929 (hildon_pannable_area_scroll_cb),
1930 (hildon_pannable_area_expose_event),
1931 (hildon_pannable_area_init): Added the define parameter
1932 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1933 and refactor the fade variable.
1935 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1937 * src/hildon-pannable-area.c,
1938 (hildon_pannable_area_redraw),
1939 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1940 lines, we were reimplemeting the redraw code.
1942 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1944 * src/hildon-pannable-area.c,
1945 (hildon_pannable_area_scroll_cb),
1946 (hildon_pannable_area_realize),
1947 (hildon_pannable_area_class_init): Added scroll_event management
1948 for pannable area, now we can scroll the usual desktop method.
1950 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1951 initialization of the parameters should depend on idle_id.
1953 (hildon_pannable_area_init),
1954 (hildon_pannable_area_map): Small code style modifications
1956 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1958 * src/hildon-pannable-area.c
1959 (hildon_pannable_area_button_press_cb),
1960 (hildon_pannable_area_motion_notify_cb),
1961 (hildon_pannable_area_button_release_cb),
1962 (hildon_pannable_area_size_allocate),
1963 (hildon_pannable_area_scroll_to): Improved the timeouts
1964 management, we avoid creating them each time.
1966 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1968 * src/hildon-pannable-area.c:
1969 (hildon_pannable_area_refresh),
1970 (hildon_pannable_area_motion_notify_cb),
1971 (hildon_pannable_area_class_init):
1972 * src/hildon-pannable-area.h:
1973 * src/hildon-touch-selector.c
1974 (_create_new_column):
1975 * examples/hildon-pannable-area-example-4.c:
1976 (horizontal_movement),
1977 (vertical_movement),
1979 Replaced the names of enums in the HildonPannableArea:
1980 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1981 HILDON_MOVEMENT_MODE_*
1982 - HILDON_PANNABLE_AREA_MOV_* ->
1984 - Removed HildonPannableAreaIndicatorMode, now we
1987 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1989 * examples/hildon-pannable-area-touch-grid-example.c
1990 * examples/hildon-pannable-area-touch-list-example.c: Fix
1991 compilation warnings.
1993 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1995 * src/hildon-gtk.c (hildon_gtk_button_new)
1996 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1997 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1998 images overriding the value of the "gtk-button-images" setting.
2000 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2002 * src/hildon-check-button.c (hildon_check_button_new):
2003 Instead of using a custom container, display the label and the
2004 checkbox using the standard GtkButton API.
2006 * examples/hildon-check-button-example.c (main): Don't use
2007 hildon_check_button_set_label() anymore
2009 * src/hildon-check-button.h
2010 * src/hildon-check-button.c
2011 (hildon_check_button_set_label, hildon_check_button_get_label):
2012 Set as deprecated, now we're using gtk_button_{get,set}_label()
2014 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2016 * src/hildon-pannable-area.c,
2017 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2018 GtkTreeview first line we detected it after the inclusion of the
2019 GtkWindowImpl in gtk+. We now check if the window is visible, not
2020 just if the pointer is over the window.
2021 (hildon_pannable_axis_scroll),
2022 (hildon_pannable_area_expose_event): Small style changes.
2024 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2026 * src/hildon-button.c: Update documentation.
2028 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2030 * examples/hildon-button-example.c: Add a switch to show images in
2033 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2035 * doc/hildon-docs.sgml: Some docs reorganization.
2037 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2039 * examples/hildon-pannable-area-touch-list-example.c
2041 * examples/hildon-pannable-area-touch-grid-example.c
2042 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2043 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2044 Fix memory leak when setting the tree model.
2046 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2050 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2052 * doc/hildon.types: Remove duplicated hildon_window_get_type
2053 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2054 documentation comment.
2056 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2058 * doc/Makefile.am: Complete list of private headers.
2060 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2062 * doc/hildon-docs.sgml
2063 * src/hildon-app-menu.c
2064 * src/hildon-bread-crumb.c
2065 * src/hildon-button.c
2067 * src/hildon-program.c
2068 * src/hildon-stackable-window.c
2069 * src/hildon-window.c: Lots of documentation updates.
2071 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2073 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2075 * configure.ac: Require Gtk+ 2.12.9 at least
2077 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2079 * src/hildon-pannable-area.c
2080 (hildon_pannable_area_scroll_indicator_fade),
2081 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2082 to protect the return of this timeout callbacks, avoiding deadlocks.
2084 2008-08-12 Christian Dywan <christian@imendio.com>
2087 * src/hildon-*.h: Ensure a consistent include order,
2088 include <gtk/gtk.h> instead of particular files and
2089 only include the topmost header in the gtk stack. See NB #39857
2091 2008-08-12 Christian Dywan <christian@imendio.com>
2093 * src/hildon-picker-dialog.c
2094 * src/hildon-touch-selector.c: Fix warnings about unused and
2095 uninitialized variables.
2097 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2099 * examples/Makefile.am
2100 * examples/hildon-check-button-example.c: Example of the hildon
2103 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2105 * src/hildon-window.h
2106 * src/hildon-window.c (hildon_window_class_init)
2107 (hildon_window_unset_program): Don't make
2108 hildon_window_unset_program a virtual function anymore.
2110 * src/hildon-stackable-window.c: Update documentation
2112 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2115 * doc/hildon-docs.sgml
2116 * doc/visual_index.xml
2117 * src/hildon-defines.c
2119 * src/hildon-helper.c
2120 * src/hildon-range-editor.c: Lots of documentation fixes.
2122 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2124 * examples/hildon-picker-button-multicolumn-example.c
2125 (create_touch_selector): Fix compilation warning.
2127 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2129 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2130 (hildon_pannable_area_button_release_cb)
2131 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2133 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2135 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2138 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2140 * src/hildon-bread-crumb-trail.h
2141 * src/hildon-date-editor.c
2142 * src/hildon-date-selector.c
2143 * src/hildon-pannable-area.c
2144 * src/hildon-picker-dialog.c
2145 * src/hildon-time-selector.c
2146 * src/hildon-touch-selector-entry.c
2147 * src/hildon-touch-selector.c
2148 * src/hildon-touch-selector.h: Misc documentation fixes
2150 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2152 * examples/hildon-date-editor-example.c (main): Updated date
2155 * examples/hildon-note-example.c (on_confirmation_clicked):
2156 Updated confirmation note example.
2158 * src/hildon-date-editor.c
2159 * src/hildon-note.c: Updated sample programs in documentation.
2162 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2164 * src/hildon-date-button.h:
2165 * src/hildon-picker-button.h:
2166 * src/hildon-time-button.c:
2167 * src/hildon-time-button.h:
2169 Some declarations changes to allow gtk-doc to document the widgets
2172 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2174 * src/hildon-date-button.c: Document the widget.
2175 * src/hildon-time-button.c: Document the widget.
2177 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2179 * src/hildon-picker-button.c: Document the widget.
2180 * src/hildon-touch-selector-entry.c: Document the widget.
2182 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2184 * doc/hildon-docs.sgml
2187 * src/hildon-check-button.h
2188 * src/hildon-check-button.c: New functions to create the Hildon
2192 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2194 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2196 * src/hildon-button.h
2197 * src/hildon-button.c
2198 (hildon_button_add_title_size_group)
2199 (hildon_button_add_value_size_group)
2200 (hildon_button_add_image_size_group)
2201 (hildon_button_add_size_groups): New functions to set size groups
2202 for the button labels and image.
2203 (hildon_button_new_full): Removed
2205 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2207 * src/hildon-time-selector.c
2208 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2209 in order to avoid a crash if gconf is not available
2211 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2213 * src/hildon-button.c (hildon_button_set_arrangement)
2214 (hildon_button_construct_child): Don't construct the button child
2215 before setting the arrangement.
2217 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2219 * src/hildon-program-private.h
2220 * src/hildon-program.c
2221 * src/hildon-program.h
2222 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2223 (hildon_program_peek_window_stack)
2224 (hildon_program_pop_window_stack)
2225 (hildon_program_go_to_root_window): HildonProgram now has a
2226 separate list for stackable windows. Functions are provided to
2227 manage that list with a stack-like API.
2229 * src/hildon-stackable-window.c: Stackable window management is
2230 now much simpler with the new HildonProgram API. Windows no
2231 longer need to be manually added to the program, they're
2232 automatically pushed to the top of the stack when shown.
2234 * examples/hildon-stackable-window-example.c: Updated example to
2235 reflect the API changes.
2237 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2239 * src/hildon-touch-selector.c: Comment out unimplemented
2240 hildon_touch_selector_insert_column() to avoid a compile warning.
2242 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2244 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2245 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2246 (hildon_touch_selector_set_column_selection_mode),
2247 (_hildon_touch_selector_set_model),
2248 (hildon_touch_selector_set_model):
2250 Complete review of HildonTouchSelector documentation.
2252 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2254 * doc/hildon-docs.sgml
2258 * src/hildon-gtk.c: Convenience functions for standard Gtk
2259 widgets, used to easily perform frequent operations.
2261 * src/hildon-button-helpers.h
2262 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2264 * src/hildon-helper.h
2265 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2266 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2268 * src/hildon-button.h
2269 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2271 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2273 * src/hildon-button.c (hildon_button_init)
2274 (hildon_button_set_arrangement, hildon_button_construct_child):
2275 Pack the image and the labels inside the same GtkAlignment so
2276 gtk_button_set_alignment() can be used
2278 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2280 * src/hildon-button.h
2281 * src/hildon-button.c
2282 (hildon_button_init, hildon_button_set_image)
2283 (hildon_button_set_image_position)
2284 (hildon_button_construct_child): New functions to add an image to
2287 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2289 * src/hildon-date-button.c
2290 * src/hildon-picker-button.c
2291 * src/hildon-time-button.c
2292 * src/hildon-button.c:
2293 (hildon_button_class_init): "size-flags" renamed to "size"
2294 (hildon_button_set_title): Hide the title label if set to NULL.
2296 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2298 HildonButtonFlags split into HildonButtonArrangement (to set the
2299 button layout) and HildonSizeType (which can be used for any
2302 * src/hildon-button.h
2303 * src/hildon-button.c
2304 (hildon_button_class_init)
2305 (hildon_button_set_arrangement)
2306 (hildon_button_set_property): New "size-flags"
2307 property. "arrangement-flags" renamed to "arrangement".
2308 (hildon_button_new, hildon_button_new_with_text)
2309 (hildon_button_new_full): Constructors updated to reflect type changes.
2311 * src/hildon-helper.h
2312 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2313 to set the size of a widget.
2317 * src/hildon-button-helpers.c
2318 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2320 * src/hildon-date-button.c
2321 * src/hildon-date-button.h
2322 * src/hildon-picker-button.c
2323 * src/hildon-picker-button.h
2324 * src/hildon-time-button.c
2325 * src/hildon-time-button.h: Updated widgets to reflect
2326 HildonButton API changes.
2328 * examples/hildon-button-example.c
2329 * examples/hildon-date-button-example.c
2330 * examples/hildon-picker-button-example.c
2331 * examples/hildon-picker-button-multicolumn-example.c
2332 * examples/hildon-time-button-example.c
2333 * examples/hildon-touch-selector-entry-example.c
2334 * examples/hildon-touch-selector-example.c: Updated examples to
2335 reflect HildonButton API changes.
2337 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2339 * doc/hildon-docs.sgml:
2341 * examples/Makefile.am:
2342 * examples/hildon-touch-selector-entry-example.c:
2344 * src/hildon-touch-selector-entry.c:
2345 * src/hildon-touch-selector-entry.h:
2348 Moved HildonTouchSelectorEntry from sandbox. Added its
2349 documentation and examples.
2351 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2353 * src/hildon-touch-selector.h:
2354 * examples/hildon-picker-button-multicolumn-example.c:
2355 (hildon_touch_selector_append_text_column): Add a gboolean
2356 parameter to determine if text must be centered in the column.
2358 * src/hildon-date-selector.c: (hildon_date_selector_init):
2359 * src/hildon-time-selector.c: (hildon_time_selector_init):
2360 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2361 (create_touch_selector): Update widgets and example to reflect
2364 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2366 * src/hildon-touch-selector.c:
2367 (hildon_touch_selector_set_active_iter): Set also the cursor in
2370 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2372 * doc/hildon-docs.sgml
2375 * src/hildon-toggle-button.c
2376 * src/hildon-toggle-button.h
2377 * src/hildon.h: Removed HildonToggleButton widget, a derived
2378 class is not necessary for this.
2380 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2382 * src/hildon-pannable-area.c,
2383 (hildon_pannable_area_realize),
2384 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2387 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2389 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2390 "done" button the default widget for the dialog.
2392 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2394 * src/hildon-touch-selector.c:
2395 (hildon_touch_selector_class_init),
2396 (hildon_touch_selector_get_property),
2397 (_hildon_touch_selector_set_model),
2398 (_hildon_touch_selector_has_multiple_selection),
2399 (hildon_touch_selector_has_multiple_selection):
2400 Add a "has-multiple-selection" property with a virtual
2401 has_multiple_selection() method to allow derived classes to
2402 override the default value for it. See the method and property
2403 documentation for details.
2405 * src/hildon-touch-selector.h: Add the new API.
2407 * src/hildon-picker-dialog.c: (requires_done_button): Call
2408 hildon_touch_selector_has_multiple_selection() instead of
2409 determining the need for a button itself.
2411 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2413 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2414 (_hildon_touch_selector_set_model),
2415 (hildon_touch_selector_set_model): Move working code to
2416 _hildon_touch_selector_set_mode(). Call the class method instead.
2418 * src/hildon-touch-selector.h: Add (*set_model) to
2419 HildonTouchSelectorClass.
2421 Make hildon_touch_selector_set_model() a virtual method, so that
2422 derived classes can extend it and do fancy stuff with the model.
2424 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2426 * configure.ac: Set back the tarname in AC_INIT to hildon.
2428 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2432 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2433 instead of libesd (NB#86876). Volume handling is still an open issue.
2435 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2438 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2440 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2441 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2442 derived class to ease placement of an entry widget in
2443 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2444 end, where the selector columns are packed now.
2446 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2448 * src/hildon-picker-button.c: Removed the simple _text() API.
2449 * src/hildon-picker-button.h: Likewise.
2451 * src/hildon-touch-selector.h:
2452 * src/hildon-touch-selector.c:
2453 (hildon_touch_selector_new_text),
2454 (hildon_touch_selector_append_text),
2455 (hildon_touch_selector_prepend_text),
2456 (hildon_touch_selector_insert_text):
2458 Moved the simple _text() API from HildonPickerButton to
2459 HildonTouchPicker, to provide better escalability and not to tie
2460 that API to HildonPickerButton.
2462 * examples/hildon-picker-button-example.c: (main): Example updated.
2464 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2466 * src/hildon-button.c: Updated documentation.
2468 * examples/hildon-button-example.c: Add the posibility to create
2469 the buttons using horizontal layout for title and value.
2471 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2473 * src/hildon-app-menu-private.h
2474 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2475 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2476 GtkSizeGroup for the filters, use the 'homogeneous' property of
2479 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2481 * examples/hildon-button-example.c: Updated example.
2483 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2485 * doc/hildon-docs.sgml:
2488 Update documentation.
2490 * examples/Makefile.am: Update renamed examples.
2492 * examples/hildon-picker-button-multicolumn-example.c:
2493 (create_touch_selector), (main): Update after the rename.
2495 * examples/hildon-touch-picker-example.c: Removed.
2496 * examples/hildon-touch-selector-example.c: (value_changed),
2497 (create_selector), (get_visible_content), (main): Renamed from
2498 hildon-touch-picker-example.c
2500 * src/Makefile.am: Updated renamed files.
2502 * src/hildon-date-button.c: (hildon_date_button_init),
2503 (hildon_date_button_get_date), (hildon_date_button_set_date):
2504 * src/hildon-date-selector.c: (hildon_date_selector_init),
2505 (_custom_print_func), (_update_day_model),
2506 (_manage_selector_change_cb),
2507 (hildon_date_selector_select_current_date),
2508 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2509 * src/hildon-date-selector.h:
2510 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2511 (hildon_picker_button_set_property),
2512 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2513 (hildon_picker_button_init), (hildon_picker_button_new_text),
2514 (hildon_picker_button_append_text),
2515 (hildon_picker_button_prepend_text),
2516 (hildon_picker_button_insert_text),
2517 (hildon_picker_button_set_selector),
2518 (hildon_picker_button_get_selector):
2519 * src/hildon-picker-button.h:
2520 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2521 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2522 (_update_title_on_selector_changed_cb), (requires_done_button),
2523 (_hildon_picker_dialog_set_selector),
2524 (hildon_picker_dialog_set_selector),
2525 (hildon_picker_dialog_get_selector):
2526 * src/hildon-picker-dialog.h:
2527 * src/hildon-time-button.c: (hildon_time_button_init),
2528 (hildon_time_button_get_time), (hildon_time_button_set_time):
2529 * src/hildon-time-selector.c: (hildon_time_selector_init),
2530 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2531 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2532 * src/hildon-time-selector.h:
2535 Massive code updates after the rename.
2537 * src/hildon-touch-picker.c: Removed.
2538 * src/hildon-touch-picker.h: Removed.
2540 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2541 (hildon_touch_selector_init), (hildon_touch_selector_map),
2542 (hildon_touch_selector_remove), (_default_print_func),
2543 (_selection_changed_cb), (_create_new_column),
2544 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2545 (hildon_touch_selector_append_text_column),
2546 (hildon_touch_selector_remove_column),
2547 (hildon_touch_selector_set_column_attributes),
2548 (hildon_touch_selector_insert_column),
2549 (hildon_touch_selector_get_num_columns),
2550 (hildon_touch_selector_get_column_selection_mode),
2551 (hildon_touch_selector_set_column_selection_mode),
2552 (hildon_touch_selector_set_print_func),
2553 (hildon_touch_selector_get_print_func),
2554 (hildon_touch_selector_get_active_iter),
2555 (hildon_touch_selector_set_active_iter),
2556 (hildon_touch_selector_get_selected_rows),
2557 (hildon_touch_selector_get_model),
2558 (hildon_touch_selector_set_model),
2559 (hildon_touch_selector_get_current_text),
2560 (_hildon_touch_selector_center_on_selected_items):
2561 * src/hildon-touch-selector.h: Renamed from
2562 hildon-touch-picker.[ch]
2564 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2565 references, code examples, and related documentation.
2567 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2569 * doc/hildon-docs.sgml
2572 * src/hildon-toggle-button.c
2573 * src/hildon-toggle-button.h
2574 * src/hildon.h: New HildonToggleButton widget.
2576 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2578 * src/hildon-button.c: Add API documentation.
2579 (hildon_button_set_size_groups): Check input parameters
2581 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2583 * src/hildon-pannable-area.c
2584 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2585 effect after reaching the movement thredshold. This way we start
2586 using the distance after passing the thredshold.
2588 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2590 * src/hildon-button.c: (hildon_button_set_property): Use the
2591 appropriate g_value_get_flags() method.
2593 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2595 * doc/hildon-docs.sgml:
2598 Add the touch pickers, picker dialogs, and picker button widgets
2599 to the documentation.
2601 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2603 * src/hildon-button.c: (hildon_button_set_property),
2604 (hildon_button_class_init): Make "arrangement-flags" a proper
2605 G_TYPE_FLAGS derived property.
2607 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2609 * examples/Makefile.am: Add below examples.
2610 * examples/hildon-date-button-example.c:
2611 * examples/hildon-picker-button-example.c:
2612 * examples/hildon-picker-button-multicolumn-example.c:
2613 * examples/hildon-time-button-example.c:
2614 * examples/hildon-touch-picker-example.c:
2616 Add examples for the recently added touch pickers,
2617 picker dialogs, and picker button widgets.
2619 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2621 * src/hildon-button.c: Add some API documentation
2623 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2625 * src/hildon-button.h
2626 * src/hildon-button.c
2628 (hildon_button_new_with_text): New constructor to create a button
2629 with no text at all.
2630 (hildon_button_init, hildon_button_set_arrangement)
2631 (hildon_button_set_title, hildon_button_set_value)
2632 (hildon_button_set_text)
2633 (hildon_button_construct_child): Hide the value when it's not used
2634 so the rest of the text is properly aligned.
2635 Allow creating buttons with arbitrary widgets inside (not just
2636 title/value labels).
2638 * examples/hildon-button-example.c (vertical_buttons_window)
2639 (horizontal_buttons_window): Update example to use new API.
2641 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2643 * src/Makefile.am: Added HildonTimeButton.
2644 * src/hildon-time-button.c: Added missing LGPL header.
2645 * src/hildon-time-button.h: Added missing LGPL header.
2646 * src/hildon.h: Add hildon-time-button.h
2648 Copied HildonTimeButton from sandbox to trunk. Future work on this
2649 widget must take place in trunk.
2651 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2653 * src/Makefile.am: Added HildonDateButton.
2654 * src/hildon-date-button.c: Update includes.
2655 * src/hildon.h: Add hildon-date-button.h
2657 Copied HildonDateButton from sandbox to trunk. Future work on this
2658 widget must take place in trunk.
2660 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2662 * src/Makefile.am: Added HildonPickerButton.
2663 * src/hildon-picker-button.h: Update includes.
2664 * src/hildon.h: Add hildon-picker-button.h
2666 Copied HildonPickerButton from sandbox to trunk. Future work on
2667 this widget must take place in trunk.
2669 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2671 * src/Makefile.am: Added HildonPickerDialog.
2672 * src/hildon-picker-dialog.c: Update includes.
2673 * src/hildon.h: Add hildon-picker-dialog.h
2675 Copied HildonPickerDialog from sandbox to trunk. Future work
2676 on this widget must take place in trunk.
2678 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2680 * src/Makefile.am: Added HildonTimeSelector.
2681 * src/hildon.h: Add hildon-time-selector.h
2683 Copied HildonTimeSelector widget from sandbox to trunk. Future
2684 work on this widget must happen in trunk.
2686 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2688 * src/Makefile.am: Added HildonDateSelector.
2689 * src/hildon.h: Add hildon-date-selector.h
2691 Copied HildonDateSelector widget from sandbox to trunk. Future
2692 work on this widget must happen in trunk.
2694 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2696 * src/Makefile.am: Added HildonTouchPicker.
2697 * src/hildon-touch-picker.c: Update includes.
2698 * src/hildon.h: Add hildon-touch-picker.h
2700 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2701 on this widget must happen in trunk.
2703 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2705 * src/hildon-pannable-area.c:
2706 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2708 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2710 * examples/hildon-app-menu-example.c (main): Let the window
2713 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2715 * src/hildon-pannable-area.c
2716 (hildon_pannable_area_class_init): Set the min value of the
2717 overshoot properties to zero, which points out that not
2718 overshooting allowed.
2720 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2722 Modified the procedure to get the widget at a point inside the
2723 pannable area when using the movement type signals. Now the user
2724 has to call a function to get the child, that way we just
2725 calculate the child in case the user really want to use it and not
2728 * src/hildon-marshalers.list: Modified the marshallers, now we do
2729 not have the widget as a parameter.
2731 * src/hildon-pannable-area.c
2732 (hildon_pannable_area_motion_notify_cb),
2733 (hildon_pannable_area_class_init),
2734 (hildon_pannable_get_child_widget_at): Removed the widget
2735 parameter from the signal callback. We have also refactored the
2736 emission of the signals.
2738 * src/hildon-pannable-area.h: Added a new method to the API to
2739 calculate a widget at a point inside the pannable area,
2740 hildon_pannable_get_child_widget_at.
2742 * examples/hildon-pannable-area-example-4.c
2743 (horizontal_movement): Modified the example to use the new API,
2744 added condition to control which widget is under the event. This
2745 way we can avoid scrolling laterally over other widgets.
2747 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2749 * src/hildon-pannable-area.c
2750 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2751 modes, we stop getting the pointer events due to returning the
2752 callback without properly calling the get pointer again. Fixed
2753 also an error using the hscroll and vscroll.
2755 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2757 * src/hildon-app-menu-private.h
2758 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2759 (hildon_app_menu_button_release, hildon_app_menu_init)
2760 (hildon_app_menu_class_init): Don't hide the menu on button
2761 release if the user didn't press outside first.
2763 * src/hildon-window.h
2764 * src/hildon-window.c (hildon_window_toggle_menu)
2765 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2766 hildon_window_toggle_menu a virtual function for the stackable
2767 window to override it.
2769 * src/hildon-stackable-window.h
2770 * src/hildon-stackable-window-private.h
2771 * src/hildon-stackable-window.c
2772 (hildon_stackable_window_realize)
2773 (hildon_stackable_window_finalize)
2774 (hildon_stackable_window_class_init)
2775 (hildon_stackable_window_init)
2776 (hildon_stackable_window_set_main_menu): New function to set the
2777 app menu of a HildonStackableWindow.
2779 * examples/hildon-app-menu-example.c: Remove the button to show
2780 the app menu, now it'll be shown when clicking on the title bar
2783 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2785 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2786 set the widget name if the arrangement flags do not specify
2789 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2791 * src/hildon-button.c: (hildon_button_set_property),
2792 (hildon_button_class_init), (hildon_button_new_full),
2793 (hildon_button_set_arrangement): Added "arrangement-flags"
2796 Make the HildonButtonFlags a construction-only property, to allow
2797 subclasses to set them properly.
2799 2008-07-21 Tim Janik <timj@imendio.com>
2801 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2802 insertion position after backspace, so additional digits are appended,
2805 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2807 * src/hildon-pannable-area.c,
2808 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2809 TODO list, it was complete and removed the g_debug and g_print
2812 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2814 Added the movement modes to the hildon-pannable-area, with this
2815 modes the developers can control in which directions the widget
2816 can scroll. They can also connect to signals in order to do
2817 something when that happens, allowing applications scroll. There
2818 is an example uploaded showing how to use it.
2820 * examples/Makefile.am:
2821 * examples/hildon-pannable-area-example-4.c: Added this example of
2822 an application using the modes.
2824 * src/hildon-marshalers.list: Added a new marshaller for the new
2827 * src/hildon-pannable-area.h: Added new enumerations and flags in
2828 order to control the movement modes and the new signals to warn
2829 about the movements in the area.
2831 * src/hildon-pannable-area.c:
2832 (hildon_pannable_axis_scroll),
2833 (hildon_pannable_area_scroll),
2834 (hildon_pannable_area_motion_notify_cb),
2835 (hildon_pannable_area_get_property),
2836 (hildon_pannable_area_set_property),
2837 (hildon_pannable_area_map),
2838 (hildon_pannable_area_class_init),
2839 (hildon_pannable_area_init),
2840 (hildon_pannable_area_jump_to): Added the modes to control the
2841 movement in the widget. We have added properties to control it,
2842 signals to warn about the movements and refactored some code.
2844 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2846 Changes required in order to allow vfast_factor set to zero to
2849 * src/hildon-pannable-area.c:
2850 (hildon_pannable_area_button_press_cb): Changed the condition, it
2851 is required for not allowing click when vfast_factor is zero.
2852 (hildon_pannable_area_timeout): Initialized velocity variables
2853 when we stop moving, it was less than 1 but not zero and we need
2854 to check zero in some situations.
2855 (hildon_pannable_area_class_init): Changed the default value of
2856 the speed factor, now the button_press is just sent in case the
2857 speed is 2 per cent of the max speed.
2858 (hildon_pannable_area_init): Initialization with 0.
2860 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2862 * src/hildon-pannable-area.c,
2863 (hildon_pannable_area_get_topmost): replaced
2864 gdk_window_get_children with gdk_window_peek_children, this way we
2865 do not have to free the list because it is not a copy.
2867 (hildon_pannable_axis_scroll),
2868 (hildon_pannable_area_scroll),
2869 (hildon_pannable_area_timeout),
2870 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2871 two parameters that were only used inside the
2872 hildon_pannable_area_scroll function.
2874 * examples/hildon-pannable-area-example.c,
2875 (get_sawtooth_label): Fixed small memory leak.
2877 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2879 More checks for the case where the overshoot is bigger than the
2882 * src/hildon-pannable-area.c:
2883 (hildon_pannable_draw_vscroll),
2884 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2885 to draw the slider of the scrollbar under the other scrollbar.
2886 (hildon_pannable_area_expose_event): added new checks to control
2887 the drawing of the overshooting area rectangle, in case it is too
2888 big for the area of the widget.
2889 (hildon_pannable_area_size_allocate): add more checks to avoid
2890 setting a position to the child widget outside the area.
2892 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2894 * src/hildon-pannable-area.c
2895 (hildon_pannable_area_size_allocate): Added conditions to control
2896 when overshooting is bigger than the allocated space for the
2897 children, this avoids negative allocations.
2899 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2901 * doc/hildon-docs.sgml
2903 * examples/Makefile.am
2904 * examples/hildon-button-example.c
2906 * src/hildon-button.c
2907 * src/hildon-button.h
2908 * src/hildon.h: Initial version of the new HildonButton widget,
2911 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2913 * src/hildon-pannable-area.c:
2914 (hildon_pannable_area_button_press_cb),
2915 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2916 (hildon_pannable_area_motion_notify_cb),
2917 (hildon_pannable_area_button_release_cb),
2918 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2919 (hildon_pannable_area_jump_to_child):
2921 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2923 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2925 * examples/Makefile.am
2926 * examples/hildon-pannable-area-touch-grid-example.c
2927 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2928 the Hildon Touch List and Hildon Touch Grid using the
2929 HildonPannableArea widget.
2931 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2933 * src/hildon-pannable-area.c,
2934 (hildon_pannable_area_button_press_cb),
2935 (hildon_pannable_area_refresh),
2936 (hildon_pannable_area_scroll),
2937 (hildon_pannable_area_motion_notify_cb),
2938 (hildon_pannable_area_button_release_cb),
2939 (hildon_pannable_area_expose_event),
2940 (hildon_pannable_area_add),
2941 (hildon_pannable_area_remove),
2942 (hildon_pannable_area_realize),
2943 (hildon_pannable_area_size_allocate),
2944 (hildon_pannable_area_class_init),
2945 (hildon_pannable_area_init),
2946 (hildon_pannable_area_scroll_to_child),
2947 (hildon_pannable_area_jump_to_child): Fixed the problem of
2948 removing the child from the GtkBin, we have rearranged the widget
2949 hierarchy, now there is no GtkAlignment which was not doing
2950 anything interesting but breaking some of the assumptions of
2951 GtkContainer. Now developers if they want to add a GtkAlignment
2952 they could, but it is not inside the area.
2954 We had to review the whole allocation/expose process, now it is
2955 improved and we save at least three signals which would be saving
2956 some time when rendering the widget. The allocation of the
2957 scrollbars is now made in the allocate method as usual.
2959 We have also added some conditions in order to control when there
2960 is no child of the pannable area. Maybe we will need more work
2963 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2965 * src/hildon-pannable-area.c,
2966 (hildon_pannable_area_dispose): Released the fade-out timeout when
2967 disposing the widget.
2969 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2971 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2972 zero, we are going to use that property in order to deactivate the
2974 (hildon_pannable_axis_scroll),
2975 (hildon_pannable_area_size_allocate): Added conditions to control
2976 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2977 call, now it is called in all situations and we can remove calls
2978 in the allocate method.
2979 (hildon_pannable_area_map): Control the situation when
2980 overshoot_max is zero, we do not need the timeout.
2981 (hildon_pannable_area_class_init): Added documentation in order to
2982 point out that setting zero to overshoot_max means deactivate
2985 NOTE: removed trailing whitespaces from my previous comments of
2988 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2990 * src/hildon-pannable-area.c
2991 (hildon_pannable_area_get_property),
2992 (hildon_pannable_area_set_property),
2993 (hildon_pannable_area_map),
2994 (hildon_pannable_area_class_init),
2995 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2996 to cause the widget give a hint about its panning abilities upon
2999 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3001 * src/hildon-pannable-area.c: Several documentation improvements.
3003 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3005 * src/hildon-program.c
3006 * src/hildon-stackable-window.c: Update documentation.
3008 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3010 * src/hildon-stackable-window.c (get_previous_window_if_last):
3011 Renamed get_last_window()
3012 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3013 (hildon_stackable_window_unset_program):
3015 (get_previous_window_if_last):
3016 Detect if the window hasn't been added to a HildonProgram.
3018 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3020 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3022 * src/hildon-pannable-area.c
3023 (hildon_pannable_area_button_press_cb),
3024 (hildon_pannable_axis_scroll),
3025 (hildon_pannable_area_scroll),
3026 (hildon_pannable_area_timeout),
3027 (hildon_pannable_calculate_vel_factor),
3028 (hildon_pannable_area_get_property),
3029 (hildon_pannable_area_set_property),
3030 (hildon_pannable_area_class_init),
3031 (hildon_pannable_area_init),
3032 (hildon_pannable_area_scroll_to),
3033 (hildon_pannable_area_jump_to),
3034 (hildon_pannable_area_scroll_to_child),
3035 (hildon_pannable_area_jump_to_child):
3036 * src/hildon-pannable-area.h: Added the new API functions:
3037 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3038 hildon_pannable_area_scroll_to_child,
3039 hildon_pannable_area_jump_to_child
3042 * examples/Makefile.am
3043 * examples/hildon-pannable-area-example-2.c
3044 * examples/hildon-pannable-area-example-3.c: Added these two new
3045 examples in order to test and show how the new APIs work.
3047 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3049 * examples/hildon-stackable-window-example.c (new_window):
3050 * src/Makefile.am (noinst_HEADERS):
3051 * src/hildon-program.c (hildon_program_go_to_root_window):
3052 * src/hildon-program.h:
3053 * src/hildon-stackable-window-private.h:
3054 * src/hildon-stackable-window.c:
3055 * src/hildon-stackable-window.h:
3056 Create hildon-stackable-window-private.h
3057 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3059 * examples/hildon-app-menu-example.c (create_menu):
3060 * examples/hildon-hvolumebar-insensitive-example.c (main):
3061 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3062 * examples/hildon-toolbar-seekbar-example.c (main):
3063 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3064 * src/hildon-banner.c (hildon_banner_set_property):
3065 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3066 Fix compilation warnings
3068 * src/hildon-window.c:
3071 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3073 * src/hildon-stackable-window.c
3074 (hildon_stackable_window_unset_program):
3075 Calculate correctly whether to show the previous window if the
3076 last one is removed from the stack.
3077 (hildon_stackable_window_go_to_root_window):
3078 Send delete events starting from the topmost window.
3079 Stop if one of the windows is not destroyed.
3081 (hildon_stackable_window_delete_event)
3082 (hildon_stackable_window_class_init):
3083 Ignore the delete event if the window is not the topmost one.
3085 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3087 * src/hildon-pannable-area.c
3088 (hildon_pannable_area_expose_event): Fixed a problem when
3089 selecting the background color of the scrollbars.
3091 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3093 * examples/hildon-stackable-window-example.c
3094 * src/hildon-stackable-window.c
3095 * src/hildon-stackable-window.h
3096 hildon_stackable_window_go_home() renamed to
3097 hildon_stackable_window_go_to_root_window()
3098 Send delete events to windows rather than closing them with
3099 gtk_widget_destroy()
3101 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3103 * src/hildon-pannable-area.c
3104 (hildon_pannable_area_button_release_cb): Fix overshooting in
3107 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3109 * src/hildon-pannable-area.c
3110 (hildon_pannable_area_init): Initially show the scroll indicators.
3111 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3113 Add initial effect showing the widget is pannable.
3115 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3117 * src/hildon-pannable-area.c
3118 (hildon_pannable_area_class_init)
3119 (hildon_pannable_area_set_property)
3120 (hildon_pannable_area_get_property)
3121 (hildon_pannable_area_button_press_cb):
3122 New 'velocity_fast_factor' property to decide which velocity is
3125 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3127 * src/hildon-pannable-area.c
3128 (hildon_pannable_draw_hscroll)
3129 (hildon_pannable_draw_vscroll):
3130 Use float variables to calculate the size of the scrollbars to
3131 avoid error propagation and resizing during scrolling.
3133 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3135 * src/hildon-pannable-area.c
3136 (hildon_pannable_draw_vscroll)
3137 (hildon_pannable_draw_hscroll):
3138 Define a minimum size for the scroll bars
3140 * src/hildon-stackable-window.c
3141 (hildon_stackable_window_go_home): Fix compilation warning
3142 (get_last_window): Minor optimizations
3143 (hildon_stackable_window_class_init): Fix initialization of
3146 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3148 * src/hildon-stackable-window.c: Fixed typos in doc
3150 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3152 * src/hildon-pannable-area.c
3153 (hildon_pannable_area_scroll):
3154 Calculate here whether we need to scroll instead of using the booleans
3155 that tell us whether to /draw/ the scrolling bars.
3157 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3159 * src/hildon-app-menu.h
3161 * src/hildon-app-menu.c
3162 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3163 multiple filter groups related code and API. Now we support only
3165 * examples/hildon-app-menu-example.c:
3167 Update to reflect API changes.
3169 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3171 * src/hildon-stackable-window.c
3172 (hildon_stackable_window_class_init):
3173 Add hildon_stackable_window_realize.
3174 (hildon_stackable_window_realize):
3175 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3176 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3177 to apply theming and behavior specific to HildonStackableWindow
3180 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3182 * src/hildon-note.c (hildon_note_button_release):
3183 Close information notes also when tapping on them
3185 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3187 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3188 ELASTICITY, refactor and review, fix some issues with drawing
3191 * src/hildon-pannable-area.c:
3192 (hildon_pannable_area_button_press_cb): removed the conditions to
3193 avoid clicks when overshooting. It is not required
3195 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3196 define. Refatored and reviewed the code, now we do not need to
3197 manage velocity in motion_notify.
3199 (hildon_pannable_area_motion_notify_cb): We have moved the code
3200 that controls the area_scroll to the axis_scroll function and get
3201 rid of duplicated code.
3203 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3205 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3207 (hildon_pannable_draw_vscroll),
3208 (hildon_pannable_draw_hscroll): Fixed the problems with the
3209 scrollbar drawing, now we do not use two surfaces, it is easier
3210 and saves resources.
3212 (hildon_pannable_area_get_property): Style modification.
3214 (hildon_pannable_area_class_init): Changed some default values.
3216 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3218 * src/hildon-stackable-window.c: Fix some typos in the
3221 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3223 * src/hildon-dialog.c:
3224 Change indentation style
3227 (hildon_note_button_release):
3228 Use root coordinates to check if the release event happened
3231 * src/hildon-app-menu.c
3232 (hildon_app_menu_button_release):
3233 Remove unnecessary check
3235 * examples/hildon-app-menu-example.c
3237 Add cast to fix warning
3239 * src/hildon-app-menu.c
3240 (hildon_app_menu_class_init):
3241 New inner-border style property.
3242 Set all default spacings to 16
3243 (hildon_app_menu_init):
3244 Use vertical-spacing to set the space between filter buttons and
3245 regular menu buttons.
3246 Set the default container border using the inner-border value.
3248 * examples/hildon-app-menu-example.c
3250 Don't set the menu border explicitly, now we have the inner-border
3251 style property for that.
3253 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3255 * src/hildon-app-menu.c (hildon_app_menu_init):
3256 Make the window modal
3258 * src/hildon-note.c (hildon_note_map)
3259 * src/hildon-app-menu.c (hildon_app_menu_map):
3260 Destroy the grab window if we're unable to grab the pointer
3262 * src/hildon-app-menu-private.h
3263 * src/hildon-app-menu.c
3264 (hildon_app_menu_init, hildon_app_menu_finalize)
3265 (hildon_app_menu_map, hildon_app_menu_unmap)
3266 (hildon_app_menu_button_release)
3267 (grab_transfer_window_get):
3268 Bring back the grab window
3269 (hildon_app_menu_realize):
3270 Decorate the window, set WM hint for Matchbox
3272 * src/hildon-note.c (hildon_note_realize):
3273 * src/hildon-banner.c (hildon_banner_realize):
3274 Add WM hints for Matchbox
3276 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3278 * src/hildon-app-menu-private.h
3279 * src/hildon-app-menu.c
3280 (hildon_app_menu_init, hildon_app_menu_finalize)
3281 (hildon_app_menu_map, hildon_app_menu_unmap)
3282 (hildon_app_menu_button_release):
3283 Remove the grab window, it's not needed anymore
3285 * src/hildon-program.c
3286 Fixed typo in documentation
3288 * src/hildon-app-menu.h
3289 * src/hildon-app-menu.c
3290 * examples/hildon-app-menu-example.c
3291 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3293 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3296 Added new transfer_window and close_if_pressed_outside private
3298 (hildon_note_rebuild):
3299 Don't add a cancel button to the information note. It will be
3300 closed when tapping outside
3301 Remove the comment about the OK button in the documentation
3302 (hildon_note_realize):
3303 Set the notification type hint
3304 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3305 Grab/ungrab pointer and keyboard if the note has to be closed when
3307 (hildon_note_button_release):
3308 Close the note when tapping outside (if applicable)
3310 * src/hildon-app-menu.c
3311 Grab/ungrab pointer and keyboard on map/unmap
3312 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3313 Close the menu on button release, not button press
3315 * src/hildon-banner.c
3316 (hildon_banner_set_property)
3317 (hildon_banner_check_position):
3318 Make the banner use the full width of the screen
3319 (hildon_banner_show_information)
3320 (hildon_banner_show_information_with_markup):
3321 Don't display an icon by default
3323 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3325 Added fading scrollbars and adapted all the overshooting code to
3326 horizontal scrolling. We have also fixed bugs with overshooting
3327 and current fading implementation.
3329 * src/hildon-pannable-area.c
3330 (hildon_pannable_area_scroll_indicator_fade): Time out function
3331 used to change the transparency of the scrollbars.
3333 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3334 control and fixed a problem with fading, we now remove the fade
3335 timeout before adding a new one.
3337 (hildon_pannable_axis_scroll):
3338 (hildon_pannable_area_scroll):
3339 (hildon_pannable_area_timeout): Added this functions so we can use
3340 the scroll code both for vertical and horizontal.
3342 (hildon_pannable_area_motion_notify_cb):
3343 (hildon_pannable_area_button_release_cb): Added the horizontal
3344 scrolling control, fixed a problem with the overshooting timeout.
3346 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3347 painting of the scrolls.
3349 (hildon_pannable_draw_vscroll):
3350 (hildon_pannable_draw_hscroll):
3351 (hildon_pannable_area_expose_event):
3352 Draw both scrollbars and rectangles in the overshooting area.
3354 (hildon_pannable_area_get_property):
3355 (hildon_pannable_area_set_property):
3356 Modified the overshoot property to overshoot_max
3358 (hildon_pannable_area_map):
3359 Replaced the comments symbols.
3361 (hildon_pannable_area_size_allocate):
3362 (hildon_pannable_area_class_init):
3363 (hildon_pannable_area_init): Added horizontal scroll, fading
3364 effect properties, fixed a problem when overshooting in the bottom
3367 * examples/hildon-pannable-area-example.c:
3368 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3369 looks better in the example.
3371 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3373 * src/hildon-window.c
3374 * src/hildon-window.h
3375 (hildon_window_class_init)
3376 (hildon_window_unset_program)
3377 (hildon_window_unset_program_real):
3378 Make unset_program a virtual function
3380 * src/hildon-stackable-window.c
3381 * src/hildon-stackable-window.h
3382 Added hildon_stackable_window_go_home()
3384 * examples/Makefile.am
3385 * examples/hildon-stackable-window-example.c
3386 HildonStackableWindow example
3388 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3390 * hildon-pannable-area.c: Added the overshoot property and removed
3391 the OVERSHOOT define. Fixed an indent style error.
3392 (hildon_pannable_area_motion_notify_cb):
3393 (hildon_pannable_area_get_property):
3394 (hildon_pannable_area_set_property): Add overshoot property.
3396 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3399 (hildon_pannable_area_class_init): Installed the new property.
3401 * hildon-pannable-area-example.c: Added a sawtooth function, this
3402 way it is easier to check the movement in the pannable.
3403 (get_sawtooth_label): Added this function.
3404 (main): Now we get the labels from the new get_sawtooth_label
3407 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3409 * src/hildon-app-menu.h
3410 * src/hildon-app-menu.c
3411 Renamed API variables for consistency
3413 (hildon_app_menu_popup): Use also the default window size to
3414 decide where to place the menu
3416 (hildon_app_menu_init, hildon_app_menu_class_init): New
3417 external-border style property
3419 2008-05-26 Michael Natterer <mitch@imendio.com>
3421 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3422 widget_class->tap_and_hold_setup signal slot doesn't exist any
3423 longer, stop overriding it.
3425 (hildon_time_editor_init): g_signal_connect() to the
3426 tap-and-hold-setup signal instead.
3428 (hildon_time_editor_entry_keypress): add cast to fix warning.
3430 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3432 * doc/hildon-docs.sgml
3434 * examples/Makefile.am
3435 * examples/hildon-app-menu-example.c
3437 * src/hildon-app-menu-private.h
3438 * src/hildon-app-menu.c
3439 * src/hildon-app-menu.h
3441 New HildonAppMenu widget
3443 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3445 Rearranged the inheritance of the pannable area, now it inherits
3446 from GtkBin. This will allow us to control the event_window and
3447 the allocation process of the widget, required for some effects.
3449 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3450 GtkBin structures. * src/hildon-pannable-area.c: Added the
3451 event_window variable.
3452 (hildon_pannable_area_button_press_cb):
3453 (hildon_pannable_area_button_release_cb):
3454 (hildon_pannable_area_motion_notify_cb):
3455 Changed the signature of the method, now we override the event
3456 callback instead of connecting to the signal.
3458 (hildon_pannable_area_realize):
3459 (hildon_pannable_area_unrealize):
3460 (hildon_pannable_area_map):
3461 (hildon_pannable_area_unmap):
3462 (hildon_pannable_area_size_allocate):
3463 Added functions to control the widget construction. We add a
3464 INPUT_ONLY window and we put it over the widgets inside the
3465 container, this event_window handles the events.
3467 (hildon_pannable_area_class_init):
3468 Replaced the signal connections with overrides of the event
3471 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3473 Bouncing effect added when touching the borders, you can change
3474 the elasticity of the border changing the ELASTICITY define.
3476 * src/hildon-pannable-area.c: Added ELASTICITY define.
3477 (hildon_pannable_area_timeout): Added inverse velocity when
3478 touching the border of the child widget, that causes a bounce.
3480 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3482 Improved performance, we now do not go to the X server in order to
3483 get the list of window children. Apparently the effect is the
3484 same, we have to be careful and check if this breaks something in
3487 * src/hildon-pannable-area.c:
3488 (get_ordered_children): Removed this function.
3489 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3490 the children windows function with gdk_window_get_children.
3492 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3494 * src/hildon-pannable-area.c:
3495 (hildon_pannable_area_dispose): Fixed a crash when closing the
3496 window and kinetics is activated.
3498 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3500 * src/hildon-pannable-area.h
3501 * src/hildon-pannable-area.c
3502 Changed indentation style to meet the one used in Hildon
3504 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3506 Reviewed the interaction of the AUTO mode, now we use the time
3507 attribute of the events and calculate the velocity in the motion,
3508 doing a gimp like calculation. The velocity is calculated in each
3509 motion event using the last velocity and the current one, the
3510 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3512 * src/hildon-pannable-area.c: Replaced the time based algorithm
3514 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3515 timeout for the AUTO mode when we are still moving the cursor. We
3516 added also the velocity calculation in this function.
3517 (hildon_pannable_area_button_release_cb): launch the timeout in
3518 case we are in AUTO mode. There are still some constants here that
3519 come from the old implementation that should be reviewed and
3522 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3524 * doc/hildon-docs.sgml
3527 * src/hildon-stackable-window.c
3528 * src/hildon-stackable-window.h
3530 New HildonStackableWindow widget
3532 * examples/hildon-dialog-example.c
3533 * examples/hildon-pannable-area-example.c
3536 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3538 * src/hildon-dialog.c
3539 (hildon_dialog_new_with_buttons): New constructor.
3541 * examples/hildon-dialog-example.c
3542 (main): Update the example to use the new
3543 hildon_dialog_new_with_buttons().
3545 * examples/hildon-pannable-area-example.c
3546 (main): Update example.
3548 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3550 * doc/hildon-docs.sgml
3552 Added HildonPannableArea to the documentation.
3554 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3556 * doc/visual_index.xml
3557 Fix reference to HildonLoginDialog in documentation
3559 * doc/hildon-docs.sgml
3561 * examples/Makefile.am
3562 * examples/hildon-dialog-example.c
3564 * src/hildon-dialog.c
3565 * src/hildon-dialog.h
3567 New HildonDialog widget.
3569 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3571 * src/hildon-pannable-area.c
3572 Merge latest changes (r4318, r4342) from libmokoui trunk
3574 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3576 * examples/Makefile.am
3577 * examples/hildon-pannable-area-example.c
3579 * src/hildon-pannable-area.c
3580 * src/hildon-pannable-area.h
3582 New HildonPannableArea widget.
3584 2008-04-15 18:05:19 <timj@imendio.com>
3586 * src/hildon-banner.c: revert the recent change, that introduced
3587 gtk_window_present() calls. this reopens:
3588 Bug 78481 - [freetest] information banners are hidden under browser menu
3589 But resolves another variant of:
3590 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3592 2008-04-15 13:21:13 <timj@imendio.com>
3594 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3595 recreated its layout, spotted by Kris. this fixes all remaining
3596 artefacts and stability issues with the banner code. in particular:
3597 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3599 2008-04-14 16:52:59 <timj@imendio.com>
3601 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3602 operating on unrealized widgets, fixes:
3603 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3605 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3607 2008-04-09 Kristian Rietveld <kris@imendio.com>
3609 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3610 makes banner disappear.
3611 Fixes: NB#79182: info banner flickering with certain message lengts.
3613 * src/hildon-banner.c (hildon_banner_constructor),
3614 (hildon_banner_init), (hildon_banner_set_text),
3615 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3616 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3617 FALSE, reset size requests of label and banner,
3618 (force_to_wrap_truncated): when the text is too wide, always enforce
3619 the maximum possible width instead of recalculating it from the
3620 layout; enforce the maximum banner height of 3 lines,
3621 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3622 nicer wrapping and no truncated chars if space gets tight.
3624 * src/hildon-banner-private.h: add has_been_wrapped and
3625 has_been_truncated fields.
3627 2008-04-07 Sven Herzberg <sven@imendio.com>
3629 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3630 local values in hildon_date_editor_size_allocate
3632 * src/hildon-date-editor.c: moved the real allocation code into the
3635 2008-04-07 Sven Herzberg <sven@imendio.com>
3637 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3638 local values in hildon_date_editor_size_allocate
3640 * src/hildon-date-editor.c: merged the two if() branches together
3642 2008-04-07 Sven Herzberg <sven@imendio.com>
3644 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3645 local values in hildon_date_editor_size_allocate
3647 * src/hildon-date-editor.c: changed the arguments of the if()
3650 2008-04-07 Sven Herzberg <sven@imendio.com>
3652 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3653 local values in hildon_date_editor_size_allocate
3655 * src/hildon-date-editor.c: split the calculation of the allocation
3656 from the real allocation
3658 2008-03-27 Michael Natterer <mitch@imendio.com>
3660 Fixes: NB#81696: The passcode is not overwritten even after
3663 * src/hildon-code-dialog.c
3664 (hildon_code_dialog_button_clicked)
3665 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3666 because that doesn't overwrite selected text. Instead, emit the
3667 "commit" signal on the entry's im_context so the entry's normal
3668 insert logic is triggered. Set the cursor to the end of the entry
3669 after each insert operation so that we *only* insert in the middle
3670 of the text if something was selected.
3672 2008-03-27 Michael Natterer <mitch@imendio.com>
3674 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3675 selector cannot be opened
3677 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3678 when the popup color selector is created. Please connect to this
3679 signal in order to set the dialog's help ID.
3681 2008-03-25 Sven Herzberg <sven@imendio.com>
3683 Fixes: MB#1212: Hide info banners (infoprints) on click
3685 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3686 extracted the close event simulation into an extra function
3687 (hildon_banner_button_press_event): simulate a close event and destroy
3688 the widget if the event wasn't handled
3689 (hildon_banner_class_init): added the button_press_event handler
3690 (hildon_banner_init): added button-press events to the widget
3692 2008-03-25 Sven Herzberg <sven@imendio.com>
3694 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3695 Patch from: Mohammad Anwari <mdamt@maemo.org>
3697 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3698 instead of the right in RTL mode
3699 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3700 breadcrumb button list in RTL mode
3701 * src/hildon-caption.c: mirror the appearance of the caption widget in
3703 * src/hildon-date-editor.c: mirror appearance of the date editor in
3705 * src/hildon-time-editor.c: mirror appearance of the time editor in
3707 * src/hildon-window.c: fix the position of the popup in RTL mode
3709 2008-03-25 Sven Herzberg <sven@imendio.com>
3711 Amendment to the fix of NB#22072. Fix compilation.
3713 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3715 2008-03-19 Sven Herzberg <sven@imendio.com>
3717 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3720 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3721 timeout id properly when the timeout will disappear this leaves no
3722 artifacts around in the destroy(); there will only be the timeout
3723 created by hildon_banner_ensure_timeout() and adding a new timeout
3724 will also work if the timeout gets removed because the timeout_handler
3727 2008-03-19 Michael Natterer <mitch@imendio.com>
3729 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3731 * src/hildon-volumebar.c
3732 * src/hildon-vvolumebar.c
3733 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3734 the widget becomes focussable at all.
3736 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3737 set the focus to wither the mute button or the volumebar.
3739 Remove own "can-focus" property and instead listen to
3740 notify::can-focus in order to update the widget's state.
3742 Implement GtkWidget::focus() and make sure we can also *leave* the
3743 widget, not only enter it, depending on volumebar orientation and
3744 requested focus direction.
3746 Clean up set_mute() to cooperate nicely with all the above.
3748 2008-03-04 Michael Natterer <mitch@imendio.com>
3750 Fixes: NB#78481: information banners are hidden under browser menu
3752 * src/hildon-banner.c: call gtk_window_present() on the banners so
3753 they are risen if they are already visible.
3755 2008-03-03 Sven Herzberg <sven@imendio.com>
3757 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3759 * examples/hildon-window-menu-example.c: (main): extended the window
3760 menu example to serve as a testcase for automatically added
3761 accelerator groups, too
3762 * src/hildon-window.c: (hildon_window_add_accel_group),
3763 (hildon_window_set_menu): added patch by Tommi Komulainen
3765 2008-03-03 Sven Herzberg <sven@imendio.com>
3767 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3769 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3770 knowledge about the border allocators used within GTK+
3772 2008-02-26 Sven Herzberg <sven@imendio.com>
3774 Fixes: MB#2981: Build with asserts broken
3776 * src/hildon-date-editor.c,
3777 * src/hildon-number-editor.c,
3778 * src/hildon-time-editor.c,
3779 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3780 the proper GType instance check
3782 2008-02-25 Sven Herzberg <sven@imendio.com>
3784 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3786 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3787 * examples/hildon-window-menu-example.c: (main): explicitly show
3789 * src/hildon-window.c:
3790 (hildon_window_set_main_menu): moved most of the code from set_menu()
3791 to this place; skipped the call to gtk_widget_show_all(); also didn't
3792 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3793 (hildon_window_set_menu): removed most of the code, just keep the
3794 questionable gtk_widget_show_all()
3795 * src/hildon-window.h: added the new function and deprecate the old
3798 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3804 * debian/changelog: Updating.
3806 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3809 * pkgconfig/Makefile.am:
3810 * pkgconfig/hildon.pc.in:
3813 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3814 use newly created API_MAJOR_VERSION.
3816 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3822 * debian/changelog: Updating.
3824 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3826 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3828 Add outer_border style property, we use it but don't define it (!).
3832 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3834 * examples/hildon-bread-crumb-trail-example.c (main):
3838 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3840 Fix logic for the bread crumb trail node removal.
3844 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3850 * debian/changelog: Updating.
3852 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3854 Patch by Alejandro to get/set passwords dialogs accesibility.
3856 * hildon-1/src/hildon-get-password-dialog.c:
3857 * hildon-1/src/hildon-set-password-dialog.c:
3858 Set atk_set_name to the passwd entries in order to allow
3859 accessibility by name on this entries.
3861 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3866 * debian/control: Updating gtk dep.
3868 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3870 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3871 USE_MAEMO_GTK is enabled.
3873 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3875 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3876 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3878 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3884 * debian/changelog: Updating.
3886 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3888 * examples/Makefile.am:
3889 * examples/hildon-logical-color-example.c:
3890 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3891 applied + adding a test case. Fixes: NB#71660.
3893 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3895 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3896 to be visible, fixes warning on map for windows without toolbars.
3898 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3900 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3901 2.11.0, add a check for that besides the MAEMO_GTK check.
3903 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3909 * debian/changelog: Updating.
3911 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3913 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3914 visibility. Fixes: NB#70842 and MB#615.
3916 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3918 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3919 set the separator as no-show-all so it doesn't unintentionally appear when
3920 someone does a show_all.
3922 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3924 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3925 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3926 toplevel item. Fixes: NB#62031
3928 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3930 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3931 fix the name of the function in the docs.
3933 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3939 * debian/changelog: Updating.
3941 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3943 * examples/hildon-banner-long-example.c: Adding a test-case for long
3946 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3948 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3950 * src/hildon-color-chooser-dialog.c:
3951 * src/hildon-color-chooser.c:
3952 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3953 memory leaks in font selector and color selector. Fixes: NB#70499 and
3956 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3958 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3960 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3962 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3963 little bit bigger. Fixes: #NB63694.
3965 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3971 * debian/changelog: Updating.
3973 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3976 * doc/hildon-docs.sgml:
3977 * doc/images/bread-crumb-trail.png:
3978 * doc/images/calendar-popup.png:
3979 * doc/images/caption.png:
3980 * doc/images/code-dialog.png:
3981 * doc/images/color-button.png:
3982 * doc/images/color-chooser-dialog.png:
3983 * doc/images/color-chooser.png:
3984 * doc/images/controlbar.png:
3985 * doc/images/date-editor.png:
3986 * doc/images/font-selection-dialog.png:
3987 * doc/images/get-password-dialog.png:
3988 * doc/images/hvolumebar.png:
3989 * doc/images/login-dialog.png:
3990 * doc/images/note.png:
3991 * doc/images/number-editor.png:
3992 * doc/images/range-editor.png:
3993 * doc/images/seekbar.png:
3994 * doc/images/set-password-dialog.png:
3995 * doc/images/sort-dialog.png:
3996 * doc/images/time-editor.png:
3997 * doc/images/time-picker.png:
3998 * doc/images/vvolumebar.png:
3999 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4000 Adding the bread-crumb-trial and helpers to the documentation.
4002 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4004 * examples/hildon-find-toolbar-example.c:
4005 * src/hildon-find-toolbar.c:
4006 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4007 actually continue firing the other handlers if connected. Adding a new
4009 hildon_find_toolbar_get_last_index that gets the index of the most
4010 recently added (last) item. Fixes: NB#52301.
4012 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4014 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4015 behaviour. Fixes: NB#68610.
4017 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4019 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4022 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4024 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4025 when realizing the banner. Should make the infonbanner effect a bit more
4028 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4030 * src/hildon-volumebar.c:
4031 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4032 hildon_volumebar_set_range_insensitive_message and
4033 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4035 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4037 * src/hildon-window.c: Fixing the border freeing on destroy.
4039 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4041 * src/hildon-code-dialog-private.h:
4042 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4043 kw keyboard support in HildonCodeDialog.
4045 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4051 * debian/changelog: Updating.
4053 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4055 * src/hildon-date-editor.c:
4056 * src/hildon-number-editor.c:
4057 * src/hildon-private.c:
4058 * src/hildon-private.h:
4059 * src/hildon-time-editor.c:
4060 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4061 handling in subclassed composite widgets. Fixes: NB#66628.
4063 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4065 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4066 from destroy_ callback as it introduces problems in async dbus signal
4067 handlers. Fixes NB#66673.
4069 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4071 * examples/hildon-hvolumebar-example.c:
4072 * src/hildon-volumebar.c: Improving the focus handling in the
4073 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4074 set_property accessor so that "mute" property can be actually set. I'm
4075 scared that nobody noticed it's totally broken.
4077 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4079 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4082 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4084 * src/hildon-calendar.c:
4085 * src/hildon-number-editor.c:
4086 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4087 matches the spec of 6 chars per second. Fixes: NB#60489.
4089 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4091 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4092 gtk_style_lookup_color sometime returns FALSE even though color was
4093 found and values were filled properly. Weird. Removing the warning for the
4096 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4098 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4099 expand vertically. Adding some extra space to the find toolbar buttons to
4100 make them thumbable. Fixes NB#66060.
4102 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4104 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4105 popup with "Ok" and "Cancel". Fixes NB#59299.
4107 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4109 * src/hildon-calendar.c: Process all window updates before executing next
4110 timeout. Fixes: NB#54146.
4112 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4118 * debian/changelog: Updating.
4120 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4122 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4123 the client event and ignore it, since we use the delete event to close
4126 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4128 * src/hildon-helper.c: Remove the bogus warning about color not being
4129 found. Fixes NB#58352.
4131 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4133 * examples/Makefile.am:
4134 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4135 HildonSeekbar widget inside a toolbar.
4137 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4139 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4140 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4141 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4142 don't want to be closed by non-temporary windows on map.
4144 Also use G_DEFINE_TYPE instead of manually typed code.
4146 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4153 * debian/rules: Updating.
4155 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4157 * examples/Makefile.am:
4158 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4159 bug NB#61128. Strangely it works.
4161 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4163 * src/hildon-date-editor.c: When the date editor entry has been changed
4164 but the numbers of characters < max, turn off the skip validation flag.
4165 Prevents a situation when we enter first a valid year and later re-write
4166 it with an invalid one. Fixes NB#60154.
4168 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4170 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4171 code dialog. Fixes NB#64355.
4173 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4175 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4176 switching the page. Fixes NB#49374.
4178 * examples/Makefile.am:
4179 * examples/hildon-wizard-dialog-example.c: Adding an example for
4180 HildonWizardDialog that shows how to handle manual sensitivity setting on
4183 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4187 * src/hildon-version.h.in:
4188 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4190 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4192 * src/hildon-volumebar.c: Updating the docs.
4194 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4200 * debian/changelog: Updating.
4202 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4204 * src/hildon-find-toolbar.c:
4205 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4206 selected item: hildon_find_toolbar_set_active,
4207 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4208 hildon_find_toolbar_get_active_iter . They correspond to respective
4209 GtkComboBox functions.
4211 * examples/Makefile.am:
4212 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4215 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4217 * examples/Makefile.am:
4218 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4221 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4222 when font size > 32 and we pack a focusable widget inside. Actually using
4223 the default response would work too, but since we don't show default
4224 response state in any way (no theming) it would not be visible to the
4225 user. Fixes NB#63430.
4227 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4229 * src/hildon-date-editor.c: Adding the missing variable setter in the
4230 set_property handler. Fixes NB#54182.
4232 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4234 * src/hildon-window.h: Changing the long key press time from 1500ms to
4235 800ms as requested in NB#63700. I have a bad feeling about this, let's
4236 see... Fixes NB#63700.
4238 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4240 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4241 hildon_time_picker_map, hildon_time_picker_realize,
4242 hildon_time_picker_style_set): Split the contents of map to more
4243 appropriate functions; set window decorations on realize and update
4244 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4246 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4251 * debian/changelog: Updating.
4253 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4255 * src/Makefile.am: fixed installation of the header files
4257 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4263 * debian/changelog: Updating.
4265 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4267 * configure.ac: Removing some remaining of --enable-xan.
4269 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4271 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4272 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4274 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4275 2.10.12-osso6 because the move-focus signal needs to be available in
4278 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4280 * examples/Makefile.am:
4281 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4282 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4283 fine. Prolly NB#61128 is fixed now.
4285 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4287 * src/hildon-volumebar.c:
4288 * src/hildon-volumebar.h: Adding the
4289 hildon_volumebar_set_range_insensitive_message and
4290 hildon_volumebar_set_range_insensitive_messagef functions to set
4291 insensitive message on the slider of the volumebar. Fixes NB#61129.
4293 * examples/Makefile.am:
4294 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4295 test the new insensitive messsage functionality on HildonVolumebar.
4297 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4299 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4302 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4304 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4305 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4306 button on after clearing the trail.
4308 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4310 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4312 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4314 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4315 by splitting the installed headers in generated and non-generated groups. Use
4316 only the non-generated headers to create the hildon-enum-types.h file.
4318 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4320 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4322 * src/hildon-window.c: Hide the window before performing the destroy.
4323 Should make the app closing a little tiny bit more snappy.
4325 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4327 * src/hildon-seekbar.c: add gtkrange.h header
4328 * src/hildon-caption.c: remove unused variable
4330 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4332 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4335 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4341 * debian/changelog: Updating.
4343 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4345 * src/hildon-window.c (hildon_window_window_state_event,
4346 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4347 escape timeout on focus-out-event rather than notify::is-topmost; the
4348 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4350 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4352 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4353 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4355 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4357 * src/hildon-window: actually, you need to use the macro always, there's
4358 no private pointer in the instance structure. We should have cleaned this up
4359 when we had the chance...
4361 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4363 * src/hildon-window.c: do not get the private date from HildonWindow before
4364 it passes the g_return_if_fail check. Once it's passed the test, there's no
4365 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4366 if you are only going to access the data once. Whitespace cleanups.
4368 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4370 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4371 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4373 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4379 * debian/changelog: Updating.
4381 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4383 * src/hildon-window.c: When destroying the window, remove (if exists) the
4384 escape timeout handler. Fixes #NB59276.
4386 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4388 * src/hildon-banner.c: When realizing the widget, set the window
4389 transiency. Setting the transiency in the gobject constructor is not
4390 good, as the widget is not realized at that point. Fixes: #NB56624.
4392 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4394 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4395 Add padding for future expansions.
4397 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4399 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4400 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4401 will fake an activation on the previous to the last item of the trail, so
4402 the effect can be overrided by the developer as usual.
4403 Also change the callback for the back button to do the same thing, so its
4404 effect can be overrided too. Fixes: NB#58982
4406 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4408 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4409 HildonCaption. Fixes NB#52379.
4411 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4413 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4414 the internal state of the trail after the user has had the chance of executing
4415 his handler for the signal. Specifically, it may happen that the activated button
4416 is removed and the user still lets the default handler run. This would segfault
4419 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4421 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4422 scrollbar to the preview dialog. Fixes NB#54147.
4424 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4426 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4427 max/min year properties can be altered, so the client can modify it
4428 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4430 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4432 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4433 hildonlike by default. Fixing a problem with disappearing arrows when
4434 scrolling through months and years. Fixes NB#54127.
4436 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4438 * examples/hildon-date-editor-example.c: Adding error callback to the date
4441 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4447 * configure.ac: Updating.
4449 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4451 * configure.ac: Adding a special '--enable-xan' configure option that
4452 turns off the -Werror compilation setting. Usefull for development.
4454 * src/hildon-calendar.c:
4455 * src/hildon-number-editor.c:
4456 * src/hildon-time-picker.c: Adding the 5* multiplier to
4459 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4461 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4462 instead of g_object_ref + gtk_object_sink.
4464 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4470 * debian/changelog: Updating.
4472 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4474 * src/hildon-color-chooser-dialog.c:
4475 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4476 straight from Tommi labs.
4478 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4480 * examples/hildon-finger-example.c: Correcting the header file path.
4482 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4483 the changed signal. Fixes a small memory leak.
4485 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4489 * src/hildon-banner.c: Importing several usefull fixes from the
4490 ubuntu-mobile branch.
4492 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4494 * examples/Makefile.am:
4495 * examples/hildon-finger-example.c: Adding a finger-checking code
4498 * src/hildon-font-selection-dialog.c: Do not allocate the color
4499 structure using the g_new. Fixes NB#54061.
4501 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4503 * src/hildon-helper.c: Correcting tabs in file.
4505 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4507 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4508 control the visibility of the children.
4510 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4512 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4518 * debian/changelog: Updating.
4520 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4522 * src/hildon-bread-crumb-trail.c:
4523 (hildon_bread_crumb_trail_size_allocate):
4525 Make the back button always a square.
4527 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4529 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4530 from the .c file as it's a private file.
4532 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4534 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4535 uses slightly bigger height.
4537 * src/hildon-font-selection-dialog.c: Adding some checks before
4538 freeing memory in the font selection dialog.
4540 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4542 * src/hildon-font-selection-dialog.c: Adding a small check when
4545 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4546 buttons sensitivity on page switching.
4548 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4550 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4551 internal details of adding a bread crumb to the trail.
4553 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4559 * debian/changelog: Updating.
4561 * src/hildon-bread-crumb-trail.h:
4562 * src/hildon-bread-crumb.h: Changing the API guard to
4563 HILDON_ENABLE_UNSTABLE_API.
4565 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4573 * src/hildon-helper.h: Updating.
4575 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4583 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4587 * src/hildon-helper.h: Small fix to make the package actually compile.
4589 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4591 * src/hildon-bread-crumb-trail.h:
4592 * src/hildon-bread-crumb.h:
4594 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4595 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4597 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4599 * examples/hildon-bread-crumb-trail-example.c:
4601 * src/hildon-bread-crumb-trail.c:
4602 * src/hildon-bread-crumb-trail.h:
4603 * src/hildon-bread-crumb.c:
4604 * src/hildon-bread-crumb.h:
4605 * src/hildon-marshalers.list:
4606 * src/hildon-bread-crumb-widget.c:
4607 * src/hildon-bread-crumb-widget.h:
4609 Slight change in the widget design. The bread crumb trail API is
4610 unchanged, but HildonBreadCrumb is now an interface. A *private*
4611 implementation, hildon-bread-crumb-widget, is provided and used
4612 internally by the trail for the push_text/push_icon functions.
4614 The generic push API is still available, so anyone can implement
4615 and use its own bread crumb widget.
4617 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4619 * debian/rules: Fixing the shlibs.
4621 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4623 * src/hildon-banner.c: Fixing a problem with timed banners having
4624 their parrent destroyed before they are.
4626 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4628 * src/hildon-bread-crumb.c:
4629 * src/hildon-bread-crumb.h:
4631 Make the get_natural_size function a vfunc.
4633 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4635 * src/hildon-bread-crumb.c:
4636 * src/hildon-bread-crumb-trail.c:
4640 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4647 * debian/changelog: Updating for release.
4649 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4651 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4652 don't leak the pango layout.
4654 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4657 * examples/hildon-bread-crumb-trail-example.c:
4661 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4663 * debian/changelog: Removing the bug-fixed entries that were actually
4664 resolved as WONTFIX.
4666 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4669 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4671 * src/hildon-bread-crumb-trail.c:
4672 * src/hildon-bread-crumb-trail.h:
4673 * src/hildon-bread-crumb.c:
4674 * src/hildon-bread-crumb.h:
4678 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4680 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4681 until it's passed the type check.
4683 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4685 * examples/hildon-bread-crumb-trail-example.c
4689 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4691 * examples/Makefile.am
4692 * examples/hildon-bread-crumb-trail-example.c
4694 * src/hildon-bread-crumb-trail.c
4695 * src/hildon-bread-crumb-trail.h
4696 * src/hildon-bread-crumb.c
4697 * src/hildon-bread-crumb.h
4699 New HildonBreadCrumbTrail widget.
4701 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4703 * src/hildon-range-editor.c (hildon_range_editor_init),
4704 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4705 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4706 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4707 hildon_time_editor_class_init, hildon_time_editor_init),
4708 src/hildon-get-password-dialog.c (invalid_input,
4709 hildon_get_password_set_property, hildon_get_password_get_property,
4710 create_contents, hildon_get_password_dialog_set_max_characters),
4711 src/hildon-set-password-dialog.c (create_contents),
4712 src/hildon-date-editor.c (hildon_date_editor_init),
4713 src/hildon-login-dialog.c (hildon_login_dialog_init),
4714 src/hildon-number-editor.c (hildon_number_editor_init),
4715 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4716 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4717 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4718 configure option and adding the respective checks in the code.
4719 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4720 hildon_calendar_drag_data_received): fixed some build warnings.
4722 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4724 * debian/changelog: A 1.0.0 release notes.