summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-09 03:42:41 +0000
committerDana Jansens <danakj@orodu.net>2007-05-09 03:42:41 +0000
commit23d4eb5f4f4f5dbcf2795df180de1fa36ba6c42a (patch)
treedac69228e6d0c0f26b49f042f0a6b08907647542
parent193ca2197a1276ca5a34bbf25b71df656ac964bf (diff)
kill the hideDisabled option
-rw-r--r--data/rc.xml.in1
-rw-r--r--data/rc.xsd1
-rw-r--r--openbox/config.c4
-rw-r--r--openbox/config.h2
4 files changed, 0 insertions, 8 deletions
diff --git a/data/rc.xml.in b/data/rc.xml.in
index 35cc4cfb..8ccf1cfa 100644
--- a/data/rc.xml.in
+++ b/data/rc.xml.in
@@ -42,7 +42,6 @@
D: omnipresent (on all desktops).
-->
<keepBorder>yes</keepBorder>
- <hideDisabled>no</hideDisabled>
<animateIconify>yes</animateIconify>
<font place="ActiveWindow">
<name>sans</name>
diff --git a/data/rc.xsd b/data/rc.xsd
index d3df567d..af4eda4a 100644
--- a/data/rc.xsd
+++ b/data/rc.xsd
@@ -111,7 +111,6 @@
<xsd:element minOccurs="0" name="titleLayout" type="xsd:string"/>
<xsd:element minOccurs="0" name="titleNumber" type="ob:bool"/>
<xsd:element minOccurs="0" name="keepBorder" type="ob:bool"/>
- <xsd:element minOccurs="0" name="hideDisabled" type="ob:bool"/>
<xsd:element minOccurs="0" name="animateIconify" type="ob:bool"/>
<xsd:element minOccurs="0" name="font" type="ob:font"/>
</xsd:complexType>
diff --git a/openbox/config.c b/openbox/config.c
index e9482703..99e35b5a 100644
--- a/openbox/config.c
+++ b/openbox/config.c
@@ -38,7 +38,6 @@ ObPlacePolicy config_place_policy;
gchar *config_theme;
gboolean config_theme_keepborder;
-gboolean config_theme_hidedisabled;
gchar *config_title_layout;
@@ -478,8 +477,6 @@ static void parse_theme(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
}
if ((n = parse_find_node("keepBorder", node)))
config_theme_keepborder = parse_bool(doc, n);
- if ((n = parse_find_node("hideDisabled", node)))
- config_theme_hidedisabled = parse_bool(doc, n);
if ((n = parse_find_node("animateIconify", node)))
config_animate_iconify = parse_bool(doc, n);
@@ -834,7 +831,6 @@ void config_startup(ObParseInst *i)
config_animate_iconify = TRUE;
config_title_layout = g_strdup("NLIMC");
config_theme_keepborder = TRUE;
- config_theme_hidedisabled = FALSE;
config_font_activewindow = NULL;
config_font_inactivewindow = NULL;
diff --git a/openbox/config.h b/openbox/config.h
index 41cf7482..94991a60 100644
--- a/openbox/config.h
+++ b/openbox/config.h
@@ -111,8 +111,6 @@ extern gchar *config_theme;
/*! Show the one-pixel border after toggleDecor */
extern gboolean config_theme_keepborder;
-/*! Hide window frame buttons that the window doesn't allow */
-extern gboolean config_theme_hidedisabled;
/*! Titlebar button layout */
extern gchar *config_title_layout;
/*! Animate windows iconifying and restoring */