Added dirty start check, added images to plugin buttons, cleanup
This commit is contained in:
@@ -99,8 +99,12 @@ class Plugin(PluginBase):
|
||||
self._file_group = self._builder.get_object("file_group")
|
||||
|
||||
def generate_reference_ui_element(self):
|
||||
icon = Gtk.Image(stock=Gtk.STOCK_PROPERTIES )
|
||||
button = Gtk.Button(label=self.name)
|
||||
|
||||
button.connect("button-release-event", self._show_properties_page)
|
||||
button.set_image(icon)
|
||||
|
||||
return button
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user