summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/media-keys/msd-media-keys-manager.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c
index 77fb8c3..c6236c8 100644
--- a/plugins/media-keys/msd-media-keys-manager.c
+++ b/plugins/media-keys/msd-media-keys-manager.c
@@ -410,6 +410,10 @@ dialog_show (MsdMediaKeysManager *manager)
gtk_window_set_screen (GTK_WINDOW (manager->priv->dialog),
manager->priv->current_screen);
+ /* Return if OSD notifications are disabled */
+ if (!g_settings_get_boolean (manager->priv->settings, "enable-osd"))
+ return;
+
/*
* get the window size
* if the window hasn't been mapped, it doesn't necessarily