[X2Go-Commits] [pyhoca-gui] 01/02: Find two more Menu.Append*() calls that required turning arguments into positional arguments (see above).

git-admin at x2go.org git-admin at x2go.org
Wed Dec 11 15:24:52 CET 2019


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

x2go pushed a commit to branch master
in repository pyhoca-gui.

commit 396b09fb91ab0fc83b3fd070bcbe43cca460c5fb
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Dec 11 15:20:33 2019 +0100

    Find two more Menu.Append*() calls that required turning arguments into positional arguments (see above).
---
 debian/changelog              | 2 ++
 pyhoca/wxgui/menus_taskbar.py | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ebbf0d9..fce5317 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,8 @@ pyhoca-gui (0.6.0.0-0x2go2) UNRELEASED; urgency=medium
     - Add version check with gi.require_version for Notify GIR.
     - profilemanager: With PyWxGTK 4.0, use SetItem and InsertItem rather than
       deprecated SetStringItem and InsertStringItem.
+    - Find two more Menu.Append*() calls that required turning arguments
+      into positional arguments (see above).
   * debian/control:
     + Switch from Py2 to Py3 (B-Ds and Ds).
     + Bump DH compat level to version 9.
diff --git a/pyhoca/wxgui/menus_taskbar.py b/pyhoca/wxgui/menus_taskbar.py
index 93bee28..9ea048e 100644
--- a/pyhoca/wxgui/menus_taskbar.py
+++ b/pyhoca/wxgui/menus_taskbar.py
@@ -398,7 +398,7 @@ class PyHocaGUI_Menu_TaskbarProfileSharedFolders(wx.Menu):
 
         self.AppendSeparator()
 
-        _remember_shared_folders_item = self.AppendCheckItem(id=ID_REMEMBERSHAREDFOLDERS, text=_("Restore shares in next session"))
+        _remember_shared_folders_item = self.AppendCheckItem(ID_REMEMBERSHAREDFOLDERS, _("Restore shares in next session"))
         if profile_name not in self._PyHocaGUI._remember_shared_folders:
             self._PyHocaGUI._remember_shared_folders[profile_name] = self._PyHocaGUI.get_profile_config(profile_name, 'restoreexports')
         _remember_shared_folders_item.Check(self._PyHocaGUI._remember_shared_folders[profile_name])
@@ -588,7 +588,7 @@ class PyHocaGUI_Menu_TaskbarSessionProfile(wx.Menu):
             _useexports = self._PyHocaGUI.get_profile_config(profile_name, 'useexports')
 
             if profile_name in self._PyHocaGUI._temp_disabled_profile_names:
-                _connecting_info = self.Append(wx.NewId(), text=_('Currently connecting...'))
+                _connecting_info = self.Append(wx.NewId(), _('Currently connecting...'))
                 _connecting_info.Enable(False)
 
             elif self._PyHocaGUI.args.single_session_profile and \

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git


More information about the x2go-commits mailing list