--no-tab-popup && no-tab-popup gconf key

Disables the use of popup (and highlight frame) for window cycling.
This commit is contained in:
Tomas Frydrych
2009-02-02 14:09:04 +00:00
parent d1fd844bc4
commit 2e1893f7d3
6 changed files with 96 additions and 13 deletions

View File

@@ -227,6 +227,7 @@ typedef struct
gboolean sync;
gboolean composite;
gboolean no_composite;
gboolean no_tab_popup;
} MetaArguments;
#ifdef HAVE_COMPOSITE_EXTENSIONS
@@ -316,6 +317,12 @@ meta_parse_options (int *argc, char ***argv,
"PLUGINS"
},
#endif
{
"no-tab-popup", 0, 0, G_OPTION_ARG_NONE,
&my_args.no_tab_popup,
N_("Whether window popup/frame should be shown when cycling windows."),
NULL
},
{NULL}
};
GOptionContext *ctx;
@@ -649,6 +656,11 @@ main (int argc, char **argv)
}
#endif
if (meta_args.no_tab_popup)
{
meta_prefs_override_no_tab_popup (TRUE);
}
if (!meta_display_open ())
meta_exit (META_EXIT_ERROR);