hildon
15 years ago2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Tue, 23 Sep 2008 10:47:39 +0000 (10:47 +0000)]
2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>

* src/hildon-touch-selector.c:
(hildon_touch_selector_class_init): added gtkrc bits in order to ensure
that the treeview inside the touch selector is in fremantle hildon mode
* examples/hildon-date-button-example.c
* examples/hildon-picker-button-multicolumn-example.c
* examples/hildon-touch-selector-entry-example.c
* examples/hildon-touch-selector-example.c
* examples/hildon-time-button-example.c
* examples/hildon-picker-button-example.c:
(main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c

15 years ago2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 22 Sep 2008 13:24:30 +0000 (13:24 +0000)]
2008-09-22 Claudio Saavedra <csaavedra@igalia.com>

* examples/hildon-text-view-example.c: (main): Remove the
gtkrc bits, now handled by the theme.

15 years ago2008-09-22 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 22 Sep 2008 10:16:15 +0000 (10:16 +0000)]
2008-09-22 Alberto Garcia <agarcia@igalia.com>

* src/hildon-picker-button.c (hildon_picker_button_set_active):
Fix memory leak

15 years agoRestoring email addresses in ChangeLog
Claudio Saavedra [Mon, 22 Sep 2008 09:06:04 +0000 (09:06 +0000)]
Restoring email addresses in ChangeLog

15 years ago2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 19 Sep 2008 13:48:30 +0000 (13:48 +0000)]
2008-09-19 Claudio Saavedra <csaavedra@igalia.com>

* po/Makefile.am: Install properly the mo files.
* po/en_GB.po: Update translation, to ease testing purposes.

15 years ago2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 19 Sep 2008 13:36:55 +0000 (13:36 +0000)]
2008-09-19 Claudio Saavedra <csaavedra@igalia.com>

* examples/hildon-picker-button-example.c: (main): Select an item
in the selector before setting it to the button.

15 years ago2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 19 Sep 2008 13:35:11 +0000 (13:35 +0000)]
2008-09-19 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-button.c: (hildon_picker_button_set_selector):
Update button's value if the selector has an item active.

Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
'value' with the selector)

15 years agoFix ChangeLog's width.
Claudio Saavedra [Fri, 19 Sep 2008 12:03:33 +0000 (12:03 +0000)]
Fix ChangeLog's width.

15 years ago2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 19 Sep 2008 12:01:31 +0000 (12:01 +0000)]
2008-09-19 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref the HildonTouchSelector
and destroy the underlying HildonPickerDialog.
(hildon_picker_button_class_init): Plug the finalize method.
(hildon_picker_button_set_selector): If there's a previously set selector, unref'it before
setting a new one.

Fixes: NB#88720 (HildonPickerButton leaks a reference to the HildonTouchSelector)

15 years agoMerge changes from 2.1.10-2.
Claudio Saavedra [Wed, 17 Sep 2008 10:01:14 +0000 (10:01 +0000)]
Merge changes from 2.1.10-2.

15 years ago2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 16 Sep 2008 12:58:06 +0000 (12:58 +0000)]
2008-09-16 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector-entry.c:
(hildon_touch_selector_entry_changed): Check if there is no text
selected before setting the entry text.
Fixes: NB#88576

15 years ago2008-09-15 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 15 Sep 2008 18:27:25 +0000 (18:27 +0000)]
2008-09-15 Alberto Garcia <agarcia@igalia.com>

* src/hildon-touch-selector.h
* src/hildon-touch-selector.c
(hildon_touch_selector_get_active)
(hildon_touch_selector_set_active): New methods to set/get the
index of the selected item.

* src/hildon-picker-button.h
* src/hildon-picker-button.c
(hildon_picker_button_get_active)
(hildon_picker_button_set_active): New methods to set/get the
index of the selected item.

15 years ago2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 15 Sep 2008 15:51:50 +0000 (15:51 +0000)]
2008-09-15 Claudio Saavedra <csaavedra@igalia.com>

* configure.ac: post-release version bump.

15 years ago2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 15 Sep 2008 15:49:18 +0000 (15:49 +0000)]
2008-09-15 Claudio Saavedra <csaavedra@igalia.com>

Release 2.1.10-1.

* configure.ac: Pre-release version bump.
* debian/changelog: Updates.
* debian/control: Add myself as maintainer and depend on l10n
packages.

15 years ago2008-09-15 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 15 Sep 2008 13:47:35 +0000 (13:47 +0000)]
2008-09-15 Alberto Garcia <agarcia@igalia.com>

