aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-08-02 17:01:46 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-08-15 20:03:27 +0800
commit25504e2ad3be8e09f12fe9d712be67af11d0c605 (patch)
tree7aeb6ffa2607f459192f7c7c1b2dd29f87f94743 /src
parent919c1868d7fff7d74ca3fc17f24a6cbaa3e097de (diff)
downloadgsoc2013-empathy-25504e2ad3be8e09f12fe9d712be67af11d0c605.tar
gsoc2013-empathy-25504e2ad3be8e09f12fe9d712be67af11d0c605.tar.gz
gsoc2013-empathy-25504e2ad3be8e09f12fe9d712be67af11d0c605.tar.bz2
gsoc2013-empathy-25504e2ad3be8e09f12fe9d712be67af11d0c605.tar.lz
gsoc2013-empathy-25504e2ad3be8e09f12fe9d712be67af11d0c605.tar.xz
gsoc2013-empathy-25504e2ad3be8e09f12fe9d712be67af11d0c605.tar.zst
gsoc2013-empathy-25504e2ad3be8e09f12fe9d712be67af11d0c605.zip
CameraMenu: restore the last selected camera on creation
Diffstat (limited to 'src')
-rw-r--r--src/empathy-camera-menu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/empathy-camera-menu.c b/src/empathy-camera-menu.c
index 16ad07a0b..b73337e8b 100644
--- a/src/empathy-camera-menu.c
+++ b/src/empathy-camera-menu.c
@@ -286,6 +286,11 @@ empathy_camera_menu_get_cameras (EmpathyCameraMenu *self)
}
empathy_camera_menu_update (self);
+
+ /* Do as if the gsettings key had changed, so we select the key that
+ * was last set. */
+ empathy_camera_menu_prefs_camera_changed_cb (self->priv->settings,
+ EMPATHY_PREFS_CALL_CAMERA_DEVICE, self);
}
static void