diff options
author | Tim Potter <tpot@samba.org> | 2002-09-03 01:56:05 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-09-03 01:56:05 +0000 |
commit | cdd64e0860bf05b115e0d107f6cb2b9e1f6d0e9b (patch) | |
tree | 8a798c0dbfb324c6bab8829b30283d09895336f9 /source/python | |
parent | 7a6b6a8b4871065e3178223a7da5fafd8792b0bc (diff) | |
download | samba-cdd64e0860bf05b115e0d107f6cb2b9e1f6d0e9b.tar.gz samba-cdd64e0860bf05b115e0d107f6cb2b9e1f6d0e9b.tar.xz samba-cdd64e0860bf05b115e0d107f6cb2b9e1f6d0e9b.zip |
Display printerdata values in hex.
Diffstat (limited to 'source/python')
-rwxr-xr-x | source/python/gprinterdata | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/python/gprinterdata b/source/python/gprinterdata index cd04e6f5a13..52c6e42719b 100755 --- a/source/python/gprinterdata +++ b/source/python/gprinterdata @@ -1,7 +1,7 @@ #!/usr/bin/env python import sys -from gtkdictbrowser import GtkDictBrowser +from gtkdictbrowser import GtkDictBrowser, hex_string import gtk import spoolss import string @@ -33,6 +33,7 @@ except: # Create interface db = GtkDictBrowser(t) +db.register_get_value_text_fn("", hex_string) db.build_ui('gprinterdata') # Override Python's handling of ctrl-c so we can break out of the |