]> git.pld-linux.org Git - packages/hplip.git/commitdiff
- add fallback to text-mode to hp-setup (stolen from Fedora)
authorSzymon Siwek <sls@pld-linux.org>
Fri, 16 Nov 2007 13:00:50 +0000 (13:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    hplip-ui-optional.patch -> 1.1

hplip-ui-optional.patch [new file with mode: 0644]

diff --git a/hplip-ui-optional.patch b/hplip-ui-optional.patch
new file mode 100644 (file)
index 0000000..897a236
--- /dev/null
@@ -0,0 +1,16 @@
+--- hplip-1.7.2/base/utils.py.ui-optional      2007-02-07 19:21:31.000000000 +0000
++++ hplip-1.7.2/base/utils.py  2007-06-11 14:29:16.000000000 +0100
+@@ -644,6 +644,13 @@
+         log.error("PyQt not installed. GUI not available. Exiting.")
+         return False
++    # hplip-gui sub-package (Fedora)
++    try:
++        import ui
++    except ImportError:
++        log.error("hplip-gui not installed.  GUI not available. Exiting.")
++        return False
++
+     # check version of Qt
+     qtMajor = int(qt.qVersion().split('.')[0])
This page took 0.095675 seconds and 4 git commands to generate.