Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: X2Go dev team <git-admin-P0WSJaAXTow <at> public.gmane.org>
Subject: pyhoca-gui.git - master (branch) updated: 0.2.1.1-18-gf35e93e
Newsgroups: gmane.linux.terminal-server.x2go.scm
Date: Friday 11th January 2013 10:44:02 UTC (over 3 years ago)
The branch, master has been updated
       via  f35e93e867eb8f1dbbee9ad80fe0380be012df7d (commit)
      from  25d052f9bc81227a3f003b42fce7b9c7f28e094e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f35e93e867eb8f1dbbee9ad80fe0380be012df7d
Author: Mike Gabriel

Date:   Fri Jan 11 11:45:26 2013 +0100

    suggest .x2go file name when exporting session profiles

-----------------------------------------------------------------------

Summary of changes:
 pyhoca/wxgui/frontend.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 68dd026..eedf85b 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -1083,12 +1083,12 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
             filtered_profile_names = [ pn for pn in
self._X2goClient__get_profiles().profile_names if
pn.startswith(unicode(profile_group)) ]
 
             dlg = wx.FileDialog(
-                self.about, message=_(u"%s - export session profiles") %
profile_group, wildcard="*.x2go", style=wx.FD_SAVE)
+                self.about, message=_(u"%s - export session profiles") %
profile_group, defaultFile="%s.x2go" % profile_group.replace("/", "::"),
wildcard="*.x2go", style=wx.FD_SAVE)
 
         if profile_name:
 
             dlg = wx.FileDialog(
-                self.about, message=_(u"%s - export session profile") %
profile_name, wildcard="*.x2go", style=wx.FD_SAVE)
+                self.about, message=_(u"%s - export session profile") %
profile_name, defaultFile="%s.x2go" % profile_name, wildcard="*.x2go",
style=wx.FD_SAVE)
             filtered_profile_names = [profile_name]
 
         # Show the dialog and retrieve the user response. If it is the OK
response,


hooks/post-receive
 
CD: 69ms