Commits

Steve Borho committed b6a9c54

thgshelve: move private function from status.py

Comments (0)

Files changed (2)

             return
         self._hg_call_wrapper('Diff', dohgdiff)
 
-    def _has_shelve_file(self):
-        return os.path.exists(self.repo.join('shelve'))
-        
     def _showdiff_toggled(self, togglebutton, data=None):
         # prevent movement events while setting position
         self._diffpane.handler_block(self._diffpane_moved_id)

hggtk/thgshelve.py

 
     ### End of overridable methods ###
 
+    def _has_shelve_file(self):
+        return os.path.exists(self.repo.join('shelve'))
+        
     def _activate_shelve_buttons(self, status):
         if status:
             self.shelve_btn.set_sensitive(True)