X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tools%2Fthemeupdate%2Fthemeupdate.py;h=c2ad6a75ebe4197ad1f053a0ffcfe74c34a1d8cc;hb=d48e720c3977d1d64620108589380919b430affe;hp=c2b430c4e58fd6ca621d36f43cafb30c69f00b1f;hpb=7d20f6f4d3db3a69b2d54fd7557ab14380148b24;p=chaz%2Fopenbox diff --git a/tools/themeupdate/themeupdate.py b/tools/themeupdate/themeupdate.py index c2b430c4..c2ad6a75 100755 --- a/tools/themeupdate/themeupdate.py +++ b/tools/themeupdate/themeupdate.py @@ -1,5 +1,23 @@ #! /usr/bin/python +# themeupdate.py for the Openbox window manager +# This utility is for updating old themes from Blackbox, Fluxbox, and Openbox2 +# to Openbox3 +# +# Copyright (c) 2003-2007 Dana 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 +274,7 @@ def x_fonts(data): return else: return while 1: - i, key = key_find(data, '.font') + i, key, nul = find_key(data, '.font') if i < 0: break out('Removing "' + key + '"\n')