summaryrefslogtreecommitdiff
path: root/plugins/xrandr/msd-xrandr-manager.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-12-15 05:40:43 +0200
committerJasmine Hassan <[email protected]>2012-12-15 07:04:12 +0200
commit5129b9008a6700294bcd8d8f0fcaee4bef2932fc (patch)
tree3a9abc5efd78c9edd0b5cb1328c82f03febe82fb /plugins/xrandr/msd-xrandr-manager.c
parent4d955a71bb6117c72da4291ccd2a9f617e9ed7fd (diff)
downloadmate-settings-daemon-5129b9008a6700294bcd8d8f0fcaee4bef2932fc.tar.bz2
mate-settings-daemon-5129b9008a6700294bcd8d8f0fcaee4bef2932fc.tar.xz
[plugins] various small fixes/improvements
In plugins/housekeeping/gsd-ldsm-dialog.c - Initialize GSList ignore_paths before use - Use g_slist_prepend instead of _append in loop (more efficient), reverse after In plugins/media-keys/msd-media-keys-manager.c - Default to mate-terminal if terminal "exec" key is empty In plugins/xrandr/msd-xrandr-manager.c - Only start_or_stop_icon when the show icon key actually changes Also, adapt this for media-keys plugin: Don't use org.gnome.settings-daemon for volume_step setting http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=1a9eea8224d41643a8a7a05d799198058e36e1a8
Diffstat (limited to 'plugins/xrandr/msd-xrandr-manager.c')
-rw-r--r--plugins/xrandr/msd-xrandr-manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c
index 7c6a046..c56cd51 100644
--- a/plugins/xrandr/msd-xrandr-manager.c
+++ b/plugins/xrandr/msd-xrandr-manager.c
@@ -2156,7 +2156,8 @@ on_config_changed (GSettings *settings,
gchar *key,
MsdXrandrManager *manager)
{
- start_or_stop_icon (manager);
+ if (g_strcmp0 (key, CONF_KEY_SHOW_NOTIFICATION_ICON) == 0)
+ start_or_stop_icon (manager);
}
static gboolean