Claudio Saavedra [Mon, 24 Nov 2008 20:58:06 +0000 (20:58 +0000)]
Revert postrelease bump and fix NEWS
Claudio Saavedra [Mon, 24 Nov 2008 20:52:42 +0000 (20:52 +0000)]
2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
* configure.ac: post release version bump
* debian/changelog: version bump
Claudio Saavedra [Mon, 24 Nov 2008 20:44:58 +0000 (20:44 +0000)]
2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
[Release 2.1.24]
* NEWS: updates
* configure.ac: bump version
* debian/changelog: updates
Claudio Saavedra [Mon, 24 Nov 2008 18:12:32 +0000 (18:12 +0000)]
Removing reference to GTK+ bug.
Claudio Saavedra [Mon, 24 Nov 2008 16:58:31 +0000 (16:58 +0000)]
2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
Based on initial code by Christian Dywan (christian@imendio.com)
* doc/hildon-docs.sgml: Add section for hildon-main.
* examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
* src/Makefile.am: Add new hildon-main.[ch]
* src/hildon-defines.h: Update the icon sizes.
* src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
new library initialization files and register icon sizes.
* src/hildon-main.h: New declarations.
* src/hildon.h: Include hildon-main.h
Add new initialization functions to the library. These methods
will register the hildon specific icon sizes and can be used in the
future for other hildon specific bits.
Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
Fixes: NB#93075 (Update icon size constants to Fremantle)
Claudio Saavedra [Fri, 21 Nov 2008 19:43:13 +0000 (19:43 +0000)]
2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-window.c: (hildon_window_realize),
(hildon_window_notify), (-hildon_window_update_title): Do not set
the application name in the window title.
Fixes: NB#89754 (Applications shouldn't display their names in the
window title)
Claudio Saavedra [Fri, 21 Nov 2008 13:19:18 +0000 (13:19 +0000)]
2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-note-private.h:
* src/hildon-note.c: (hildon_note_set_property),
(hildon_note_get_property), (hildon_note_class_init),
(hildon_note_init), (hildon_note_finalize),
(hildon_note_new_confirmation_with_icon_name),
(hildon_note_new_information_with_icon_name):
No need to mark as deprecated the actual code. Revert
to avoid missing symbols in widgets using deprecated API.
Alberto Garcia [Thu, 20 Nov 2008 18:09:34 +0000 (18:09 +0000)]
2008-11-20 Alberto Garcia <agarcia@igalia.com>
Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
* src/hildon-volumebar.h
* src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
(hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
* src/hildon-helper.h
* src/hildon-helper.c (hildon_helper_set_insensitive_message)
(hildon_helper_set_insensitive_messagef): Mark as deprecated.
* examples/Makefile.am:
Deprecate hildon-insensitive-example
Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
Alberto Garcia [Thu, 20 Nov 2008 15:54:59 +0000 (15:54 +0000)]
2008-11-20 Alberto Garcia <agarcia@igalia.com>
* examples/hildon-pannable-area-buttons-scroll-example.c:
Make all buttons finger height
Alejandro Piñeiro [Thu, 20 Nov 2008 12:16:22 +0000 (12:16 +0000)]
2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
* src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
documentation
* src/hildon-date-selector.c: (_update_day_model): Modified in order to
update the day model only if it is really required, and to avoid the
full-reconstruction aproach. Now it only add or remove the required days.
The purpose of this is avoid superfluous HildonTouchSelector::changed
signals
Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
with strange parameters)
Claudio Saavedra [Wed, 19 Nov 2008 19:44:15 +0000 (19:44 +0000)]
2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
* src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
the WINDOW_TYPE property.
Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
Alberto Garcia [Wed, 19 Nov 2008 19:33:50 +0000 (19:33 +0000)]
2008-11-19 Alberto Garcia <agarcia@igalia.com>
* doc/gtk-doc.make:
Fix dependency to allow parallel compilation with make -jX
Claudio Saavedra [Tue, 18 Nov 2008 16:33:10 +0000 (16:33 +0000)]
2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-color-chooser-dialog.c: Use theme colors for the selected
color frame and some minor tweaks to make it more consistent with
current theming.
Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
highlighted but not visible)
Alejandro G. Castro [Tue, 18 Nov 2008 11:30:09 +0000 (11:30 +0000)]
* examples/Makefile.am: Fixed typo in the Makefile.am.
Alejandro G. Castro [Fri, 14 Nov 2008 13:08:38 +0000 (13:08 +0000)]
Reviewed the use of MAEMO_GTK define, now we add the define in the compilation line, and we also add it to the pc file.
* configure.ac: Added MAEMO_GTK define to the compilation command
and removed it from the config.h.
* pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
do not have to take care about this define if the library was
compiled with it.
* src/hildon-gtk.c:
* src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
Alejandro G. Castro [Fri, 14 Nov 2008 12:00:59 +0000 (12:00 +0000)]
* examples/Makefile.am, * examples/hildon-pannable-area-buttons-scroll-example.c, * examples/hildon-pannable-area-gesture-signals-example.c, * examples/hildon-pannable-area-scroll-jump-example.c, * examples/hildon-pannable-area-tree-view-example.c: Renamed the pannable area examples, now they have more meaningful names.
Alejandro Piñeiro [Thu, 13 Nov 2008 15:50:09 +0000 (15:50 +0000)]
2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
* src/hildon-touch-selector.c:
(hildon_touch_selector_set_column_selection_mode): Used of
GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
to avoid re-seting the same selection mode.
Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
breaks HildonPickerDialog)
Alejandro G. Castro [Thu, 13 Nov 2008 14:02:00 +0000 (14:02 +0000)]
* examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK conditional in the Makefile.am
Claudio Saavedra [Wed, 12 Nov 2008 19:09:07 +0000 (19:09 +0000)]
2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
Remove unused methods.
Alberto Garcia [Wed, 12 Nov 2008 13:30:07 +0000 (13:30 +0000)]
2008-11-12 Alberto Garcia <agarcia@igalia.com>
* src/hildon-button.c (hildon_button_init):
Make button images center-aligned by default
Alejandro G. Castro [Wed, 12 Nov 2008 11:50:05 +0000 (11:50 +0000)]
* src/hildon-gtk.c: * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES activated, we have to think about how to deal with both defines MAEMO_GTK and MAEMO_CHANGES.
Alberto Garcia [Wed, 12 Nov 2008 11:34:40 +0000 (11:34 +0000)]
2008-11-12 Alberto Garcia <agarcia@igalia.com>
* examples/hildon-app-menu-example.c (create_menu): Make all
buttons finger size.
Alejandro G. Castro [Tue, 11 Nov 2008 19:11:50 +0000 (19:11 +0000)]
Fixed the compilation without maemo gtk adding ifdefs with MAEMO_CHANGES define to the code, we have to check this version more carefully.
* examples/Makefile.am: Added control to avoid some examples that
just make sense with maemo gtk.
* src/hildon-gtk.c:
* src/hildon-gtk.h: Remove some functions that use the maemo gtk
hildon modes with the define.
* examples/hildon-edit-toolbar-example.c,
(create_icon_view): Create the icon view without hildon-gtk
helpers if we are not using maemo gtk.
* src/hildon-touch-selector.c,
(_create_new_column): Create the treeview without hildon-gtk
helpers if we are not using maemo gtk.
Alejandro G. Castro [Tue, 11 Nov 2008 18:02:07 +0000 (18:02 +0000)]
2008-11-11 Alejandro G. Castro <alex@igalia.com>
* src/hildon-pnnable-area.c,
(hildon_pannable_area_dispose),
(hildon_pannable_area_button_press_cb),
(hildon_pannable_area_child_mapped),
(hildon_pannable_area_add),
(hildon_pannable_area_remove): Added code to control the position
of the event_window when adding and removing children from the
pannable. We have to raise the event window when the child is
mapped.
Fixes: NB#89811 (Not able to select first image thumbnail in multi
selection mode using custom widget inside pannable)
Claudio Saavedra [Tue, 11 Nov 2008 10:58:30 +0000 (10:58 +0000)]
2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
* configure.ac: post release version bump
* debian/changelog: version bump
Claudio Saavedra [Tue, 11 Nov 2008 10:54:50 +0000 (10:54 +0000)]
2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
[Release 2.1.22]
* NEWS: updates
* configure.ac: bump version
* debian/changelog: updates
Alejandro Piñeiro [Mon, 10 Nov 2008 17:20:50 +0000 (17:20 +0000)]
08-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
* src/hildon-touch-selector.c: (_create_new_column): Disable treeview
search mode, in order to avoid lose the focus on the treeview when
a hw key (like enter) is pressed.
Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
in HildonDateSelector dialog)
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)