hildon
15 years ago2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
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

15 years ago2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
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.

15 years agoChangeLog cosmetic fixes
Claudio Saavedra [Mon, 27 Oct 2008 11:36:05 +0000 (11:36 +0000)]
ChangeLog cosmetic fixes

15 years ago2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
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)

15 years ago2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
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)

15 years ago2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
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

15 years ago2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
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.

15 years ago2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
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

15 years ago2008-10-23 Alberto Garcia <agarcia@igalia.com>
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.

15 years agocapitalization change
Daniel Borgmann [Thu, 23 Oct 2008 07:14:41 +0000 (07:14 +0000)]
capitalization change

15 years ago2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
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

15 years ago2008-10-22 Alberto Garcia <agarcia@igalia.com>
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.

15 years ago2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
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.

15 years ago2008-10-21 Alberto Garcia <agarcia@igalia.com>
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)

15 years ago2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
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.

15 years ago2008-10-20 Alberto Garcia <agarcia@igalia.com>
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.

15 years ago2008-10-20 Alberto Garcia <agarcia@igalia.com>
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

15 years ago2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
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

15 years agoupdates.
Claudio Saavedra [Mon, 20 Oct 2008 14:02:58 +0000 (14:02 +0000)]
updates.

15 years agoUpdates.
Claudio Saavedra [Mon, 20 Oct 2008 14:02:49 +0000 (14:02 +0000)]
Updates.

15 years ago2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
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.

15 years agoUpdate ChangeLog
Claudio Saavedra [Mon, 20 Oct 2008 10:11:17 +0000 (10:11 +0000)]
Update ChangeLog

15 years ago2008-10-20 Alberto Garcia <agarcia@igalia.com>
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)

15 years ago2008-10-20 Claudio Saavedra <csaavedra@igalia.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)

15 years ago2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
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.

15 years agoUpdate ChangeLog.
Claudio Saavedra [Mon, 20 Oct 2008 07:59:17 +0000 (07:59 +0000)]
Update ChangeLog.

15 years ago2008-10-16 Alberto Garcia <agarcia@igalia.com>
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)

15 years ago2008-10-16 Alberto Garcia <agarcia@igalia.com>
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

15 years ago2008-10-15 Alberto Garcia <agarcia@igalia.com>
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.

15 years ago2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
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

15 years ago2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
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.

15 years ago2008-10-13 Alberto Garcia <agarcia@igalia.com>
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.

15 years ago2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
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

15 years ago2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
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.

15 years ago2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
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)

15 years ago2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
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)

15 years ago* src/hildon-pannable-area.c, (hildon_pannable_area_scroll): Added clause to stop...
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)

15 years ago2008-10-09 Alberto Garcia <agarcia@igalia.com>
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.

15 years ago2008-10-09 Alberto Garcia <agarcia@igalia.com>
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.

15 years ago2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
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)

15 years ago2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 9 Oct 2008 10:15:29 +0000 (10:15 +0000)]
2008-10-09 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector-entry.c: Minor docs fixes.

15 years ago2008-10-09 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 9 Oct 2008 10:02:40 +0000 (10:02 +0000)]
2008-10-09 Alberto Garcia <agarcia@igalia.com>

* doc/hildon.types
* src/hildon-check-button.h
* src/hildon-check-button.c
* examples/hildon-check-button-example.c:
HildonCheckButton is now a new widget, rather than a GtkButton.

15 years ago2008-10-08 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 8 Oct 2008 18:08:39 +0000 (18:08 +0000)]
2008-10-08 Alberto Garcia <agarcia@igalia.com>

* src/hildon-program-private.h
* src/hildon-program.c (hildon_program_init)
(hildon_program_finalize): Removed unused variables group_leader
and name from HildonProgramPrivate.

15 years ago2008-10-08 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 8 Oct 2008 14:57:40 +0000 (14:57 +0000)]
2008-10-08 Alberto Garcia <agarcia@igalia.com>

