[GRASS-SVN] r43741 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Sep 30 04:48:08 EDT 2010
Author: mmetz
Date: 2010-09-30 08:48:08 +0000 (Thu, 30 Sep 2010)
New Revision: 43741
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/gcpmanager.py
Log:
solved TODO: use arrow images for column sorting (backport from trunk r43740)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gcpmanager.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gcpmanager.py 2010-09-30 08:46:33 UTC (rev 43740)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gcpmanager.py 2010-09-30 08:48:08 UTC (rev 43741)
@@ -836,17 +836,8 @@
# CheckListCtrlMixin must set an ImageList first
self.il = self.list.GetImageList(wx.IMAGE_LIST_SMALL)
- # TODO: make a decision
- use_art_provider = False
- if use_art_provider:
- i_size = wx.Size(12, 12)
- SmallUpArrow = wx.ArtProvider.GetBitmap(id=wx.ART_GO_UP,
- client=wx.ART_FRAME_ICON, size=i_size)
- SmallDnArrow = wx.ArtProvider.GetBitmap(id=wx.ART_GO_DOWN,
- client=wx.ART_FRAME_ICON, size=i_size)
- else:
- SmallUpArrow = wx.BitmapFromImage(getSmallUpArrowImage())
- SmallDnArrow = wx.BitmapFromImage(getSmallDnArrowImage())
+ SmallUpArrow = wx.BitmapFromImage(getSmallUpArrowImage())
+ SmallDnArrow = wx.BitmapFromImage(getSmallDnArrowImage())
self.sm_dn = self.il.Add(SmallDnArrow)
self.sm_up = self.il.Add(SmallUpArrow)
More information about the grass-commit
mailing list