From cb5d8a0508f84c185ddb842131133cdcfa73c140 Mon Sep 17 00:00:00 2001 From: Danielle Madeley Date: Fri, 11 Mar 2011 13:22:05 +1100 Subject: Add ShowIHaveVideoTo property to Privacy Settings UI --- libempathy-gtk/empathy-account-widget-skype.c | 9 +++++- libempathy-gtk/empathy-account-widget-skype.ui | 38 ++++++++++++++++++++++++-- 2 files changed, 43 insertions(+), 4 deletions(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-account-widget-skype.c b/libempathy-gtk/empathy-account-widget-skype.c index b5d9a4d65..e8f84be15 100644 --- a/libempathy-gtk/empathy-account-widget-skype.c +++ b/libempathy-gtk/empathy-account-widget-skype.c @@ -176,7 +176,8 @@ account_widget_build_skype_get_privacy_settings_cb (TpProxy *cm, "allow-skype-calls-from", "allow-outside-calls-from", "show-my-avatar-to", - "show-my-web-status" + "show-my-web-status", + "show-i-have-video-to" }; if (in_error != NULL) @@ -375,6 +376,12 @@ account_widget_skype_privacy_settings (GtkWidget *button, EMP_PRIVACY_SETTING_KNOWN_NUMBERS, EMP_PRIVACY_SETTING_CONTACTS, -1); + account_widget_build_skype_setup_combo (self, gui, + "show-i-have-video-to", "ShowIHaveVideoTo", + EMP_PRIVACY_SETTING_ANYONE, + EMP_PRIVACY_SETTING_CONTACTS, + EMP_PRIVACY_SETTING_NOBODY, + -1); account_widget_build_skype_setup_combo (self, gui, "show-my-avatar-to", "ShowMyAvatarTo", EMP_PRIVACY_SETTING_ANYONE, diff --git a/libempathy-gtk/empathy-account-widget-skype.ui b/libempathy-gtk/empathy-account-widget-skype.ui index 178a9c6b2..4c17d09a4 100644 --- a/libempathy-gtk/empathy-account-widget-skype.ui +++ b/libempathy-gtk/empathy-account-widget-skype.ui @@ -138,7 +138,7 @@ Get one at <a href="http://www.skype.com/go/register">Skype.com</a>< True - 4 + 5 2 6 6 @@ -194,8 +194,8 @@ Get one at <a href="http://www.skype.com/go/register">Skype.com</a>< show-my-avatar-to - 3 - 4 + 4 + 5 GTK_FILL GTK_FILL @@ -259,6 +259,38 @@ Get one at <a href="http://www.skype.com/go/register">Skype.com</a>< + + 1 + 2 + 4 + 5 + + + + + True + 0 + Show whether I have _video to: + True + show-i-have-video-to + + + 3 + 4 + GTK_FILL + GTK_FILL + + + + + True + + + + 1 + + + 1 2 -- cgit v1.2.3