* src/hildon-window.c
(hildon_window_set_main_menu)
* src/hildon-stackable-window.c
(hildon_stackable_window_set_main_menu):
Updated documentation.

15 years ago2008-09-15 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 15 Sep 2008 12:05:28 +0000 (12:05 +0000)]
2008-09-15 Alberto Garcia <agarcia@igalia.com>

* src/hildon-date-selector.c (hildon_date_selector_finalize):
Don't free selector->priv manually.
Fixes: NB#88414

15 years ago* src/hildon-gtk.c, (hildon_gtk_window_set_progress_indicator): * src/hildon-gtk...
Alejandro G. Castro [Fri, 12 Sep 2008 13:07:20 +0000 (13:07 +0000)]
* src/hildon-gtk.c, (hildon_gtk_window_set_progress_indicator): * src/hildon-gtk.h: Added the new API hildon_gtk_window_set_progress_indicator, it changes the state of the window progress hint.

15 years ago2008-09-12 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 12 Sep 2008 10:38:46 +0000 (10:38 +0000)]
2008-09-12 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.c
* src/hildon-stackable-window.c: Minor documentation updates.

15 years ago2008-09-12 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 12 Sep 2008 10:12:47 +0000 (10:12 +0000)]
2008-09-12 Alberto Garcia <agarcia@igalia.com>

* src/hildon-stackable-window.c: Updated documentation.

15 years agoRefer to bug number in ChangeLog.
Claudio Saavedra [Fri, 12 Sep 2008 07:32:44 +0000 (07:32 +0000)]
Refer to bug number in ChangeLog.

15 years ago2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 12 Sep 2008 07:30:30 +0000 (07:30 +0000)]
2008-09-12 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-defines.h: Update margins definitions
to the Fremantle sizes.

15 years ago* src/hildon-touch-selector.c, (_hildon_touch_selector_set_model): Cleaning the code...
Alejandro G. Castro [Fri, 12 Sep 2008 06:59:11 +0000 (06:59 +0000)]
* src/hildon-touch-selector.c, (_hildon_touch_selector_set_model): Cleaning the code after review, removed g_print and #if 0 from the code.

15 years ago2008-09-11 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 11 Sep 2008 14:39:31 +0000 (14:39 +0000)]
2008-09-11 Alberto Garcia <agarcia@igalia.com>

* src/hildon-edit-toolbar.c: Update documentation.

15 years ago2008-09-11 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 11 Sep 2008 13:38:33 +0000 (13:38 +0000)]
2008-09-11 Alberto Garcia <agarcia@igalia.com>

* src/hildon-check-button.h
* src/hildon-check-button.c
(hildon_check_button_set_label, hildon_check_button_get_label)
* examples/hildon-check-button-example.c
(button_clicked_cb):
Removed deprecated methods.

15 years ago2008-09-11 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 11 Sep 2008 11:49:02 +0000 (11:49 +0000)]
2008-09-11 Alberto Garcia <agarcia@igalia.com>

* src/hildon-text-view.c:
Add sample code to the documentation.

* src/hildon-entry.h
* src/hildon-text-view.h:
Minor cosmetic changes.

* src/hildon-entry.c:
Add sample code to the documentation.
(hildon_entry_init, hildon_entry_refresh_contents):
Don't allow NULL values in the placeholder.

15 years ago2008-09-10 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 10 Sep 2008 16:22:17 +0000 (16:22 +0000)]
2008-09-10 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-docs.sgml
* doc/hildon.types
* examples/Makefile.am
* examples/hildon-text-view-example.c
* src/Makefile.am
* src/hildon-text-view.c
* src/hildon-text-view.h
* src/hildon.h:
New HildonTextView widget, with example.

15 years ago2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 10 Sep 2008 11:47:23 +0000 (11:47 +0000)]
2008-09-10 Claudio Saavedra <csaavedra@igalia.com>

* po/POTFILES.in: Add missing files with translatable strings.
Partially fixes NB#88287.

15 years ago2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 10 Sep 2008 11:15:33 +0000 (11:15 +0000)]
2008-09-10 Claudio Saavedra <csaavedra@igalia.com>

* examples/hildon-pannable-area-example-2.c: (main): No need to
set the cellrenderer height inside hildon touch lists, the theme does
that for us.

15 years ago2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 10 Sep 2008 07:14:38 +0000 (07:14 +0000)]
2008-09-10 Claudio Saavedra <csaavedra@igalia.com>

* examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
they are integrated in the theme.

15 years ago2008-09-09 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 9 Sep 2008 13:21:19 +0000 (13:21 +0000)]
2008-09-09 Alberto Garcia <agarcia@igalia.com>

