[GRASS-SVN] r67668 - grass/trunk/gui/wxpython/modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 25 08:20:33 PST 2016
Author: martinl
Date: 2016-01-25 08:20:33 -0800 (Mon, 25 Jan 2016)
New Revision: 67668
Modified:
grass/trunk/gui/wxpython/modules/extensions.py
Log:
wxGUI/extensions: list only first 10 files
Modified: grass/trunk/gui/wxpython/modules/extensions.py
===================================================================
--- grass/trunk/gui/wxpython/modules/extensions.py 2016-01-25 15:32:08 UTC (rev 67667)
+++ grass/trunk/gui/wxpython/modules/extensions.py 2016-01-25 16:20:33 UTC (rev 67668)
@@ -9,7 +9,7 @@
- extensions::ManageExtensionWindow
- extensions::CheckListExtension
-(C) 2008-2015 by the GRASS Development Team
+(C) 2008-2016 by the GRASS Development Team
This program is free software under the GNU General Public License
(>=v2). Read the file COPYING that comes with GRASS for details.
@@ -424,6 +424,9 @@
for ext in eList:
files = RunCommand('g.extension', parent = self, read = True, quiet = True,
extension = ext, operation = 'remove').splitlines()
+ if len(files) > 10:
+ files = files[:10]
+ files.append('...')
dlg = wx.MessageDialog(parent = self,
message = _("List of files to be removed:\n%(files)s\n\n"
"Do you want really to remove <%(ext)s> extension?") % \
More information about the grass-commit
mailing list