X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tools%2Fthemeupdate%2Fthemeupdate.py;h=c2ad6a75ebe4197ad1f053a0ffcfe74c34a1d8cc;hb=9116b124daa4ddff07918ab4d0e871f6d086cd09;hp=1bdf4929e07207ec1546254ac0ce083a1e22ab57;hpb=c4e4760c41f10aae6af19a4363cb247c71edee4b;p=chaz%2Fopenbox diff --git a/tools/themeupdate/themeupdate.py b/tools/themeupdate/themeupdate.py index 1bdf4929..c2ad6a75 100755 --- a/tools/themeupdate/themeupdate.py +++ b/tools/themeupdate/themeupdate.py @@ -1,7 +1,10 @@ #! /usr/bin/python # themeupdate.py for the Openbox window manager -# Copyright (c) 2003 Ben Jansens +# 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 @@ -271,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')