* examples/hildon-entry-example.c: Update the example adding
widgets to modify the text and the placeholder of the HildonEntry.

* src/hildon-entry.c: Show the placeholder everytime the widget
is empty and loses the focus.

15 years agoPatch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
Alejandro G. Castro [Tue, 9 Sep 2008 09:53:38 +0000 (09:53 +0000)]
Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)

* src/hildon-pannable-area.c,
(hildon_pannable_area_size_request): Fixed bug in height
requisition, avoid increasing size and add border twice.

15 years ago2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 9 Sep 2008 09:36:44 +0000 (09:36 +0000)]
2008-09-09 Claudio Saavedra <csaavedra@igalia.com>

* configure.ac: postrelease version bump.

15 years ago2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 9 Sep 2008 08:09:52 +0000 (08:09 +0000)]
2008-09-09 Claudio Saavedra <csaavedra@igalia.com>

Release 2.1.8-1.

* configure.ac: Prerelease version bump.
* debian/changelog: update.
* debian/rules: make -dbg package contain useful debugging symbols.

15 years ago2008-09-08 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 8 Sep 2008 18:28:21 +0000 (18:28 +0000)]
2008-09-08 Alberto Garcia <agarcia@igalia.com>

* src/hildon-dialog.h
* src/hildon-dialog.c
(hildon_dialog_add_button, hildon_dialog_add_buttons):
New methods to add buttons with finger size.
(hildon_dialog_new_with_buttons):
Create buttons with finger size.

* examples/hildon-dialog-example.c (main): Use HildonDialog
methods to add buttons.

15 years ago2008-09-08 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 8 Sep 2008 15:19:16 +0000 (15:19 +0000)]
2008-09-08 Alberto Garcia <agarcia@igalia.com>

* src/hildon-entry.c: Updated HildonButton documentation.

15 years ago2008-09-08 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 8 Sep 2008 13:57:27 +0000 (13:57 +0000)]
2008-09-08 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.c (hildon_button_set_arrangement): Pack the
button value label with (FALSE, FALSE) to prevent NB#88126 from
being triggered.

15 years ago* examples/hildon-pannable-area-example.c, (main): Removed examples panning a vbox...
Alejandro G. Castro [Mon, 8 Sep 2008 11:01:10 +0000 (11:01 +0000)]
* examples/hildon-pannable-area-example.c, (main): Removed examples panning a vbox inside a pannable area. Check bug NB#87965

15 years ago* Undo the undesired changes of this example
Alejandro G. Castro [Mon, 8 Sep 2008 10:46:05 +0000 (10:46 +0000)]
* Undo the undesired changes of this example

15 years agoPatch contributed by Kris Rietveld (kris@imendio.com)
Alejandro G. Castro [Mon, 8 Sep 2008 10:02:12 +0000 (10:02 +0000)]
Patch contributed by Kris Rietveld (kris@imendio.com)

* src/hildon-pannable-area.c,
(hildon_pannable_area_get_topmost): replaced the get_geometry with
get_size and get_position, this saves an X server roundtrip.

15 years ago2008-09-05 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 5 Sep 2008 18:47:23 +0000 (18:47 +0000)]
2008-09-05 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-docs.sgml
* doc/hildon.types
* examples/Makefile.am
* examples/hildon-entry-example.c
* src/Makefile.am
* src/hildon-entry.c
* src/hildon-entry.h
* src/hildon.h:
New HildonEntry widget, with example.

15 years ago2008-09-05 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 5 Sep 2008 14:00:06 +0000 (14:00 +0000)]
2008-09-05 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.c (hildon_button_construct_child): Pack the
image with expand == fill == FALSE. This is a workaround for a bug
in GtkBox.

15 years ago2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 5 Sep 2008 08:02:44 +0000 (08:02 +0000)]
2008-09-05 Claudio Saavedra <csaavedra@igalia.com>

* examples/hildon-pannable-area-example-2.c: (main): Use the stock
labels for the text column, to make it more look more dynamic.

15 years ago2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Thu, 4 Sep 2008 13:51:36 +0000 (13:51 +0000)]
2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>

* src/hildon-time-selector.c
Define gettext auxiliar macro N_
(_create_minutes_model)
(_create_hours_model)
(_create_ampm_model): use of strftime in order to fill the model
* src/hildon-date-selector.c
(hildon_date_selector_finalize):
(_locales_init): remove the logic related to get the name of the months
using nl_langinfo, as it is not required anymore
(_create_day_model)
(_create_year_model)
(_create_month_model)
(_update_day_model): use of strftime in order to fill the model properly