* src/hildon-check-button.c (hildon_check_button_set_active)
(hildon_check_button_get_active, hildon_check_button_new): Use
g_object_[gs]et_qdata() instead of g_object_[gs]et_data().

15 years ago2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Wed, 8 Oct 2008 11:09:07 +0000 (11:09 +0000)]
2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>

* src/hildon-touch-selector.h
(hildon_touch_selector_set_column_attributes): added deprecation
guard HILDON_DISABLE_DEPRECATED
* src/hildon-time-selector.c
(hildon_time_selector_set_time)
(hildon_time_selector_get_time): Fixed a typo on documentation
* src/hildon-touch-selector.c: update HildonTouchSelector and
HildonTouchSelectorColumn documentation
* src/hildon-touch-selector-entry.c: update "text-column" property
documentation
* doc/hildon-docs.sgml: added hildon-touch-selector-column in order
to be added to the general documentation.

15 years ago* examples/hildon-pannable-area-example-4.c, (main), * examples/hildon-pannable-area...
Alejandro G. Castro [Wed, 8 Oct 2008 08:18:18 +0000 (08:18 +0000)]
* examples/hildon-pannable-area-example-4.c, (main), * examples/hildon-pannable-area-example.c, (main): Modified the code in order to use the container add, with viewport treeviews could have problems if they are really big.

15 years ago* src/hildon-weekday-picker.c, * src/hildon-weekday-picker.h: Removed the deprecated...
Alejandro G. Castro [Mon, 6 Oct 2008 19:36:25 +0000 (19:36 +0000)]
* src/hildon-weekday-picker.c, * src/hildon-weekday-picker.h: Removed the deprecated symbols after the agreement regarding deprecation in the library.

15 years ago2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 6 Oct 2008 13:44:25 +0000 (13:44 +0000)]
2008-10-06 Claudio Saavedra <csaavedra@igalia.com>

* examples/hildon-picker-button-multicolumn-example.c:
(main): Use custom "done" button text.

* src/hildon-picker-button.c: (hildon_picker_button_get_property),
(hildon_picker_button_set_property),
(hildon_picker_button_clicked), (hildon_picker_button_class_init),
(hildon_picker_button_init),
(+hildon_picker_button_get_done_button_text),
(+hildon_picker_button_set_done_button_text): New methods to customize
the "done" button label in the launched HildonPickerDialog. Also,
make it a property.

* src/hildon-picker-button.h: add the public API.

15 years ago2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Mon, 6 Oct 2008 13:27:30 +0000 (13:27 +0000)]
2008-10-06 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-date-selector.h:
* src/hildon-picker-dialog.h:
* src/hildon-time-selector.h:
* src/hildon-touch-selector-column.h:
* src/hildon-touch-selector.h:

Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
declarations. Fixes gtk-doc warnings.

15 years ago2008-10-06 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 6 Oct 2008 13:11:33 +0000 (13:11 +0000)]
2008-10-06 Alberto Garcia <agarcia@igalia.com>

* src/hildon-picker-dialog.h
* src/hildon-picker-dialog.c (hildon_picker_dialog_init):
Make HildonPickerDialog derive from HildonDialog, not GtkDialog

Fixes: NB#89329 (selectors in picker dialog are not visible when a
long text is set as label for done button)

15 years ago2008-10-06 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 6 Oct 2008 13:11:28 +0000 (13:11 +0000)]
2008-10-06 Alberto Garcia <agarcia@igalia.com>

* src/hildon-dialog.c (hildon_dialog_add_button):
Set fixed width to all buttons in the HildonDialog.

15 years ago2008-10-06 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 6 Oct 2008 10:37:58 +0000 (10:37 +0000)]
2008-10-06 Alberto Garcia <agarcia@igalia.com>

Patch contributed by Daniel Borgmann (danielb@openismus.com)

* src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
Set widget name using class name plus "-finger" or "-thumb".

