aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:46:11 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-07 00:46:11 +0800
commit3d889ffd601e614682577a8e6664c6656dce6764 (patch)
treeced5daeaa5d0c975ce4bc60a1a5d9c7a3908f9ed /libempathy-gtk
parentca2a03e84bd231e8e9c8522f42778493c977a478 (diff)
downloadgsoc2013-empathy-3d889ffd601e614682577a8e6664c6656dce6764.tar
gsoc2013-empathy-3d889ffd601e614682577a8e6664c6656dce6764.tar.gz
gsoc2013-empathy-3d889ffd601e614682577a8e6664c6656dce6764.tar.bz2
gsoc2013-empathy-3d889ffd601e614682577a8e6664c6656dce6764.tar.lz
gsoc2013-empathy-3d889ffd601e614682577a8e6664c6656dce6764.tar.xz
gsoc2013-empathy-3d889ffd601e614682577a8e6664c6656dce6764.tar.zst
gsoc2013-empathy-3d889ffd601e614682577a8e6664c6656dce6764.zip
Only play logout sound if switching to Offline from Available.
svn path=/trunk/; revision=2028
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-ui-utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 83141afbf..da658dac6 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -1513,7 +1513,6 @@ empathy_sound_pref_is_enabled (const char *key)
presence = empathy_idle_get_state (idle);
g_object_unref (idle);
-
if (presence != MC_PRESENCE_AVAILABLE &&
presence != MC_PRESENCE_UNSET) {
empathy_conf_get_bool (conf, EMPATHY_PREFS_SOUNDS_DISABLED_AWAY,