[totem] screensaver: Use "window" property
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] screensaver: Use "window" property
- Date: Thu, 10 Mar 2011 14:52:26 +0000 (UTC)
commit 7ce94b27186235a5fa54b9b59c28f36b20b4d1db
Author: Bastien Nocera <hadess hadess net>
Date: Thu Mar 10 14:48:54 2011 +0000
screensaver: Use "window" property
src/plugins/screensaver/totem-screensaver.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/screensaver/totem-screensaver.c b/src/plugins/screensaver/totem-screensaver.c
index ae47f8b..3a23fb1 100644
--- a/src/plugins/screensaver/totem-screensaver.c
+++ b/src/plugins/screensaver/totem-screensaver.c
@@ -107,12 +107,14 @@ impl_activate (PeasActivatable *plugin)
TotemScreensaverPlugin *pi = TOTEM_SCREENSAVER_PLUGIN (plugin);
TotemObject *totem;
+ totem = g_object_get_data (G_OBJECT (plugin), "object");
+
pi->priv->scr = totem_scrsaver_new ();
g_object_set (pi->priv->scr,
"reason", _("Playing a movie"),
+ "window", totem_get_main_window (totem),
NULL);
- totem = g_object_get_data (G_OBJECT (plugin), "object");
pi->priv->bvw = BACON_VIDEO_WIDGET (totem_get_video_widget (totem));
pi->priv->settings = g_settings_new (TOTEM_GSETTINGS_SCHEMA);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]