15 years ago2008-09-04 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 4 Sep 2008 13:26:06 +0000 (13:26 +0000)]
2008-09-04 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.h
* src/hildon-button.c (hildon_button_get_image): New method to
retrieve the image.

15 years agoUndo an accidental change.
Claudio Saavedra [Thu, 4 Sep 2008 11:46:19 +0000 (11:46 +0000)]
Undo an accidental change.

15 years ago2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 4 Sep 2008 11:44:48 +0000 (11:44 +0000)]
2008-09-04 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector.c:
(hildon_touch_selector_remove_column): Remove from the correct parent
and also remove the list element and free it.
Fixes: NB#88049

15 years ago008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Thu, 4 Sep 2008 07:15:50 +0000 (07:15 +0000)]
008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>

* src/hildon-time-selector.c
(_create_hours_model): change the range on 12h ampm format in order to use
a 12-11 range instead of previous 01-12 range
(hildon_time_selector_set_time): change the way to select the current time
on 12h ampm format, due the change on the range
(hildon_time_selector_get_time): fix the hour returned on 12 ampm format
Fixes: NB#88036

15 years ago2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Wed, 3 Sep 2008 10:59:48 +0000 (10:59 +0000)]
2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>

* src/hildon-touch-selector.c
(hildon_date_touch_selector_get_selected): fix the selection mode check,
in order to allow use this function on multiple row selection mode if
the column is different that the first one
Fixes: NB#88047

15 years ago2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Wed, 3 Sep 2008 08:22:19 +0000 (08:22 +0000)]
2008-09-03 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.

15 years ago2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Tue, 2 Sep 2008 17:37:38 +0000 (17:37 +0000)]
2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>

* src/hildon-date-selector.h: clean some comments, now on the .c
* src/hildon-date-selector.c
(hildon_date_selector_select_month): first implementation
(hildon_date_selector_select_day): added documentation, reimplemented
using hildon_date_selector_select_current_date to avoid repeat code
Fixes: NB#88027

15 years agoReviewed interaction logic based on device experiences, refactored code.
Alejandro G. Castro [Tue, 2 Sep 2008 16:29:49 +0000 (16:29 +0000)]
Reviewed interaction logic based on device experiences, refactored code.

* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init): Updated default vmax speed.
(hildon_pannable_area_calculate_velocity): Added this function, it
avoids duplicate valocity calculation. Adjusted calculation to
avoid problems with zero dist events.

(hildon_pannable_area_motion_notify_cb): Now we use the
calculate_velocity function.

15 years ago2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Tue, 2 Sep 2008 16:16:19 +0000 (16:16 +0000)]
2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>

* src/hildon-date-selector.c
(hildon_date_selector_select_current_date): fix the day range check
as it failed using the last day of the current month
Fixes NB#88023

15 years ago2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Tue, 2 Sep 2008 15:37:42 +0000 (15:37 +0000)]
2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>

* src/hildon-touch-selector.c
(hildon_touch_selector_get_num_columns): added a parameter validation
Fixes: NB#88022

15 years ago2008-08-29 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 29 Aug 2008 14:43:04 +0000 (14:43 +0000)]
2008-08-29 Alberto Garcia <agarcia@igalia.com>

* examples/Makefile.am
* examples/hildon-edit-toolbar-example.c: Example of the
HildonEditToolbar widget.

15 years ago2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 29 Aug 2008 12:50:28 +0000 (12:50 +0000)]
2008-08-29 Claudio Saavedra <csaavedra@igalia.com>

* configure.ac: postrelease version bump.

15 years ago2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 29 Aug 2008 12:47:33 +0000 (12:47 +0000)]
2008-08-29 Claudio Saavedra <csaavedra@igalia.com>

Release 2.1.6-1.

* configure.ac: prerelease version bump.
* debian/changelog: update.

15 years ago2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 29 Aug 2008 10:57:20 +0000 (10:57 +0000)]
2008-08-29 Claudio Saavedra <csaavedra@igalia.com>

* examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
renderer to display stock icons in the touch list. Also, set the sizes
to the recommended in the style guide.

