Alberto Garcia [Tue, 2 Dec 2008 11:58:25 +0000 (11:58 +0000)]
Minor documentation fix of previous commit
Alberto Garcia [Tue, 2 Dec 2008 11:54:16 +0000 (11:54 +0000)]
2008-12-02 Alberto Garcia <agarcia@igalia.com>
* examples/hildon-app-menu-example.c (create_menu)
Show items after adding them to the menu, as in the future the
menu will no longer call gtk_widget_show() on the added items.
* src/hildon-app-menu.c:
Update example as explained above.
Alberto Garcia [Tue, 2 Dec 2008 11:54:02 +0000 (11:54 +0000)]
2008-12-02 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c
(hildon_app_menu_insert, hildon_app_menu_add_filter):
Make sure that all menu items have finger height.
Alejandro Piñeiro [Mon, 1 Dec 2008 18:04:58 +0000 (18:04 +0000)]
2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
* src/hildon-picker-dialog.c:
(_on_dialog_response), (_save_current_selection),
(_restore_current_selection), (_clean_current_selection),
(hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
Defined new functions in order to save the current internal selector
selection previous open the dialog, in case that the use cancel the
interaction, so the widget restores the previous selection.
Fixes: NB#92032
(requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
Alberto Garcia [Fri, 28 Nov 2008 17:53:12 +0000 (17:53 +0000)]
2008-11-28 Alberto Garcia <agarcia@igalia.com>
* src/hildon-button.c: Add a reference to the button examples in
hildon-button-example.c
* examples/hildon-button-example.c: Added examples of the most
common button layouts.
Alberto Garcia [Fri, 28 Nov 2008 14:22:53 +0000 (14:22 +0000)]
2008-11-28 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c (hildon_app_menu_show)
(hildon_app_menu_class_init): Don't show the menu if it's empty.
Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
Claudio Saavedra [Fri, 28 Nov 2008 00:24:08 +0000 (00:24 +0000)]
ChangeLog width fixes
Claudio Saavedra [Fri, 28 Nov 2008 00:21:14 +0000 (00:21 +0000)]
2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-picker-dialog.c:
(hildon_picker_dialog_init): Initialize the signal id for
HildonTouchSelector::columns-changed.
(+on_selector_columns_changed): Set up the interaction mode everytime a
column is added or removed from the HildonTouchSelector.
(_hildon_picker_dialog_set_selector): Connect to HildonTouchSelector::columns-changed
and keep track of it.
Make sure to update the interaction mode of the dialog everytime a column is added
or removed in the HildonTouchSelector.
Fixes: NB#93228 (Done button is not shown always in listpicker)
Claudio Saavedra [Fri, 28 Nov 2008 00:13:20 +0000 (00:13 +0000)]
2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add a new
::columns-changed signal.
(hildon_touch_selector_append_column): Emit ::columns-changed.
(hildon_touch_selector_remove_column): Emit ::columns-changed.
Add a ::columns-changed signal, emitted when the number of columns in a
HildonTouchSelector changes.
Claudio Saavedra [Thu, 27 Nov 2008 20:15:57 +0000 (20:15 +0000)]
2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-picker-dialog.c: (+setup_interaction_mode),
(_hildon_picker_dialog_set_selector): Factor out the code
to set up the dialog interaction mode.
Claudio Saavedra [Thu, 27 Nov 2008 19:27:57 +0000 (19:27 +0000)]
2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
(_hildon_picker_dialog_set_selector): Rename signal_id private variable
to signal_changed_id.
Claudio Saavedra [Thu, 27 Nov 2008 19:06:11 +0000 (19:06 +0000)]
2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
Minor doc. fixes.
Alejandro Piñeiro [Thu, 27 Nov 2008 18:33:04 +0000 (18:33 +0000)]
2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
* src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
Updated the logical ids related to ampm format, as now it is required to
show it correctly localized even on languages with no default abbreviations
for am or pm
(_check_am_pm_format): check correctly the 24h format gconf property
Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
Alberto Garcia [Thu, 27 Nov 2008 17:28:53 +0000 (17:28 +0000)]
2008-11-27 Alberto Garcia <agarcia@igalia.com>
* src/hildon-button.c: Documentation updates.
Claudio Saavedra [Thu, 27 Nov 2008 16:48:45 +0000 (16:48 +0000)]
Fix changelog description
Claudio Saavedra [Thu, 27 Nov 2008 16:48:29 +0000 (16:48 +0000)]
2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-marshalers.list: Add BOOLEAN:VOID.
* src/hildon-caption.c: (hildon_caption_class_init):
* src/hildon-color-button.c: (hildon_color_button_class_init):
* src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
* src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
* src/hildon-volumebar.c: (hildon_volumebar_class_init):
* src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
Replace deprecated GTK+ marshalers and replace them with the ones provided
by GLib, for those available, add a marshaler for BOOLEAN:VOID, which
is not available in GLib, and use it.
Claudio Saavedra [Thu, 27 Nov 2008 13:29:50 +0000 (13:29 +0000)]
Fix ChangeLog for previous entry
Claudio Saavedra [Thu, 27 Nov 2008 13:28:35 +0000 (13:28 +0000)]
2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-touch-selector.c: (_default_print_func): Do not reuse
the text from the previous column if there is no
HildonTouchSelectorColumn::text-property set.
Alberto Garcia [Thu, 27 Nov 2008 12:49:55 +0000 (12:49 +0000)]
2008-11-27 Alberto Garcia <agarcia@igalia.com>
* src/hildon-button.h
* src/hildon-button.c (hildon_button_set_property)
(hildon_button_get_property, hildon_button_class_init)
(hildon_button_set_style, hildon_button_get_style):
New "style" property to change the visual appearance of the
button.
* src/hildon-picker-button.c (hildon_picker_button_new):
Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
HildonButton look like PickerButton)
Claudio Saavedra [Thu, 27 Nov 2008 12:27:03 +0000 (12:27 +0000)]
2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-touch-selector.c: (_default_print_func): Get the correct
column while building the default string.
Claudio Saavedra [Tue, 25 Nov 2008 20:27:10 +0000 (20:27 +0000)]
2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-touch-selector.c: (_create_new_column): Do not disable the
scroll indicator by default.
Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
Claudio Saavedra [Tue, 25 Nov 2008 15:34:00 +0000 (15:34 +0000)]
2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-main.c: Fix the documentation for hildon_init()
Alberto Garcia [Tue, 25 Nov 2008 14:31:06 +0000 (14:31 +0000)]
2008-11-25 Alberto Garcia <agarcia@igalia.com>
* doc/hildon-docs.sgml
* doc/hildon.types
* src/Makefile.am
* src/hildon.h
* src/hildon-window-stack-private.h
* src/hildon-window-stack.h
* src/hildon-window-stack.c:
New HildonWindowStack object, that adds support for multiple
stacks of windows per process.
* src/hildon-stackable-window-private.h
* src/hildon-stackable-window.h
* src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
(hildon_stackable_window_get_stack, hildon_stackable_window_map)
(hildon_stackable_window_show, hildon_stackable_window_hide)
(hildon_stackable_window_class_init)
(hildon_stackable_window_init):
Use HildonWindowStack for stack management.
* src/hildon-program.c (hildon_program_pop_window_stack)
(hildon_program_peek_window_stack)
(hildon_program_go_to_root_window):
Add a fallback implementation to the deprecated functions using
HildonWindowStack.
* examples/hildon-stackable-window-example.c:
Use the new HildonWindowStack API.
Alberto Garcia [Tue, 25 Nov 2008 14:30:46 +0000 (14:30 +0000)]
2008-11-25 Alberto Garcia <agarcia@igalia.com>
* src/hildon-stackable-window-private.h
* src/hildon-stackable-window.c (hildon_stackable_window_show)
(hildon_stackable_window_hide, hildon_stackable_window_init):
Remove all window stack management.
* src/hildon-program-private.h
* src/hildon-program.h
* src/hildon-program.c (hildon_program_init)
(hildon_program_pop_window_stack)
(hildon_program_peek_window_stack)
(hildon_program_go_to_root_window):
Remove all window stack management and mark functions as
deprecated.
Alberto Garcia [Tue, 25 Nov 2008 11:19:10 +0000 (11:19 +0000)]
2008-11-25 Alberto Garcia <agarcia@igalia.com>
* src/hildon-app-menu.c (hildon_app_menu_realize):
Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
Claudio Saavedra [Mon, 24 Nov 2008 21:04:15 +0000 (21:04 +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: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)