15 years ago2008-10-03 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 3 Oct 2008 11:38:16 +0000 (11:38 +0000)]
2008-10-03 Alberto Garcia <agarcia@igalia.com>

* src/hildon-check-button.c (hildon_check_button_set_active): Emit
'clicked' when the state of the button is manually changed.

15 years ago2008-10-02 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 2 Oct 2008 16:49:06 +0000 (16:49 +0000)]
2008-10-02 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c (hildon_app_menu_realize)
(hildon_app_menu_unrealize, hildon_app_menu_init)
(hildon_app_menu_class_init, item_visibility_changed):
Change the menu layout when the size of the screen changes.
(hildon_app_menu_set_columns, hildon_app_menu_set_property):
Show warning only when changing the number of colums using the
property.

15 years ago2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Thu, 2 Oct 2008 09:00:53 +0000 (09:00 +0000)]
2008-10-02 Claudio Saavedra <csaavedra@igalia.com>

* debian/compat: Set to 5
* debian/control: Update dependencies.
* debian/libhildon1-dbg.install: Remove.
* debian/libhildon1-dev.install: Update according to cdbs paths.
* debian/libhildon1.install: Update according to cdbs paths.
* debian/rules: Switch to cdbs.

15 years ago2008-10-01 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 1 Oct 2008 12:53:01 +0000 (12:53 +0000)]
2008-10-01 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c (hildon_app_menu_repack_filters):
'item' variable renamed to 'filter'

15 years ago2008-10-01 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 1 Oct 2008 11:38:37 +0000 (11:38 +0000)]
2008-10-01 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c (hildon_app_menu_insert)
(hildon_app_menu_add_filter, remove_item_from_list)
(hildon_app_menu_repack_filters, hildon_app_menu_finalize):
Don't leak hidden items when the menu is destroyed.

15 years ago2008-10-01 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 1 Oct 2008 10:39:21 +0000 (10:39 +0000)]
2008-10-01 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c (hildon_app_menu_insert)
(hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
(hildon_app_menu_set_columns, item_visibility_changed)
(filter_visibility_changed, hildon_app_menu_repack_filters)
(hildon_app_menu_repack_items):
Repack items and filters separately.

Don't repack all items, change only the ones that are needed to
update the layout.

15 years agoUpdates from 2.1.12-2.
Claudio Saavedra [Wed, 1 Oct 2008 10:20:54 +0000 (10:20 +0000)]
Updates from 2.1.12-2.

15 years ago2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Wed, 1 Oct 2008 09:56:28 +0000 (09:56 +0000)]
2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>

* src/Makefile.am: added hildon-touch-selector-column.h

15 years ago2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
Alejandro Piñeiro [Wed, 1 Oct 2008 08:14:15 +0000 (08:14 +0000)]
2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>

* src/hildon-touch-selector.c: added the property "text-column" to the
class HildonTouchSelectorColumn, and related get/set functions
(_default_printf_func): updated to use "text-column" property
* src/hildon-touch-selector-entry.c: mark as deprecated the property
"text-column" in his documentation, as this is now included on
HildonTouchSelectorColumn. The get/set_property can still be used,
working as a wrapper to the concrete column "text-column" property
(_text_column_modified): callback added in order to handle the signal
"notify::text-column" of the concrete HildonTouchSelectorColumn
(hildon_touch_selector_entry_get_text_column)
(hildon_touch_selector_entry_set_text_column): Added documentation, and
modified in order to use the HildonTouchSelectorColumn "text-column"
property
* src/hildon-time-selector.c:
* src/hildon-date-selector.c:
* examples/hildon-touch-selector-example.c
* examples/hildon-touch-selector-multi-cells-example.c
* examples/hildon-picker-button-multicolumn-example.c
Set the right value to "text-column" property on the creation of a new
column using hildon_touch_selector_append_column()

Fixes: NB#88644 (Hardcoded first column of the model as text column

