diff --git a/fluents/selections.py b/fluents/selections.py index 59b3917..d3684a6 100644 --- a/fluents/selections.py +++ b/fluents/selections.py @@ -195,11 +195,7 @@ class IdListController: except: logger.log("notice", "Could not convert to float: %s, %s" %(item1, item2)) - if item1==item2: return 0 - if item1>item2: - return 1 - else: - return -1 + return cmp(item1, item2) def _popup_menu(self, *rest): self._update_annotations_menu() @@ -597,7 +593,8 @@ class DimListController: self._seltree_controller.activate() 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): if event.button == 3: