Alejandro Piñeiro [Fri, 7 Nov 2008 08:54:29 +0000 (08:54 +0000)]
2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
* debian/rules: Added --enable-maintainer-mode
* Makefile.am: Added ACLOCAL_AMFLAGS
This allows to properly regenerate the Makefiles if you modify the
configure.ac or any Makefile.am.
Claudio Saavedra [Thu, 6 Nov 2008 15:45:27 +0000 (15:45 +0000)]
2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
* examples/hildon-app-menu-example.c: (main): Do not set RC style
properties, not needed at all.
Claudio Saavedra [Thu, 6 Nov 2008 12:26:46 +0000 (12:26 +0000)]
2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-note-private.h: Add strings for the icon and stock_icon
properties.
* src/hildon-note.c: (hildon_note_set_property),
(hildon_note_get_property), (hildon_note_class_init),
(hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
(hildon_note_new_confirmation_add_buttons): Remove icons.
(hildon_note_new_confirmation_with_icon_name): Deprecate.
(hildon_note_new_information_with_icon_name): Deprecate.
(hildon_note_new_confirmation): Act directly, without calling
the deprecated constructor.
(hildon_note_new_information): Act directly, without calling
the deprecated constructor.
* src/hildon-note.h: Mark deprecate methods as such.
* tests/check-hildon-note.c: (create_hildon_note_suite): Do
not run tests on the deprecated methods if built with deprecation
disabled.
Fixes: NB#91688 (Never show icons in information notes/confirmation
notes)
Claudio Saavedra [Thu, 6 Nov 2008 11:23:31 +0000 (11:23 +0000)]
2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
(hildon_app_menu_key_press): Remove leftover usage of the
private structure in HildonAppMenu struct.
* src/hildon-app-menu.h: Remove leftover private structure
from the HildonAppMenu struct.
Fixes a crasher when using the HildonAppMenu.
Claudio Saavedra [Wed, 5 Nov 2008 12:23:52 +0000 (12:23 +0000)]
2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-picker-dialog.c: Use appropriate logical id for the
default "Done" text.
Claudio Saavedra [Wed, 5 Nov 2008 12:22:56 +0000 (12:22 +0000)]
2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
* configure.ac: post release version bump
* debian/changelog: version bump
Alejandro Piñeiro [Wed, 5 Nov 2008 10:06:52 +0000 (10:06 +0000)]
2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
Modified the way to scroll to the current selection just when the touch
selector is shown on the screen, avoiding a g_idle. Added too a property
to configure this behaviour. See hildon_pannable_area_jump_to_child
documentation for more information.
* src/hildon-touch-selector.c
Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
Added 'initial-scroll' property
(hildon_touch_selector_set_property): Added
(hildon_touch_selector_map): Removed as not required anymore
(_hildon_touch_selector_on_selected_items): Modified in order to manage
only a concrete column, instead of iterate along all the columns
Claudio Saavedra [Tue, 4 Nov 2008 13:56:22 +0000 (13:56 +0000)]
2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
[Release 2.1.20]
* NEWS: updates
* configure.ac: bump version
* debian/changelog: updates
Claudio Saavedra [Tue, 4 Nov 2008 13:14:06 +0000 (13:14 +0000)]
2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-button.c: (hildon_button_set_arrangement): Fix some
compilation time warnings.
Claudio Saavedra [Tue, 4 Nov 2008 12:42:02 +0000 (12:42 +0000)]
Revert not-ready-to-be-committed changes
Claudio Saavedra [Tue, 4 Nov 2008 12:32:19 +0000 (12:32 +0000)]
2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
the default value for HildonPannableArea::mov-mode to
HILDON_PANNABLE_AREA_MODE_VERT.
Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
Claudio Saavedra [Tue, 4 Nov 2008 12:26:06 +0000 (12:26 +0000)]
2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
the default value for HildonPannableArea::mov-mode to
HILDON_PANNABLE_AREA_MODE_VERT.
Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
Claudio Saavedra [Tue, 4 Nov 2008 11:28:07 +0000 (11:28 +0000)]
Fix changelog comment
Claudio Saavedra [Tue, 4 Nov 2008 11:19:36 +0000 (11:19 +0000)]
2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
Reverting following commit:
2008-10-13 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu-private.h
* src/hildon-app-menu.[ch]
* src/hildon-button.[ch]
* src/hildon-check-button.[ch]
* src/hildon-entry.[ch]
* src/hildon-pannable-area.[ch]
* src/hildon-text-view.[ch]:
Added private field to the object's structure.
because it causes an ABI breakage. We will need to introduce these
changes later at some point. See NB#91636 for an extensive
explanation and status.
Claudio Saavedra [Tue, 4 Nov 2008 10:29:40 +0000 (10:29 +0000)]
Remove spurious whitespace.
Claudio Saavedra [Tue, 4 Nov 2008 10:23:07 +0000 (10:23 +0000)]
2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
Patch contributed by Daniel Borgmann (danielb@openismus.com)
* src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
remove special cases that are no longer necessary.
Fixes NB#91016 (Change toolbar sizes, simplification)
Claudio Saavedra [Mon, 3 Nov 2008 13:52:03 +0000 (13:52 +0000)]
2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
is shown in the cancel note.
Claudio Saavedra [Mon, 3 Nov 2008 12:10:11 +0000 (12:10 +0000)]
2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
* src/hildon-seekbar.c: (hildon_seekbar_class_init),
(hildon_seekbar_init): Remove steppers, remove expose event.
* src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
Claudio Saavedra [Fri, 31 Oct 2008 10:59:38 +0000 (10:59 +0000)]
Update ChangeLog
Claudio Saavedra [Fri, 31 Oct 2008 10:46:47 +0000 (10:46 +0000)]
2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-button.c: (hildon_button_set_arrangement): Set the value
label font to "SmallSystemFont" for vertically arranged buttons.
Partially fixes: NB#90662 (HildonButton "value" and "detail" text is
unformatted)
Alberto Garcia [Fri, 31 Oct 2008 10:33:56 +0000 (10:33 +0000)]
2008-10-31 Alberto Garcia <agarcia@igalia.com>
* src/hildon-check-button.c
(hildon_check_button_set_active, hildon_check_button_clicked):
Don't access private parts directly, use getters instead.
Alberto Garcia [Fri, 31 Oct 2008 10:02:40 +0000 (10:02 +0000)]
2008-10-31 Alberto Garcia <agarcia@igalia.com>
* src/hildon-check-button.c (hildon_check_button_new):
Align the contents of the check button to the left.
Alejandro G. Castro [Fri, 31 Oct 2008 09:00:25 +0000 (09:00 +0000)]
* src/hildon-pannable-area.c, (hildon_pannable_area_scroll_to), (hildon_pannable_area_jump_to), (hildon_pannable_area_scroll_to_child), (hildon_pannable_area_jump_to_child): Replace the mapped precondition of these functions with the realized, it is the correct state of the widget in this case. Changed the documentation according to this modification.
Alejandro G. Castro [Thu, 30 Oct 2008 17:58:43 +0000 (17:58 +0000)]
Added a new EXTRA_CFLAGS option to add the deprecated define to the compilation command. This way we can avoid using the define in the documentation compilation.
* configure.ac: Defined EXTRA_CFLAGS.
* examples/Makefile.am:
* src/Makefile.am:
* tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
Alejandro Piñeiro [Thu, 30 Oct 2008 17:04:34 +0000 (17:04 +0000)]
2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
* src/hildon-picker-dialog.c:
Defined a utility macro with the desired touch selector height
Removed currently unused separator, and title_label variables from
private structure.
(hildon_picker_dialog_init): Removed code related to the creation
of unused private variables title_label and separator.
(_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
to ensure correct visualization of the touch selector inside the dialog.
* src/hildon-touch-selector.c
(hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
ensure a concrete height of the widget.
Claudio Saavedra [Thu, 30 Oct 2008 13:39:36 +0000 (13:39 +0000)]
2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
* src/Makefile.am:
* tests/Makefile.am:
Remove spurious whitespaces.
Claudio Saavedra [Thu, 30 Oct 2008 11:57:58 +0000 (11:57 +0000)]
2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
compilation warning after the cancel button removal.
Alejandro G. Castro [Thu, 30 Oct 2008 11:20:35 +0000 (11:20 +0000)]
Added bug information to the last commit Changelog entry:
Fixes: NB#91135 (Deprecate legacy hildon widgets)
Alejandro G. Castro [Thu, 30 Oct 2008 11:07:41 +0000 (11:07 +0000)]
Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
* configure.ac: Added an AM_CONDITIONAL in order to use in the
Makefile.am, that way we can choose not to compile some examples
and tests of the deprecated widgets.
* examples/Makefile.am: Divided the sources in deprecated and
non-deprecated.
* src/Makefile.am: Added undef statement of the deprecated
symbol to the enums file generation process.
* src/hildon-color-chooser-dialog.c
* src/hildon-color-chooser-dialog.h
* src/hildon-color-button.c
* src/hildon-color-button.h
* src/hildon-color-chooser.c
* src/hildon-color-chooser.h
* src/hildon-controlbar.c
* src/hildon-controlbar.h
* src/hildon-date-editor.c
* src/hildon-date-editor.h
* src/hildon-hvolumebar.c
* src/hildon-hvolumebar.h
* src/hildon-private.c
* src/hildon-private.h
* src/hildon-range-editor.c
* src/hildon-range-editor.h
* src/hildon-seekbar.c
* src/hildon-seekbar.h
* src/hildon-time-editor.c
* src/hildon-time-editor.h
* src/hildon-time-picker.c
* src/hildon-time-picker.h
* src/hildon-volumebar.c
* src/hildon-volumebar.h
* src/hildon-vvolumebar.c
* src/hildon-vvolumebar.h
* src/hildon-bread-crumb-trail.h
* src/hildon-bread-crumb-trail.c
* src/hildon-calendar-popup.c
* src/hildon-calendar-popup.h
* src/hildon-weekday-picker.c:
* src/hildon-weekday-picker.h:
* src/hildon-bread-crumb-widget.c:
* src/hildon-bread-crumb-widget.h:
* src/hildon-bread-crumb.c:
* src/hildon-bread-crumb.h:
* src/hildon-calendar.c:
* src/hildon-calendar.h:
* src/hildon-caption.c:
* src/hildon-code-dialog.c:
* src/hildon-code-dialog.h:
* src/hildon-font-selection-dialog.c:
* src/hildon-font-selection-dialog.h:
* src/hildon-get-password-dialog.c:
* src/hildon-get-password-dialog.h:
* src/hildon-login-dialog.c:
* src/hildon-login-dialog.h:
* src/hildon-number-editor.c:
* src/hildon-number-editor.h:
* src/hildon-set-password-dialog.c:
* src/hildon-set-password-dialog.h:
* src/hildon-sort-dialog.c:
* src/hildon-sort-dialog.h: This is the list of deprecated
widgets.
* src/hildon-touch-selector.c:
* src/hildon-window.c: Added undef statement to avoid compilation
warnings
* tests/Makefile.am: Divided the sources in deprecated and
non-deprecated.
* tests/check_test.c,
(configure_tests): Marked the deprecated code that was adding
suites with deprecated tests.
Claudio Saavedra [Thu, 30 Oct 2008 08:18:06 +0000 (08:18 +0000)]
2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-touch-selector.c: (_default_print_func): Do not
duplicate a string returned by gtk_tree_model_get(), it is already
allocated for us.
Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
function)
Alejandro G. Castro [Tue, 28 Oct 2008 12:40:32 +0000 (12:40 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_area_add_with_viewport): Reviewed the complete method, it had problems when adding a widget with viewport the second time. Now checks if it already has a viewport and uses it.
Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
on child)
Alejandro G. Castro [Tue, 28 Oct 2008 12:07:41 +0000 (12:07 +0000)]
* src/hildon-pannable-area.c, (hildon_pannable_area_scroll_to), (hildon_pannable_area_jump_to), (hildon_pannable_area_scroll_to_child), (hildon_pannable_area_jump_to_child): Added a precondition to the scroll and jump to functions: the widget must be mapped before we can safely call these functions. We have also added documentation to the functions to explain how to use them in this situation.
Alejandro G. Castro [Tue, 28 Oct 2008 12:07:28 +0000 (12:07 +0000)]
Reviewed the threading handling of the pannable widget, we have used the gdk_threads_add_timeout function instead of the usual glib handlers. This avoids some problems with the threads.
* src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
(hildon_pannable_area_initial_effect),
(hildon_pannable_area_scroll_indicator_fade),
(hildon_pannable_area_button_press_cb),
(hildon_pannable_area_timeout),
(hildon_pannable_area_motion_notify_cb),
(hildon_pannable_area_button_release_cb),
(hildon_pannable_area_scroll_cb),
(hildon_pannable_area_scroll_to): Removed the
GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
gdk_threads_add_timeout.
Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
Claudio Saavedra [Mon, 27 Oct 2008 16:40:42 +0000 (16:40 +0000)]
2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
[Release 2.1.18]
* NEWS: updates
* configure.ac: bump version
* debian/changelog: updates
Claudio Saavedra [Mon, 27 Oct 2008 15:47:21 +0000 (15:47 +0000)]
2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
* src/hildon-code-dialog.c: (hildon_code_dialog_init):
* src/hildon-color-chooser-dialog.c:
(hildon_color_chooser_dialog_init):
* src/hildon-font-selection-dialog.c:
(hildon_font_selection_dialog_init):
* src/hildon-login-dialog.c: (hildon_login_dialog_init):
Remove all cancel/close-like dialogs, as these are not going to be
displayed at all.
Claudio Saavedra [Mon, 27 Oct 2008 11:36:05 +0000 (11:36 +0000)]
ChangeLog cosmetic fixes
Claudio Saavedra [Mon, 27 Oct 2008 11:28:29 +0000 (11:28 +0000)]
2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-note.c: (hildon_note_rebuild),
(hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
when needed.
Fixes NB#90661 (Delete dialog is displayed without NO button)
Claudio Saavedra [Mon, 27 Oct 2008 08:17:41 +0000 (08:17 +0000)]
2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
sure all buttons are shown, even the Cancel/Close-like ones.
Fixes bug NB#90861 (Custom Confirmation dialogs should be
protected from cancel button removal)
Alejandro Piñeiro [Thu, 23 Oct 2008 16:56:12 +0000 (16:56 +0000)]
2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
* debian/control: Change libhildon1-examples dependency from libhildon1
to libhildon1-dev
* debian/libhildon1-examples.install
* debian/rules
* Makefile.am: Modified the final install directory for the examples on
package libhildon1-examples
* Makefile.static: Update clean target in order to remove all the binary
examples
Changes suggested by Claudio after review new libhildon1-examples package
Claudio Saavedra [Thu, 23 Oct 2008 15:39:54 +0000 (15:39 +0000)]
2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
* src/hildon-touch-selector.c: Ditto.
Alejandro Piñeiro [Thu, 23 Oct 2008 12:09:35 +0000 (12:09 +0000)]
2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
* debian/control: Added new package libhildon1-examples, in order to pack
the current hildon examples as documentation
* debian/rules: Not to compress .c files, modify some includes on the
examples (as normally are compiled locally, but when installed it will
require to include the installed libhildon1 library), and rename
Makefile.static
* examples/Makefile.am: Added examplesdir and examples_DATA, in order to
install all the example files on the new example package
* examples/Makefile.static: Added static makefile that can be used to
compile the examples, once installed the new example package
* examples: Most of the examples were modified in order to grant that
all use only '#include "hildon.h"', in order to be easy to prepare
it on the example package
Alberto Garcia [Thu, 23 Oct 2008 11:36:04 +0000 (11:36 +0000)]
2008-10-23 Alberto Garcia <agarcia@igalia.com>
* debian/control
* debian/libhildon1-dev.install
* debian/libhildon1-doc.install:
Move all gtk-doc files to a separate libhildon1-doc package.
Daniel Borgmann [Thu, 23 Oct 2008 07:14:41 +0000 (07:14 +0000)]
capitalization change
Alejandro Piñeiro [Wed, 22 Oct 2008 17:26:12 +0000 (17:26 +0000)]
2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
* debian/rules: Fixed a error in order to avoid unnecessary calls
to autogen.sh on package building
Alberto Garcia [Wed, 22 Oct 2008 16:24:29 +0000 (16:24 +0000)]
2008-10-22 Alberto Garcia <agarcia@igalia.com>
* examples/hildon-app-menu-example.c: Add keyboard accelerator.
Claudio Saavedra [Tue, 21 Oct 2008 17:01:29 +0000 (17:01 +0000)]
2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-picker-dialog.h: Add missing HildonTouchSelector
header include.
Alberto Garcia [Tue, 21 Oct 2008 16:25:01 +0000 (16:25 +0000)]
2008-10-21 Alberto Garcia <agarcia@igalia.com>
* src/hildon-picker-button.c
(hildon_picker_button_finalize):
Free priv->done_button_text
* src/hildon-time-button.c
(hildon_time_button_set_time)
* src/hildon-picker-button.c
(hildon_picker_button_clicked)
(hildon_picker_button_selector_selection_changed)
(hildon_picker_button_set_selector)
* src/hildon-date-button.c
(hildon_date_button_set_date):
Free strings returned by hildon_touch_selector_get_current_text()
* src/hildon-button.c (hildon_button_construct_child):
Fix leaks in priv->image and priv->label_box
Fixes: NB#90535 (Memory leak in picker button)
Claudio Saavedra [Tue, 21 Oct 2008 15:09:03 +0000 (15:09 +0000)]
2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-button.c: (hildon_button_get_property): Do not access
private elements directly, use getters instead.
Alberto Garcia [Mon, 20 Oct 2008 17:45:31 +0000 (17:45 +0000)]
2008-10-20 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu-private.h
* src/hildon-app-menu.c
(hildon_app_menu_init, hildon_app_menu_set_parent_window):
Store the menu's parent window.
* src/hildon-stackable-window.c
(hildon_stackable_window_toggle_menu)
(hildon_stackable_window_finalize):
Set the menu's parent window when the menu is shown, unset it when
it is destroyed.
* src/hildon-app-menu.c
(hildon_app_menu_hide_idle, hildon_app_menu_key_press)
(hildon_app_menu_class_init):
Send unhandled keyboard accelerators to the parent window.
Alberto Garcia [Mon, 20 Oct 2008 17:19:31 +0000 (17:19 +0000)]
2008-10-20 Alberto Garcia <agarcia@igalia.com>
* src/hildon-stackable-window.c
(hildon_stackable_window_finalize): Unref the menu, don't destroy it
Claudio Saavedra [Mon, 20 Oct 2008 15:08:16 +0000 (15:08 +0000)]
2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
* configure.ac: post release version bump
Claudio Saavedra [Mon, 20 Oct 2008 14:02:58 +0000 (14:02 +0000)]
updates.
Claudio Saavedra [Mon, 20 Oct 2008 14:02:49 +0000 (14:02 +0000)]
Updates.
Claudio Saavedra [Mon, 20 Oct 2008 13:41:18 +0000 (13:41 +0000)]
2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
* NEWS: Updates
* configure.ac: Bump version
* debian/changelog: Updates
* debian/rules: Set PKG_CONFIG_PATH to make docs build with
gtk-doc 1.10.
Claudio Saavedra [Mon, 20 Oct 2008 10:11:17 +0000 (10:11 +0000)]
Update ChangeLog
Alberto Garcia [Mon, 20 Oct 2008 09:15:05 +0000 (09:15 +0000)]
2008-10-20 Alberto Garcia <agarcia@igalia.com>
* src/hildon-gtk.h
* src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
GtkMenu with Hildon style.
Patch contributed by Daniel Borgmann (danielb@openismus.com)
Claudio Saavedra [Mon, 20 Oct 2008 08:43:42 +0000 (08:43 +0000)]
2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-picker-button.c:
(hildon_picker_button_set_done_button_text): Set the dialog's
done button text here as well.
Fixes NB#90232 (Picker button does not set the label on done button
for the second time)
Claudio Saavedra [Mon, 20 Oct 2008 08:15:08 +0000 (08:15 +0000)]
2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
warning message.
Claudio Saavedra [Mon, 20 Oct 2008 07:59:17 +0000 (07:59 +0000)]
Update ChangeLog.
Alberto Garcia [Thu, 16 Oct 2008 15:29:56 +0000 (15:29 +0000)]
2008-10-16 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c (hildon_app_menu_insert)
(hildon_app_menu_add_filter, can_activate_accel): Allow items in
the HildonAppMenu to be activatable using keyboard accelerators
when the menu is not being shown.
Fixes: NB#89935 (Shortcuts for menu buttons are not working)
Alberto Garcia [Thu, 16 Oct 2008 11:04:09 +0000 (11:04 +0000)]
2008-10-16 Alberto Garcia <agarcia@igalia.com>
* src/hildon-stackable-window.c
(hildon_stackable_window_show):
Don't hide old windows automatically when new windows are shown:
this is now a task for the window manager.
(hildon_stackable_window_class_init)
(hildon_stackable_window_hide):
Remove windows from the stack everytime they're hidden.
(hildon_stackable_window_realize):
Don't change the _NET_WM_WINDOW_TYPE property. Use
_HILDON_STACKABLE_WINDOW instead for the window manager to manage
it as a stackable window.
* src/hildon-program.c
(hildon_program_pop_window_stack):
Just hide the window to remove it from the stack.
(hildon_program_go_to_root_window):
Don't call gtk_widget_show(), this is now a task for the window
manager.
Fixes: NB#89411
Alberto Garcia [Wed, 15 Oct 2008 17:00:53 +0000 (17:00 +0000)]
2008-10-15 Alberto Garcia <agarcia@igalia.com>
* src/hildon-button.c
(hildon_button_construct_child):
Don't pack anything in the button until text or image are
set. This allows adding a custom child after creating the button
with hildon_button_new().
(hildon_button_finalize, hildon_button_class_init)
(hildon_button_init, hildon_button_set_arrangement): Destroy the
alignment and the label box even when they're not packed in the
button.
Alejandro Piñeiro [Tue, 14 Oct 2008 17:18:27 +0000 (17:18 +0000)]
2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
* src/hildon-touch-selector.h:
Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
currently the type definition was using GTK_TYPE_VBOX
* src/hildon-touch-selector.c:
Added some implementation notes in order to clarify that any other widget
added without the column related API will not be included on the
selection logic, and how the widget is freed, as some people ask about
it.
(hildon_touch_selector_remove): Reimplemented in order to free properly
the column related data when you remove the private hbox.
* doc/hildon.types: Added the type hildon_touch_selector_column, in order
to get a proper HildonTouchSelectorColumn documentation
Claudio Saavedra [Mon, 13 Oct 2008 12:53:16 +0000 (12:53 +0000)]
2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-touch-selector-entry.c:
(hildon_touch_selector_entry_print_func): Return NULL if there is no
text in the GtkEntry and there is no item selected. Fixes a
potential crasher.
Alberto Garcia [Mon, 13 Oct 2008 11:37:35 +0000 (11:37 +0000)]
2008-10-13 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu-private.h
* src/hildon-app-menu.[ch]
* src/hildon-button.[ch]
* src/hildon-check-button.[ch]
* src/hildon-entry.[ch]
* src/hildon-pannable-area.[ch]
* src/hildon-text-view.[ch]:
Added private field to the object's structure.
Claudio Saavedra [Mon, 13 Oct 2008 07:30:40 +0000 (07:30 +0000)]
2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
* configure.ac: post-release version bump
Claudio Saavedra [Mon, 13 Oct 2008 07:26:28 +0000 (07:26 +0000)]
2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
[Release 2.1.14]
* configure.ac: pre-release version bump
* NEWS: updates.
* debian/changelog: updates.
Claudio Saavedra [Fri, 10 Oct 2008 10:19:57 +0000 (10:19 +0000)]
2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-picker-button.c: (hildon_picker_button_finalize):
Disconnect the handler for HildonTouchSelector::changed.
(hildon_picker_button_selector_selection_changed): Update the button
value if the selection change was not triggered by the
HildonPickerDialog.
(hildon_picker_button_set_selector): connect to
HildonTouchSelector::changed.
Fixes: NB#89650 (Picker button is not updated, when selection in
selector has changed)
Alejandro Piñeiro [Thu, 9 Oct 2008 14:36:43 +0000 (14:36 +0000)]
2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
* src/hildon-picker-dialog.c
(hildon_picker_dialog_realize): Removed as not required
(hildon_picker_dialog_class_init): Avoid to redefine widget->realize
* src/hildon-picker-button.c
(_current_selector_empty): New function, checks if the selector is empty
(hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
if the current selector is empty, in order to avoid to show the dialog
close the dialog in this case (and shows a g_warning).
Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
Alejandro G. Castro [Thu, 9 Oct 2008 11:58:34 +0000 (11:58 +0000)]
* src/hildon-pannable-area.c, (hildon_pannable_area_scroll): Added clause to stop movement when the child of pannable is smaller than one page. (hildon_pannable_area_scroll_to): Added conditions to avoid starting the scrolling movement if the child is smaller than one page, the complete child is in the screen, we do not have to move.
Fixes: NB#89632 (Picker button selection doesn't change on first click)
Alberto Garcia [Thu, 9 Oct 2008 10:35:29 +0000 (10:35 +0000)]
2008-10-09 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c: Removed the 'columns' property, as now
this is managed automatically by the widget when the size of the
screen changes.
Alberto Garcia [Thu, 9 Oct 2008 10:25:09 +0000 (10:25 +0000)]
2008-10-09 Alberto Garcia <agarcia@igalia.com>
* src/hildon-picker-button.c
(hildon_picker_button_set_done_button_text): Make a copy of the
text, and free the previous value.
Claudio Saavedra [Thu, 9 Oct 2008 10:20:45 +0000 (10:20 +0000)]
2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-touch-selector-entry.c:
(hildon_touch_selector_entry_print_func): Return the selected row's
text if the entry is empty.
Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
entry is empty)
Claudio Saavedra [Thu, 9 Oct 2008 10:15:29 +0000 (10:15 +0000)]
2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-touch-selector-entry.c: Minor docs fixes.
Alberto Garcia [Thu, 9 Oct 2008 10:02:40 +0000 (10:02 +0000)]
2008-10-09 Alberto Garcia <agarcia@igalia.com>
* doc/hildon.types
* src/hildon-check-button.h
* src/hildon-check-button.c
* examples/hildon-check-button-example.c:
HildonCheckButton is now a new widget, rather than a GtkButton.
Alberto Garcia [Wed, 8 Oct 2008 18:08:39 +0000 (18:08 +0000)]
2008-10-08 Alberto Garcia <agarcia@igalia.com>
* src/hildon-program-private.h
* src/hildon-program.c (hildon_program_init)
(hildon_program_finalize): Removed unused variables group_leader
and name from HildonProgramPrivate.
Alberto Garcia [Wed, 8 Oct 2008 14:57:40 +0000 (14:57 +0000)]
2008-10-08 Alberto Garcia <agarcia@igalia.com>
* src/hildon-check-button.c (hildon_check_button_set_active)
(hildon_check_button_get_active, hildon_check_button_new): Use
g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
Alejandro Piñeiro [Wed, 8 Oct 2008 11:09:07 +0000 (11:09 +0000)]
2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
* src/hildon-touch-selector.h
(hildon_touch_selector_set_column_attributes): added deprecation
guard HILDON_DISABLE_DEPRECATED
* src/hildon-time-selector.c
(hildon_time_selector_set_time)
(hildon_time_selector_get_time): Fixed a typo on documentation
* src/hildon-touch-selector.c: update HildonTouchSelector and
HildonTouchSelectorColumn documentation
* src/hildon-touch-selector-entry.c: update "text-column" property
documentation
* doc/hildon-docs.sgml: added hildon-touch-selector-column in order
to be added to the general documentation.
Alejandro G. Castro [Wed, 8 Oct 2008 08:18:18 +0000 (08:18 +0000)]
* examples/hildon-pannable-area-example-4.c, (main), * examples/hildon-pannable-area-example.c, (main): Modified the code in order to use the container add, with viewport treeviews could have problems if they are really big.
Alejandro G. Castro [Mon, 6 Oct 2008 19:36:25 +0000 (19:36 +0000)]
* src/hildon-weekday-picker.c, * src/hildon-weekday-picker.h: Removed the deprecated symbols after the agreement regarding deprecation in the library.
Claudio Saavedra [Mon, 6 Oct 2008 13:44:25 +0000 (13:44 +0000)]
2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
* examples/hildon-picker-button-multicolumn-example.c:
(main): Use custom "done" button text.
* src/hildon-picker-button.c: (hildon_picker_button_get_property),
(hildon_picker_button_set_property),
(hildon_picker_button_clicked), (hildon_picker_button_class_init),
(hildon_picker_button_init),
(+hildon_picker_button_get_done_button_text),
(+hildon_picker_button_set_done_button_text): New methods to customize
the "done" button label in the launched HildonPickerDialog. Also,
make it a property.
* src/hildon-picker-button.h: add the public API.
Claudio Saavedra [Mon, 6 Oct 2008 13:27:30 +0000 (13:27 +0000)]
2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-date-selector.h:
* src/hildon-picker-dialog.h:
* src/hildon-time-selector.h:
* src/hildon-touch-selector-column.h:
* src/hildon-touch-selector.h:
Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
declarations. Fixes gtk-doc warnings.
Alberto Garcia [Mon, 6 Oct 2008 13:11:33 +0000 (13:11 +0000)]
2008-10-06 Alberto Garcia <agarcia@igalia.com>
* src/hildon-picker-dialog.h
* src/hildon-picker-dialog.c (hildon_picker_dialog_init):
Make HildonPickerDialog derive from HildonDialog, not GtkDialog
Fixes: NB#89329 (selectors in picker dialog are not visible when a
long text is set as label for done button)
Alberto Garcia [Mon, 6 Oct 2008 13:11:28 +0000 (13:11 +0000)]
2008-10-06 Alberto Garcia <agarcia@igalia.com>
* src/hildon-dialog.c (hildon_dialog_add_button):
Set fixed width to all buttons in the HildonDialog.
Alberto Garcia [Mon, 6 Oct 2008 10:37:58 +0000 (10:37 +0000)]
2008-10-06 Alberto Garcia <agarcia@igalia.com>
Patch contributed by Daniel Borgmann (danielb@openismus.com)
* src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
Set widget name using class name plus "-finger" or "-thumb".
Alberto Garcia [Fri, 3 Oct 2008 11:38:16 +0000 (11:38 +0000)]
2008-10-03 Alberto Garcia <agarcia@igalia.com>
* src/hildon-check-button.c (hildon_check_button_set_active): Emit
'clicked' when the state of the button is manually changed.
Alberto Garcia [Thu, 2 Oct 2008 16:49:06 +0000 (16:49 +0000)]
2008-10-02 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c (hildon_app_menu_realize)
(hildon_app_menu_unrealize, hildon_app_menu_init)
(hildon_app_menu_class_init, item_visibility_changed):
Change the menu layout when the size of the screen changes.
(hildon_app_menu_set_columns, hildon_app_menu_set_property):
Show warning only when changing the number of colums using the
property.
Claudio Saavedra [Thu, 2 Oct 2008 09:00:53 +0000 (09:00 +0000)]
2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
* debian/compat: Set to 5
* debian/control: Update dependencies.
* debian/libhildon1-dbg.install: Remove.
* debian/libhildon1-dev.install: Update according to cdbs paths.
* debian/libhildon1.install: Update according to cdbs paths.
* debian/rules: Switch to cdbs.
Alberto Garcia [Wed, 1 Oct 2008 12:53:01 +0000 (12:53 +0000)]
2008-10-01 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c (hildon_app_menu_repack_filters):
'item' variable renamed to 'filter'
Alberto Garcia [Wed, 1 Oct 2008 11:38:37 +0000 (11:38 +0000)]
2008-10-01 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c (hildon_app_menu_insert)
(hildon_app_menu_add_filter, remove_item_from_list)
(hildon_app_menu_repack_filters, hildon_app_menu_finalize):
Don't leak hidden items when the menu is destroyed.
Alberto Garcia [Wed, 1 Oct 2008 10:39:21 +0000 (10:39 +0000)]
2008-10-01 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c (hildon_app_menu_insert)
(hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
(hildon_app_menu_set_columns, item_visibility_changed)
(filter_visibility_changed, hildon_app_menu_repack_filters)
(hildon_app_menu_repack_items):
Repack items and filters separately.
Don't repack all items, change only the ones that are needed to
update the layout.
Claudio Saavedra [Wed, 1 Oct 2008 10:20:54 +0000 (10:20 +0000)]
Updates from 2.1.12-2.
Alejandro Piñeiro [Wed, 1 Oct 2008 09:56:28 +0000 (09:56 +0000)]
2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
* src/Makefile.am: added hildon-touch-selector-column.h
Alejandro Piñeiro [Wed, 1 Oct 2008 08:14:15 +0000 (08:14 +0000)]
2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
* src/hildon-touch-selector.c: added the property "text-column" to the
class HildonTouchSelectorColumn, and related get/set functions
(_default_printf_func): updated to use "text-column" property
* src/hildon-touch-selector-entry.c: mark as deprecated the property
"text-column" in his documentation, as this is now included on
HildonTouchSelectorColumn. The get/set_property can still be used,
working as a wrapper to the concrete column "text-column" property
(_text_column_modified): callback added in order to handle the signal
"notify::text-column" of the concrete HildonTouchSelectorColumn
(hildon_touch_selector_entry_get_text_column)
(hildon_touch_selector_entry_set_text_column): Added documentation, and
modified in order to use the HildonTouchSelectorColumn "text-column"
property
* src/hildon-time-selector.c:
* src/hildon-date-selector.c:
* examples/hildon-touch-selector-example.c
* examples/hildon-touch-selector-multi-cells-example.c
* examples/hildon-picker-button-multicolumn-example.c
Set the right value to "text-column" property on the creation of a new
column using hildon_touch_selector_append_column()
Fixes: NB#88644 (Hardcoded first column of the model as text column
Alberto Garcia [Tue, 30 Sep 2008 18:07:40 +0000 (18:07 +0000)]
2008-09-30 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c
(hildon_app_menu_construct_child, hildon_app_menu_init): When
updating the layout of the menu, don't create all widgets again,
just repack the items in their new places.
Alejandro Piñeiro [Tue, 30 Sep 2008 17:48:31 +0000 (17:48 +0000)]
2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
* src/hildon-time-selector.c
(hildon_time_selector_get_time)
(hildon_time_selector_set_time)
Added documentation of these public methods
* src/hildon-date-button.h
* src/hildon-touch-selector-column.h
* src/hildon-time-button.h
* src/hildon-picker-dialog.h
* src/hildon-time-selector.h
* src/hildon-picker-button.h
* src/hildon-touch-selector.h
* src/hildon-time-picker.h
* src/hildon-date-selector.h
* src/hildon-touch-selector-entry.h
Modified in order to use hildon-widgets code style
Alejandro G. Castro [Tue, 30 Sep 2008 11:56:18 +0000 (11:56 +0000)]
Added deprecated support to the compilation process using HILDON_DISABLE_DEPRECATED
* configure.ac: Added the --disable-deprecated to the configure
script
* src/hildon-weekday-picker.c:
* src/hildon-weekday-picker.h: Deprecated widget, example of how
to use the deprecated support. We will update the other deprecated
widgets status in a new patch.
Alejandro G. Castro [Tue, 30 Sep 2008 08:22:36 +0000 (08:22 +0000)]
* configure.ac: Fixed typo with fatal warnings support, the variable name was not correct
Alberto Garcia [Mon, 29 Sep 2008 17:41:21 +0000 (17:41 +0000)]
2008-09-29 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c: Update documentation.
Alberto Garcia [Mon, 29 Sep 2008 14:44:43 +0000 (14:44 +0000)]
2008-09-29 Alberto Garcia <agarcia@igalia.com>
* src/hildon-program.c: Update documentation.