[GRASS-SVN] r43740 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Sep 30 04:46:34 EDT 2010
Author: mmetz
Date: 2010-09-30 08:46:33 +0000 (Thu, 30 Sep 2010)
New Revision: 43740
Modified:
grass/trunk/gui/wxpython/gui_modules/gcpmanager.py
Log:
solved TODO: use arrow images for column sorting
Modified: grass/trunk/gui/wxpython/gui_modules/gcpmanager.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gcpmanager.py 2010-09-30 07:52:43 UTC (rev 43739)
+++ grass/trunk/gui/wxpython/gui_modules/gcpmanager.py 2010-09-30 08:46:33 UTC (rev 43740)
@@ -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