close button fixes
svn: r6408
This commit is contained in:
parent
d384497dd9
commit
8a0b43dc26
@ -65,8 +65,8 @@ class PluginStatus(ManagedWindow.ManagedWindow):
|
||||
)
|
||||
)
|
||||
self.window.set_size_request(600,400)
|
||||
self.window.connect('delete-event',self.close)
|
||||
self.window.connect('response', self.close)
|
||||
self.window.connect('delete-event',self.close_window)
|
||||
self.window.connect('response', self.close_window)
|
||||
|
||||
scrolled_window = gtk.ScrolledWindow()
|
||||
self.list = gtk.TreeView()
|
||||
@ -110,6 +110,9 @@ class PluginStatus(ManagedWindow.ManagedWindow):
|
||||
'<span weight="bold" color="#267726">%s</span>' % _("OK"),
|
||||
i[0], descr, None])
|
||||
|
||||
def close_window(self, *obj):
|
||||
self.close()
|
||||
|
||||
def button_press(self, obj, event):
|
||||
if event.type == gtk.gdk._2BUTTON_PRESS and event.button == 1:
|
||||
model, node = self.selection.get_selected()
|
||||
|
Loading…
Reference in New Issue
Block a user