15 years ago2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com> * src/hildon-touch-selector...
Alejandro Piñeiro [Fri, 29 Aug 2008 09:32:14 +0000 (09:32 +0000)]
2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com> * src/hildon-touch-selector.h (hildon_touch_selector_set_active_iter): renamed, now is hildon_touch_selector_select_iter (hildon_touch_selector_get_active_iter): renamed, now is hildon_touch_selector_get_selected (hildon_touch_selector_unselect_iter): added * src/hildon-touch-selector.c Update after API modification (methods renamed) (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in order to avoid problems selecting multiple elements on the column (hildon_touch_selector_unselect_iter): added the implementation * src/hildon-time-selector.c * src/hildon-date-selector.c * src/hildon-touch-selector-entry.c Update methods calls after hildon-touch-selector.h API modification (methods renamed

15 years ago2008-08-29 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 29 Aug 2008 09:14:41 +0000 (09:14 +0000)]
2008-08-29 Alberto Garcia <agarcia@igalia.com>

* src/hildon-stackable-window.c
(hildon_stackable_window_finalize): Call the parent class's finalize.

15 years ago2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 29 Aug 2008 09:05:28 +0000 (09:05 +0000)]
2008-08-29 Claudio Saavedra <csaavedra@igalia.com>

* examples/hildon-touch-selector-example.c: (create_selector): Use
gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
cell height.

15 years ago2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 29 Aug 2008 09:00:28 +0000 (09:00 +0000)]
2008-08-29 Claudio Saavedra <csaavedra@igalia.com>

* examples/hildon-touch-selector-example.c: (create_selector): Do not
set a cell background color, to respect theming.

15 years ago2008-08-28 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 28 Aug 2008 18:24:08 +0000 (18:24 +0000)]
2008-08-28 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-docs.sgml
* doc/hildon.types
* src/Makefile.am
* src/hildon-edit-toolbar.c
* src/hildon-edit-toolbar.h
* src/hildon.h: New HildonEditToolbar widget.

15 years ago2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 28 Aug 2008 11:41:22 +0000 (11:41 +0000)]
2008-08-28 Claudio Saavedra <csaavedra@igalia.com>

* examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
extra GtkVBox.

15 years ago2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com> * src/hildon-touch-selector...
Alejandro Piñeiro [Thu, 28 Aug 2008 09:09:28 +0000 (09:09 +0000)]
2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com> * src/hildon-touch-selector.c (_create_new_column): use g_object_set instead of two g_object_set_property

15 years ago2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com> * src/hildon-touch-selector...
Alejandro Piñeiro [Thu, 28 Aug 2008 08:37:14 +0000 (08:37 +0000)]
2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com> * src/hildon-touch-selector.c (_create_new_column): use of hildon_gtk_tree_view_new to create the treeview, instead of use directly g_object_new (_create_new_column): update the property name "vindicator-mode" for the new one "vscrollbar-policy" * examples/hildon-date-button-example.c * examples/hildon-picker-button-multicolumn-example.c * examples/hildon-touch-selector-entry-example.c * examples/hildon-touch-selector-example.c * examples/hildon-time-button-example.c * examples/hildon-picker-button-example.c Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE to all the treeviews inside a pannable area.

15 years ago2008-08-27 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 27 Aug 2008 18:22:41 +0000 (18:22 +0000)]
2008-08-27 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.h
* src/hildon-button.c (hildon_button_init)
(hildon_button_set_arrangement, hildon_button_set_alignment)
(hildon_button_set_title_alignment)
(hildon_button_set_value_alignment)
(hildon_button_set_image_alignment)
(hildon_button_construct_child): New methods to set the alignment
of the individual components of the button (title, value,
image). Also, new method to alter the xscale and yscale properties
of the GtkAlignment inside the button, so more complex layouts can
be created.

15 years ago2008-08-27 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 27 Aug 2008 11:34:04 +0000 (11:34 +0000)]
2008-08-27 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.c (hildon_button_style_set)
(hildon_button_class_init, hildon_button_set_arrangement)
(hildon_button_construct_child): Apply style properties
correctly. Use the 'image-spacing' style property too.

15 years ago2008-08-26 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 26 Aug 2008 18:50:14 +0000 (18:50 +0000)]
2008-08-26 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c (hildon_app_menu_style_set)
(hildon_app_menu_init, hildon_app_menu_class_init): Set style
correctly.

15 years ago* src/hildon-pannable-area.c, (hildon_pannable_area_size_request): Fixed problem...
Alejandro G. Castro [Tue, 26 Aug 2008 17:19:45 +0000 (17:19 +0000)]
* src/hildon-pannable-area.c, (hildon_pannable_area_size_request): Fixed problem with pannable-area size_request.

15 years agoAdded management for the grab-focus to a child widget, like a range, we need to fade...
Alejandro G. Castro [Tue, 26 Aug 2008 10:56:03 +0000 (10:56 +0000)]
Added management for the grab-focus to a child widget, like a range, we need to fade out the scrollbar when releasing.

* src/hildon-pannable-area.c,
(hildon_pannable_area_init): Connected the grab-focus signal to
the callback.
(hildon_pannable_area_grab_notify): Added this function in order
to manage the situation when the grab-focus ends. We have to
fade-out the scrollbar.

