From efa4ee5ee367927e75c6135387b999153d849f0f Mon Sep 17 00:00:00 2001 From: Sebastian Heinlein Date: Fri, 24 Mar 2006 13:57:06 +0100 Subject: * open the edit dialog if the channel was double clicked --- SoftwareProperties/SoftwareProperties.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'SoftwareProperties') diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py index 099576d0..8d75a6c1 100644 --- a/SoftwareProperties/SoftwareProperties.py +++ b/SoftwareProperties/SoftwareProperties.py @@ -367,7 +367,11 @@ class SoftwareProperties(SimpleGladeApp): if dialog.run() == gtk.RESPONSE_OK: self.reload_sourceslist() self.modified = True - + + def on_channel_activated(self, treeview, path, column): + """Open the edit dialog if a channel was double clicked""" + self.on_edit_clicked(treeview) + def on_remove_clicked(self, widget): sel = self.treeview_sources.get_selection() (model, iter) = sel.get_selected() -- cgit v1.2.3