]> Dogcows Code - chaz/openbox/blobdiff - tools/themeupdate/themeupdate.py
this should do it
[chaz/openbox] / tools / themeupdate / themeupdate.py
index 8454c1af6f3ce28bc0b984100922c2a6396dd569..7690c6812777eb5762b2f8b043800f18504ff2fd 100755 (executable)
@@ -1,5 +1,20 @@
 #! /usr/bin/python
 
+# themeupdate.py for the Openbox window manager
+# Copyright (c) 2003        Ben Jansens
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# See the COPYING file for a copy of the GNU General Public License.
+
 import sys
 
 data = []
@@ -256,7 +271,7 @@ def x_fonts(data):
             return
     else: return
     while 1:
-        i, key = key_find(data, '.font')
+        i, key = find_key(data, '.font')
         if i < 0:
             break
         out('Removing "' + key + '"\n')
@@ -338,7 +353,7 @@ def pixelsize(data):
                 valid = False
 
 def warn_missing(data):
-    need = ('window.button.hover.focus',  'window.button.hover.unfocus',
+    need = ('window.active.button.hover',  'window.inactive.button.hover',
             'menu.overlap')
     for n in need:
         i, nul, nul = find_key(data, n)
This page took 0.020915 seconds and 4 git commands to generate.