1. Ronny Pfannschmidt
  2. pida-hacks

Commits

Ronny Pfannschmidt  committed c9e1de8

kill the gladefile alias for builder_file

  • Participants
  • Parent commits 29fc552
  • Branches default

Comments (0)

Files changed (7)

File pida-plugins/library/library.py

View file
         Column('title', expand=True, sorted=True)
     ]
 
-    gladefile = 'library_viewer'
+    builder_file = 'library_viewer'
     locale = locale
     icon_name = 'gtk-library'
     label_text = _('Documentation')

File pida-plugins/nosetest/nosetest.py

View file
 
     key = 'nosetests.results'
 
-    gladefile = 'python_testresult_browser'
+    builder_file = 'python_testresult_browser'
     locale = locale
     icon_name = 'python-icon'
     label_text = _('TestResults')

File pida-plugins/pastebin/pastebin.py

View file
 class PastebinEditorView(PidaView):
 
     key = 'pastebin.editor'
-    gladefile = 'paste_editor'
+    builder_file = 'paste_editor'
     locale = locale
     label_text = _('Paste Editor')
     icon_name = gtk.STOCK_PASTE

File pida-plugins/quickopen/quickopen.py

View file
 class QOpenView(PidaView):
 
     key = 'qopen.view'
-    gladefile = 'qopen'
+    builder_file = 'qopen'
     label_text = _('Quick Open')
 
     def create_ui(self):

File pida-plugins/trac/trac.py

View file
 
     key = 'trac.browser'
 
-    gladefile = 'trac_browser'
+    builder_file = 'trac_browser'
     locale = locale
     icon_name = 'trac_logo'
     label_text = _('Trac')

File pida/ui/prioritywindow.py

View file
 
 
 class PriorityEditorView(PidaView):
-    gladefile = 'priority_editor'
+    builder_file = 'priority_editor'
     locale = locale
 
     def __init__(self, *args, **kwargs):

File pida/ui/views.py

View file
     def can_be_closed(self):
         return False
 
-    gladefile = None
+    builder_file = None
 
     def __init__(self, service, title=None, icon=None, *args, **kw):
-        if not self.builder_file:
-            self.builder_file = self.gladefile
         self.svc = service
         self.label_text = title or self.label_text
         self.icon_name = icon or self.icon_name