Ignore:
Timestamp:
12/02/13 17:07:42 (5 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Replaced hypens with unicode minus character in GUI button labels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/Data/OWPreprocess.py

    r11748 r11780  
     1import sys 
     2import unicodedata 
     3 
    14from OWWidget import * 
    25from OWItemModels import PyListModel, ListSingleSelectionModel, ModelActionsWidget 
     
    69import orngWrap 
    710import orngSVM 
    8  
    9 import sys 
    1011 
    1112from Orange.data import preprocess 
     
    511512        self.addPreprocessorAction = QAction("+",self) 
    512513        self.addPreprocessorAction.pyqtConfigure(toolTip="Add a new preprocessor to the list") 
    513         self.removePreprocessorAction = QAction("-", self) 
     514        self.removePreprocessorAction = QAction( 
     515                unicodedata.lookup("MINUS SIGN"), self) 
    514516        self.removePreprocessorAction.pyqtConfigure(toolTip="Remove selected preprocessor from the list") 
    515517        self.removePreprocessorAction.setEnabled(False) 
     
    552554        self.updateSchemaAction = QAction("Update", self) 
    553555        self.updateSchemaAction.pyqtConfigure(toolTip="Save changes made in the current schema") 
    554         self.removeSchemaAction = QAction("-", self) 
     556        self.removeSchemaAction = QAction(unicodedata.lookup("MINUS SIGN"), self) 
    555557        self.removeSchemaAction.pyqtConfigure(toolTip="Remove selected schema") 
    556558         
Note: See TracChangeset for help on using the changeset viewer.