parent
41f93c5989
commit
6698ebe932
|
@ -195,11 +195,7 @@ class IdListController:
|
||||||
except:
|
except:
|
||||||
logger.log("notice", "Could not convert to float: %s, %s" %(item1, item2))
|
logger.log("notice", "Could not convert to float: %s, %s" %(item1, item2))
|
||||||
|
|
||||||
if item1==item2: return 0
|
return cmp(item1, item2)
|
||||||
if item1>item2:
|
|
||||||
return 1
|
|
||||||
else:
|
|
||||||
return -1
|
|
||||||
|
|
||||||
def _popup_menu(self, *rest):
|
def _popup_menu(self, *rest):
|
||||||
self._update_annotations_menu()
|
self._update_annotations_menu()
|
||||||
|
@ -597,7 +593,8 @@ class DimListController:
|
||||||
self._seltree_controller.activate()
|
self._seltree_controller.activate()
|
||||||
|
|
||||||
def _dim_row_activated(self, widget, path, column):
|
def _dim_row_activated(self, widget, path, column):
|
||||||
self._seltree_controller.set_dimension(dim)
|
#self._seltree_controller.set_dimension(dim)
|
||||||
|
pass
|
||||||
|
|
||||||
def _dimlist_button_pressed(self, widget, event):
|
def _dimlist_button_pressed(self, widget, event):
|
||||||
if event.button == 3:
|
if event.button == 3:
|
||||||
|
|
Reference in New Issue