15 years ago2008-09-30 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Tue, 30 Sep 2008 18:07:40 +0000 (18:07 +0000)]
2008-09-30 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c
(hildon_app_menu_construct_child, hildon_app_menu_init): When
updating the layout of the menu, don't create all widgets again,
just repack the items in their new places.

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

* src/hildon-time-selector.c
  (hildon_time_selector_get_time)
  (hildon_time_selector_set_time)
  Added documentation of these public methods

* src/hildon-date-button.h
* src/hildon-touch-selector-column.h
* src/hildon-time-button.h
* src/hildon-picker-dialog.h
* src/hildon-time-selector.h
* src/hildon-picker-button.h
* src/hildon-touch-selector.h
* src/hildon-time-picker.h
* src/hildon-date-selector.h
* src/hildon-touch-selector-entry.h
Modified in order to use hildon-widgets code style

15 years agoAdded deprecated support to the compilation process using HILDON_DISABLE_DEPRECATED
Alejandro G. Castro [Tue, 30 Sep 2008 11:56:18 +0000 (11:56 +0000)]
Added deprecated support to the compilation process using HILDON_DISABLE_DEPRECATED

* configure.ac: Added the --disable-deprecated to the configure
script

* src/hildon-weekday-picker.c:
* src/hildon-weekday-picker.h: Deprecated widget, example of how
to use the deprecated support. We will update the other deprecated
widgets status in a new patch.

15 years ago* configure.ac: Fixed typo with fatal warnings support, the variable name was not...
Alejandro G. Castro [Tue, 30 Sep 2008 08:22:36 +0000 (08:22 +0000)]
* configure.ac: Fixed typo with fatal warnings support, the variable name was not correct

15 years ago2008-09-29 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 29 Sep 2008 17:41:21 +0000 (17:41 +0000)]
2008-09-29 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c: Update documentation.

15 years ago2008-09-29 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 29 Sep 2008 14:44:43 +0000 (14:44 +0000)]
2008-09-29 Alberto Garcia <agarcia@igalia.com>

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

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

* configure.ac: Post-release version bump.

15 years agoShip upstream ChangeLog and NEWS files.
Claudio Saavedra [Mon, 29 Sep 2008 07:11:33 +0000 (07:11 +0000)]
Ship upstream ChangeLog and NEWS files.

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

[Release 2.1.12]

* NEWS: Update.
* configure.ac: Pre-release version bump.
* debian/changelog: Updates.

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

* NEWS: Update news for previous releases.

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

* examples/hildon-touch-selector-multi-cells-example.c:
(create_selector): Update the example to use
hildon_touch_selector_append_column() with a NULL renderer and set
the renderers later.
* src/hildon-touch-selector.c: (_create_new_column): Do not warn if
passed a NULL renderer. This is documented behavior now.

Allow passing a NULL renderer to hildon_touch_selector_append_column().
This must be used if the developer wants full control on the layout of
the renderers to be added to the column.

Fixes: NB#88680 (Limiting API in HildonTouchSelector)

15 years ago2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 26 Sep 2008 10:56:03 +0000 (10:56 +0000)]
2008-09-26 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-touch-selector.c: Documentation fixes.

15 years agoMore ChangeLog cleaning.
Claudio Saavedra [Fri, 26 Sep 2008 10:42:54 +0000 (10:42 +0000)]
More ChangeLog cleaning.

15 years agoClean up changelog and add bug summaries
Claudio Saavedra [Fri, 26 Sep 2008 10:38:08 +0000 (10:38 +0000)]
Clean up changelog and add bug summaries

15 years ago2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 26 Sep 2008 10:00:24 +0000 (10:00 +0000)]
2008-09-26 Claudio Saavedra <csaavedra@igalia.com>

* src/hildon-wizard-dialog-private.h: Remove image and box.
* src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
(hildon_wizard_dialog_set_property), (response): Completely remove
image/icon support, and the containers required for the layout.

