Permalink
Browse files

fixed icons

  • Loading branch information...
1 parent bd585a4 commit 645dda255acc90aa1f429d702df43373a61ee5d6 Cyrille Rossant committed Dec 29, 2012
Showing with 7 additions and 4 deletions.
  1. +1 −0 spiky/__init__.py
  2. +6 −4 spiky/views/featureview.py
View
@@ -2,5 +2,6 @@
from colors import *
from tools import *
from dataio import *
+from icons import *
# from widgets import *
from gui import *
View
@@ -9,6 +9,7 @@
from common import HighlightManager, SpikyBindings, SpikeDataOrganizer
from widgets import VisualizationWidget
import spiky.colors as scolors
+import spiky
import spiky.tools as stools
import spiky.signals as ssignals
# from signals import *
@@ -696,15 +697,16 @@ def create_toolbar(self):
toolbar.setIconSize(QtCore.QSize(32, 32))
# navigation toolbar
- toolbar.addAction(get_icon('hand'), "Move (press I to switch)",
+ toolbar.addAction(spiky.get_icon('hand'), "Move (press I to switch)",
self.set_navigation)
- toolbar.addAction(get_icon('selection'), "Selection (press I to switch)",
+ toolbar.addAction(spiky.get_icon('selection'), "Selection (press I to switch)",
self.set_selection)
- toolbar.addSeparator()
+ # toolbar.addSeparator()
# autoprojection
- toolbar.addAction(self.main_window.autoproj_action)
+ # toolbar.addAction(spiky.get_icon('hand'), "Move (press I to switch)",
+ # self.main_window.autoproj_action)
toolbar.addSeparator()

0 comments on commit 645dda2

Please sign in to comment.