aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-status-presets.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-08-10 01:17:12 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-08-10 01:17:12 +0800
commit6b18017f8240d6ce4880a1ed7d9158be8d914c95 (patch)
tree3f98de4a2431e5c4684b2e7351ac0861b83872e2 /libempathy-gtk/empathy-status-presets.h
parent0a392cd8a302c71ce28efa14e6a0b8792b5a393f (diff)
downloadgsoc2013-empathy-6b18017f8240d6ce4880a1ed7d9158be8d914c95.tar
gsoc2013-empathy-6b18017f8240d6ce4880a1ed7d9158be8d914c95.tar.gz
gsoc2013-empathy-6b18017f8240d6ce4880a1ed7d9158be8d914c95.tar.bz2
gsoc2013-empathy-6b18017f8240d6ce4880a1ed7d9158be8d914c95.tar.lz
gsoc2013-empathy-6b18017f8240d6ce4880a1ed7d9158be8d914c95.tar.xz
gsoc2013-empathy-6b18017f8240d6ce4880a1ed7d9158be8d914c95.tar.zst
gsoc2013-empathy-6b18017f8240d6ce4880a1ed7d9158be8d914c95.zip
Remove per-state "Custom message..." item and add one on the bottom of the
2007-08-09 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-presence-chooser.glade: * libempathy-gtk/empathy-presence-chooser.c: * libempathy-gtk/empathy-status-presets.c: * libempathy-gtk/empathy-status-presets.h: * libempathy-gtk/empathy-ui-utils.c: Remove per-state "Custom message..." item and add one on the bottom of the menu. Add a combobox on the custom message dialog to select the state and change the action of the checkbox, now it add/remove the message from saved messages. Make easier to add other states to the list if needed. Fixes bug #460678. svn path=/trunk/; revision=241
Diffstat (limited to 'libempathy-gtk/empathy-status-presets.h')
-rw-r--r--libempathy-gtk/empathy-status-presets.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-status-presets.h b/libempathy-gtk/empathy-status-presets.h
index 41df5592c..8a4564f00 100644
--- a/libempathy-gtk/empathy-status-presets.h
+++ b/libempathy-gtk/empathy-status-presets.h
@@ -29,14 +29,16 @@ G_BEGIN_DECLS
void empathy_status_presets_get_all (void);
GList * empathy_status_presets_get (McPresence state,
- gint max_number);
+ gint max_number);
void empathy_status_presets_set_last (McPresence state,
- const gchar *status);
+ const gchar *status);
+void empathy_status_presets_remove (McPresence state,
+ const gchar *status);
void empathy_status_presets_reset (void);
McPresence empathy_status_presets_get_default_state (void);
const gchar * empathy_status_presets_get_default_status (void);
void empathy_status_presets_set_default (McPresence state,
- const gchar *status);
+ const gchar *status);
void empathy_status_presets_clear_default (void);
G_END_DECLS