GNOME Bugzilla – Bug 345153
Only show preferences if running Metacity
Last modified: 2015-03-24 13:01:06 UTC
This report was filed in the Debian BTS. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=325350 It seems like the workspace switcher only saves the number of workspaces for Metacity, giving users of other window managers problems. Maybe the preferences could be made visible only when running Metacity? (For more details, see the Debian bug)
We can either disable the dialog or do the changes ourselves. Second option is probably better.
Might also somewhat be related to bug 109640.
wm-common.c in control-center has some code to know the current window manager. (And maybe libwnck has some too?)
Should be easy to check what the prefs in gconf is and what is the current config when loading the pager.
Well, in fact, we don't want to override a setting that is set elsewhere, so let's just hide this. It's done in trunk.