diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-08-10 20:21:02 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-08-10 20:21:02 +0800 |
commit | f91c3c9970a8085d5716127fb3d78768ced51c46 (patch) | |
tree | 50c83b12c9ccfcd833f9ef552c4d927f5dc0720d /libempathy-gtk/empathy-presence-chooser.c | |
parent | bc739e2debf92ccc3ea0180a1d37a262d89cc1bb (diff) | |
download | gsoc2013-empathy-f91c3c9970a8085d5716127fb3d78768ced51c46.tar gsoc2013-empathy-f91c3c9970a8085d5716127fb3d78768ced51c46.tar.gz gsoc2013-empathy-f91c3c9970a8085d5716127fb3d78768ced51c46.tar.bz2 gsoc2013-empathy-f91c3c9970a8085d5716127fb3d78768ced51c46.tar.lz gsoc2013-empathy-f91c3c9970a8085d5716127fb3d78768ced51c46.tar.xz gsoc2013-empathy-f91c3c9970a8085d5716127fb3d78768ced51c46.tar.zst gsoc2013-empathy-f91c3c9970a8085d5716127fb3d78768ced51c46.zip |
Add hidden supprot. Fixes bug #455510 (Cosimo Cecchi).
2007-08-10 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/empathy-images.h:
* libempathy-gtk/empathy-presence-chooser.c:
* libempathy-gtk/empathy-ui-utils.c:
* libempathy/empathy-presence.c: Add hidden supprot. Fixes bug #455510
(Cosimo Cecchi).
* data/gtalk.profile:
* data/jabber.profile:
* data/salut.profile:
* data/irc.profile:
* data/msn.profile: Updated to use SupportedPresences field.
svn path=/trunk/; revision=243
Diffstat (limited to 'libempathy-gtk/empathy-presence-chooser.c')
-rw-r--r-- | libempathy-gtk/empathy-presence-chooser.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c index 8cdc0b01a..f3097abce 100644 --- a/libempathy-gtk/empathy-presence-chooser.c +++ b/libempathy-gtk/empathy-presence-chooser.c @@ -96,6 +96,7 @@ static CustomMessageDialog *message_dialog = NULL; static guint states[] = {MC_PRESENCE_AVAILABLE, TRUE, MC_PRESENCE_DO_NOT_DISTURB, TRUE, MC_PRESENCE_AWAY, TRUE, + MC_PRESENCE_HIDDEN, FALSE, MC_PRESENCE_OFFLINE, FALSE}; static void empathy_presence_chooser_class_init (EmpathyPresenceChooserClass *klass); @@ -678,12 +679,13 @@ empathy_presence_chooser_create_menu (void) g_list_free (list); } - /* Separator. */ - item = gtk_menu_item_new (); - gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); - gtk_widget_show (item); } + /* Separator. */ + item = gtk_menu_item_new (); + gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); + gtk_widget_show (item); + /* Custom messages */ item = gtk_image_menu_item_new_with_label (_("Custom messages...")); image = gtk_image_new_from_stock (GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU); |