Small code cleanup. Removed some lines of code that were commented out.
This commit is contained in:
parent
eefbc438bc
commit
d9ec8f1611
|
@ -94,7 +94,6 @@ class ViewFrameToolButton (gtk.ToolItem):
|
||||||
|
|
||||||
self._button = gtk.Button()
|
self._button = gtk.Button()
|
||||||
self._button.set_image(image)
|
self._button.set_image(image)
|
||||||
# self._button.set_focus_on_click(False)
|
|
||||||
self._button.set_property("can-focus", False)
|
self._button.set_property("can-focus", False)
|
||||||
|
|
||||||
eb = gtk.EventBox()
|
eb = gtk.EventBox()
|
||||||
|
@ -175,8 +174,6 @@ class FluentApp:
|
||||||
self.workflow.add_project(self.project)
|
self.workflow.add_project(self.project)
|
||||||
self.navigator_view.add_project(self.project)
|
self.navigator_view.add_project(self.project)
|
||||||
self.dimlistcontroller.set_project(project)
|
self.dimlistcontroller.set_project(project)
|
||||||
# self['selection_tree'].set_project(self.project)
|
|
||||||
# self['dim_list'].set_project(self.project)
|
|
||||||
|
|
||||||
def set_workflow(self, workflow):
|
def set_workflow(self, workflow):
|
||||||
self.workflow = workflow
|
self.workflow = workflow
|
||||||
|
@ -310,7 +307,8 @@ class FluentApp:
|
||||||
self._update_toolbar(vf.get_view())
|
self._update_toolbar(vf.get_view())
|
||||||
|
|
||||||
|
|
||||||
gobject.signal_new('table-size-set', TableSizeSelection, gobject.SIGNAL_RUN_LAST,
|
gobject.signal_new('table-size-set', TableSizeSelection,
|
||||||
|
gobject.SIGNAL_RUN_LAST,
|
||||||
gobject.TYPE_NONE,
|
gobject.TYPE_NONE,
|
||||||
(gobject.TYPE_INT, gobject.TYPE_INT))
|
(gobject.TYPE_INT, gobject.TYPE_INT))
|
||||||
|
|
||||||
|
|
Reference in New Issue