15 years ago2008-08-25 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 25 Aug 2008 17:00:26 +0000 (17:00 +0000)]
2008-08-25 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c: Minor documentation update.

15 years ago2008-08-25 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 25 Aug 2008 16:54:18 +0000 (16:54 +0000)]
2008-08-25 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c
* examples/hildon-app-menu-example.c (create_menu): Update
examples and documentation to explain how to connect callbacks.

15 years ago2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Mon, 25 Aug 2008 16:45:37 +0000 (16:45 +0000)]
2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>

* examples/hildon-button-example.c
(vertical_buttons_window) (horizontal_buttons_window) (main): use of
hildon_stackable_window_new instead of gtk_window_new

15 years ago* src/hildon-pannable-area.c (hildon_pannable_area_class_init), (hildon_pannable_area...
Alejandro G. Castro [Fri, 22 Aug 2008 08:16:17 +0000 (08:16 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_area_class_init), (hildon_pannable_area_init), (hildon_pannable_area_get_property), (hildon_pannable_area_set_property), (hildon_pannable_area_dispose), (hildon_pannable_area_realize), (hildon_pannable_area_unrealize), (hildon_pannable_area_size_request), (hildon_pannable_area_size_allocate), (hildon_pannable_area_style_set), (hildon_pannable_area_map), (hildon_pannable_area_unmap), (rgb_from_gdkcolor), (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll), (hildon_pannable_area_initial_effect), (hildon_pannable_area_redraw), (hildon_pannable_area_scroll_indicator_fade), (hildon_pannable_area_expose_event), (hildon_pannable_area_get_topmost), (synth_crossing), (hildon_pannable_area_button_press_cb), (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll), (hildon_pannable_area_scroll), (hildon_pannable_area_timeout), (hildon_pannable_area_motion_notify_cb), (hildon_pannable_area_button_r

15 years ago* examples/hildon-pannable-area-example-4.c, (main): Modified the name of the hindica...
Alejandro G. Castro [Fri, 22 Aug 2008 07:02:29 +0000 (07:02 +0000)]
* examples/hildon-pannable-area-example-4.c, (main): Modified the name of the hindicator_mode to hscrollbar_visible

* src/hildon-pannable-area.c,
(hildon_pannable_area_class_init),
(hildon_pannable_area_motion_notify_cb),
(hildon_pannable_area_size_allocate): Reviewed the drawing logic,
we have reduced the amount of signals and managed reviewed its
rationale. Changed the default decelerate value.

(hildon_pannable_area_add),
(hildon_pannable_area_redraw): Refactored functions.

(hildon_pannable_area_init),
(hildon_pannable_area_get_property),
(hildon_pannable_area_set_property):
(hildon_pannable_draw_vscroll),
(hildon_pannable_draw_hscroll),
(hildon_pannable_area_initial_effect),
(hildon_pannable_area_expose_event),
(hildon_pannable_area_scroll),
(hildon_pannable_area_button_press_cb),
(hildon_pannable_area_realize): Replaced the names hindicator_mode
and vindicator_mode with hscrollbar_policy and
vscrollbar_policy. Replaced hscroll and vscroll with
hscroll_visible and vscroll_visible.

(hildon_pannable_area_refresh): Refactor the function, remove
variables and check the calls to this function, added resize
conditions in case the children change their layout.

(hildon_pannable_area_size_request): Added more detailed
size_request calculation.

15 years ago2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Thu, 21 Aug 2008 16:02:44 +0000 (16:02 +0000)]
2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>

* src/hildon-color-chooser.c
(init_borders): use the correct gtk_border_free instead of g_free, to
avoid a crash when this widget is used (ie: the three color selection
examples)

15 years ago* src/hildon-check-button.c, (hildon_check_button_set_active): Fixed problem when...
Alejandro G. Castro [Wed, 20 Aug 2008 12:12:03 +0000 (12:12 +0000)]
* src/hildon-check-button.c, (hildon_check_button_set_active): Fixed problem when setting the active value, the widget was not redrawn.

15 years ago* src/hildon-pannable-area.c, (hildon_pannable_area_refresh), (hildon_pannable_area_s...
Alejandro G. Castro [Wed, 20 Aug 2008 11:19:54 +0000 (11:19 +0000)]
* src/hildon-pannable-area.c, (hildon_pannable_area_refresh), (hildon_pannable_area_scroll), (hildon_pannable_area_motion_notify_cb): Small code style change.

(hildon_pannable_area_class_init): Default initial_hint set to
FALSE, it is not in the specs.

(hildon_pannable_area_initial_effect),
(hildon_pannable_area_expose_event),
(hildon_pannable_area_map),
(hildon_pannable_area_init): Moved the launching point of the
initial effect, it was in map but the sizes where not correct in
that method so we do not know if we have the reproduce it. Now it
is placed in the expose_event method and uses a variable to
reproduce it just once.

15 years ago* src/hildon-pannable-area.c, (hildon_pannable_draw_vscroll), (hildon_pannable_draw_h...
Alejandro G. Castro [Tue, 19 Aug 2008 12:18:50 +0000 (12:18 +0000)]
* src/hildon-pannable-area.c, (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll): Fix error calculating the maximum position allowed for the scrollbars.

(hildon_pannable_area_size_allocate): Small style change.

15 years ago* src/hildon-pannable-area.c, (hildon_pannable_area_scroll_indicator_fade), (hildon_p...
Alejandro G. Castro [Tue, 19 Aug 2008 08:33:42 +0000 (08:33 +0000)]
* src/hildon-pannable-area.c, (hildon_pannable_area_scroll_indicator_fade), (hildon_pannable_area_button_press_cb), (hildon_pannable_area_button_release_cb), (hildon_pannable_area_scroll_cb), (hildon_pannable_area_expose_event), (hildon_pannable_area_init): Added the define parameter SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars and refactor the fade variable.

15 years ago* src/hildon-pannable-area.c, (hildon_pannable_area_redraw), (hildon_pannable_area_sc...
Alejandro G. Castro [Tue, 19 Aug 2008 08:18:37 +0000 (08:18 +0000)]
* src/hildon-pannable-area.c, (hildon_pannable_area_redraw), (hildon_pannable_area_scroll_indicator_fade): Refactored redraw lines, we were reimplemeting the redraw code.

15 years ago* src/hildon-pannable-area.c, (hildon_pannable_area_scroll_cb), (hildon_pannable_area...
Alejandro G. Castro [Mon, 18 Aug 2008 12:53:45 +0000 (12:53 +0000)]
* src/hildon-pannable-area.c, (hildon_pannable_area_scroll_cb), (hildon_pannable_area_realize), (hildon_pannable_area_class_init): Added scroll_event management for pannable area, now we can scroll the usual desktop method.

(hildon_pannable_area_jump_to): Fixed the logic of the method, the
initialization of the parameters should depend on idle_id.

(hildon_pannable_area_init),
(hildon_pannable_area_map): Small code style modifications

15 years ago* src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb), (hildon_pannable...
Alejandro G. Castro [Mon, 18 Aug 2008 07:36:25 +0000 (07:36 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb), (hildon_pannable_area_motion_notify_cb), (hildon_pannable_area_button_release_cb), (hildon_pannable_area_size_allocate), (hildon_pannable_area_scroll_to): Improved the timeouts management, we avoid creating them each time.

15 years ago* src/hildon-pannable-area.c: (hildon_pannable_area_refresh), (hildon_pannable_area_m...
Alejandro G. Castro [Thu, 14 Aug 2008 17:31:20 +0000 (17:31 +0000)]
* src/hildon-pannable-area.c: (hildon_pannable_area_refresh), (hildon_pannable_area_motion_notify_cb), (hildon_pannable_area_class_init): * src/hildon-pannable-area.h: * src/hildon-touch-selector.c (_create_new_column): * examples/hildon-pannable-area-example-4.c: (horizontal_movement), (vertical_movement), (main): Replaced the names of enums in the HildonPannableArea: - HILDON_PANNABLE_AREA_MOV_MODE_* -> HILDON_MOVEMENT_MODE_* - HILDON_PANNABLE_AREA_MOV_* -> HILDON_MOVEMENT_* - Removed HildonPannableAreaIndicatorMode, now we use GtkPolicyType

15 years ago2008-08-14 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 14 Aug 2008 17:09:34 +0000 (17:09 +0000)]
2008-08-14 Alberto Garcia <agarcia@igalia.com>

* examples/hildon-pannable-area-touch-grid-example.c
* examples/hildon-pannable-area-touch-list-example.c: Fix
compilation warnings.

15 years ago2008-08-14 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 14 Aug 2008 15:56:01 +0000 (15:56 +0000)]
2008-08-14 Alberto Garcia <agarcia@igalia.com>

* src/hildon-gtk.c (hildon_gtk_button_new)
(hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
(hildon_gtk_radio_button_new_from_widget): Make buttons show their
images overriding the value of the "gtk-button-images" setting.

15 years ago2008-08-14 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 14 Aug 2008 14:17:12 +0000 (14:17 +0000)]
2008-08-14 Alberto Garcia <agarcia@igalia.com>

* src/hildon-check-button.c (hildon_check_button_new):
Instead of using a custom container, display the label and the
checkbox using the standard GtkButton API.

* examples/hildon-check-button-example.c (main): Don't use
hildon_check_button_set_label() anymore

* src/hildon-check-button.h
* src/hildon-check-button.c
(hildon_check_button_set_label, hildon_check_button_get_label):
Set as deprecated, now we're using gtk_button_{get,set}_label()

15 years ago2008-08-14 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Thu, 14 Aug 2008 11:47:42 +0000 (11:47 +0000)]
2008-08-14 Alejandro G. Castro <alex@igalia.com>

* src/hildon-pannable-area.c,
(hildon_pannable_area_get_topmost): Fixed bug with click in the
GtkTreeview first line we detected it after the inclusion of the
GtkWindowImpl in gtk+. We now check if the window is visible, not
just if the pointer is over the window.
(hildon_pannable_axis_scroll),
(hildon_pannable_area_expose_event): Small style changes.

15 years ago2008-08-13 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 13 Aug 2008 15:06:57 +0000 (15:06 +0000)]
2008-08-13 Alberto Garcia <agarcia@igalia.com>

* src/hildon-button.c: Update documentation.

15 years ago2008-08-13 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 13 Aug 2008 13:50:03 +0000 (13:50 +0000)]
2008-08-13 Alberto Garcia <agarcia@igalia.com>

* examples/hildon-button-example.c: Add a switch to show images in
the buttons.

15 years agocorrect dependencies in -dev package
Kimmo Hämäläinen [Wed, 13 Aug 2008 13:14:22 +0000 (13:14 +0000)]
correct dependencies in -dev package

15 years ago2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 12 Aug 2008 16:34:26 +0000 (16:34 +0000)]
2008-08-12 Claudio Saavedra <csaavedra@igalia.com>

* doc/hildon-docs.sgml: Some docs reorganization.

15 years ago2008-08-12 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 12 Aug 2008 16:24:35 +0000 (16:24 +0000)]
2008-08-12 Alberto Garcia <agarcia@igalia.com>

* examples/hildon-pannable-area-touch-list-example.c
(create_tree_view)
* examples/hildon-pannable-area-touch-grid-example.c
(create_icon_view): Use gtk_{tree,icon}_view_new() and
hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
Fix memory leak when setting the tree model.

15 years agocorrecting place..
Kimmo Hämäläinen [Tue, 12 Aug 2008 16:13:11 +0000 (16:13 +0000)]
correcting place..

15 years ago2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Tue, 12 Aug 2008 16:07:14 +0000 (16:07 +0000)]
2008-08-12 Claudio Saavedra <csaavedra@igalia.com>

* doc/hildon.types: Remove duplicated hildon_window_get_type
* src/hildon-window.c: (hildon_window_class_init): Remove duplicated
documentation comment.

15 years ago2008-08-12 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 12 Aug 2008 16:00:20 +0000 (16:00 +0000)]
2008-08-12 Alberto Garcia <agarcia@igalia.com>

