aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-gtk/interface-gtk.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2016-02-04 06:51:13 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2016-02-04 06:51:13 +0100
commitcff9fb167f27905cc07cb9d490c38ab7b266bc11 (patch)
tree64fe9df57dcb9d9a7173218b3d5c39a5af7090b0 /src/interface-gtk/interface-gtk.cpp
parent436e10fae5cdc42ad932ccdcf194418bf3d96108 (diff)
downloadsciteco-cff9fb167f27905cc07cb9d490c38ab7b266bc11.tar.gz
Gtk UI: --no-csd in the main option group now, so it shows up in --help
Diffstat (limited to 'src/interface-gtk/interface-gtk.cpp')
-rw-r--r--src/interface-gtk/interface-gtk.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interface-gtk/interface-gtk.cpp b/src/interface-gtk/interface-gtk.cpp
index 9da7454..ae63e1b 100644
--- a/src/interface-gtk/interface-gtk.cpp
+++ b/src/interface-gtk/interface-gtk.cpp
@@ -176,7 +176,8 @@ GOptionGroup *
InterfaceGtk::get_options(void)
{
const GOptionEntry entries[] = {
- {"no-csd", 0, G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &use_csd,
+ {"no-csd", 0, G_OPTION_FLAG_IN_MAIN | G_OPTION_FLAG_REVERSE,
+ G_OPTION_ARG_NONE, &use_csd,
"Disable client-side decorations.", NULL},
{NULL}
};