[X2Go-Commits] [pyhoca-gui] 69/71: CVix: tweak Python X2Go's default printing setup, open dialog box by default

git-admin at x2go.org git-admin at x2go.org
Thu Mar 20 00:32:44 CET 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch cvix/2.x
in repository pyhoca-gui.

commit 5a73d7a57dd83ff8ffe2b2147803ff9015e1cb61
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Feb 21 00:55:10 2014 +0100

    CVix: tweak Python X2Go's default printing setup, open dialog box by default
---
 CVix.py |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/CVix.py b/CVix.py
index 0ba7116..1167ee5 100755
--- a/CVix.py
+++ b/CVix.py
@@ -32,6 +32,8 @@ import sys
 from pyhoca.wxgui.launcher import PyHocaGUI_Launcher
 
 import x2go
+
+
 import CVix_session_profile_template
 
 __AUTHOR__ = "Mike Gabriel, Dick Kniep"
@@ -41,6 +43,10 @@ __VERSION__ = "1.99.2"
 # change this to .CVix???
 SESSION_DIR = '.x2goclient'
 
+# tweak Python X2Go's default printing setup
+x2go.defaults.X2GOCLIENT_PRINTING_DEFAULTS['General']['pdfview'] = False
+x2go.defaults.X2GOCLIENT_PRINTING_DEFAULTS['General']['showdialog'] = True
+
 preserve_profile_options=[
     'user',
     'export',

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git



More information about the x2go-commits mailing list