Fixes: NB#88927 (Hildon Wizard should not use icons anymore)

15 years ago2008-09-25 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 25 Sep 2008 17:00:56 +0000 (17:00 +0000)]
2008-09-25 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.c: Updated documentation.

* src/hildon-stackable-window.c
(hildon_stackable_window_set_main_menu): Unref the old menu after
ref'ing the new one.

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

* src/hildon-stackable-window.c
(hildon_stackable_window_set_main_menu): Unref the previous menu
instead of destroying it.

* src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
floating reference and set has_user_ref_count to FALSE to make
HildonAppMenu act like a normal ref-counted widget and not a
toplevel widget.

Fixes: NB#88923

15 years ago2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com> * src/hildon-touch-selector...
Alejandro Piñeiro [Thu, 25 Sep 2008 15:24:01 +0000 (15:24 +0000)]
2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com> * src/hildon-touch-selector-column.h: new file * src/hildon-touch-selector.h * src/hildon-touch-selector.c Implemented GtkCellLayout interface, in order to allow to configure the cell layout on each individual selector column (hildon_touch_selector_set_column_attributes): marked as deprecated * examples/hildon-touch-selector-multi-cells-example.c Example of how to use the GtkCellLayout interface on the selector

Fixes NB#88680

15 years ago2008-09-24 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Wed, 24 Sep 2008 14:13:05 +0000 (14:13 +0000)]
2008-09-24 Alberto Garcia <agarcia@igalia.com>

* src/hildon-app-menu.h
* src/hildon-app-menu.c
(hildon_app_menu_insert, hildon_app_menu_reorder_child)
(hildon_app_menu_append, hildon_app_menu_prepend):
New methods to prepend, insert and move items in the menu.

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

* src/hildon-wizard-dialog.c:

(hildon_wizard_dialog_init): Update logical IDs and remove cancel
button.
(create_title): Update logical IDs and related code.
(response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.

* src/hildon-wizard-dialog.h: Note that
HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
point, as it is not used anymore.

Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)

15 years agoFix indentation
Claudio Saavedra [Wed, 24 Sep 2008 11:38:14 +0000 (11:38 +0000)]
Fix indentation

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

* src/hildon-note.c:
(hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is shown.
Do not display an icon in confirmation notes nor information notes.
(hildon_note_set_button_text): Update logical ID for cancel button.

Fixes: NB#88850 (Update HildonNote button strings + signals)

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

* src/hildon-stackable-window.c
(hildon_stackable_window_set_main_menu): Fix compilation warning.

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

* src/hildon-app-menu-private.h
* src/hildon-app-menu.c (hildon_app_menu_set_columns)
(hildon_app_menu_set_property, hildon_app_menu_construct_child)
(hildon_app_menu_init, hildon_app_menu_class_init): Added
temporary property 'columns' to change the number of columns.

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

Patch contributed by Kimmo Hamalainen (kimmo.hamalainen@nokia.com)

* examples/hildon-note-example.c: (on_information_clicked),
(on_confirmation_clicked), (on_progress_clicked), (main): Add
debugging information.
* src/hildon-note-private.h: Remove close_if_pressed_outside,
not needed anymore.
* src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
(hildon_note_rebuild): Remove special handling of tapping outside/inside
in order to close: this will be handled by the WM from now on.

Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)

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

* src/hildon-app-menu-private.h
* src/hildon-app-menu.c
(hildon_app_menu_append, hildon_app_menu_add_filter)
(button_visibility_changed, hildon_app_menu_apply_style)
(hildon_app_menu_style_set, hildon_app_menu_construct_child)
(hildon_app_menu_init, hildon_app_menu_finalize): Update the
layout everytime a button (item or filter) is shown or hidden.

* src/hildon-stackable-window.c
(hildon_stackable_window_set_main_menu): Destroy the old menu when
setting a new one.

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.