kill the hideDisabled option
authorDana Jansens <danakj@orodu.net>
Wed, 9 May 2007 03:42:41 +0000 (03:42 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 9 May 2007 03:42:41 +0000 (03:42 +0000)
data/rc.xml.in
data/rc.xsd
openbox/config.c
openbox/config.h

index 35cc4cf..8ccf1cf 100644 (file)
@@ -42,7 +42,6 @@
       D: omnipresent (on all desktops).
   -->
   <keepBorder>yes</keepBorder>
-  <hideDisabled>no</hideDisabled>
   <animateIconify>yes</animateIconify>
   <font place="ActiveWindow">
     <name>sans</name>
index d3df567..af4eda4 100644 (file)
         <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>
index e948270..99e35b5 100644 (file)
@@ -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;
index 41cf748..94991a6 100644 (file)
@@ -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 */