* doc/Makefile.am: Complete list of private headers.

15 years ago2008-08-12 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 12 Aug 2008 15:28:32 +0000 (15:28 +0000)]
2008-08-12 Alberto Garcia <agarcia@igalia.com>

* doc/hildon-docs.sgml
* src/hildon-app-menu.c
* src/hildon-bread-crumb.c
* src/hildon-button.c
* src/hildon-gtk.c
* src/hildon-program.c
* src/hildon-stackable-window.c
* src/hildon-window.c: Lots of documentation updates.

15 years agoreleasing 2.1.4
Kimmo Hämäläinen [Tue, 12 Aug 2008 15:25:28 +0000 (15:25 +0000)]
releasing 2.1.4

15 years ago2008-08-12 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 12 Aug 2008 11:50:14 +0000 (11:50 +0000)]
2008-08-12 Alberto Garcia <agarcia@igalia.com>

* debian/control: Depend on Gtk 2:2.12.9-0osso3

* configure.ac: Require Gtk+ 2.12.9 at least

15 years ago* src/hildon-pannable-area.c (hildon_pannable_area_scroll_indicator_fade), (hildon_pa...
Alejandro G. Castro [Tue, 12 Aug 2008 11:37:44 +0000 (11:37 +0000)]
* src/hildon-pannable-area.c (hildon_pannable_area_scroll_indicator_fade), (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro to protect the return of this timeout callbacks, avoiding deadlocks.