diff options
| author | Sebastian Heinlein <sebastian.heinlein@web.de> | 2006-03-24 13:57:06 +0100 |
|---|---|---|
| committer | Sebastian Heinlein <sebastian.heinlein@web.de> | 2006-03-24 13:57:06 +0100 |
| commit | efa4ee5ee367927e75c6135387b999153d849f0f (patch) | |
| tree | 8b4eee3c032fb66002e6a454209112f4097dc672 /SoftwareProperties | |
| parent | 8bb6b566d6a7fbcd3bdf5b45ccaefb8d95bae0b0 (diff) | |
| download | python-apt-efa4ee5ee367927e75c6135387b999153d849f0f.tar.gz | |
* open the edit dialog if the channel was double clicked
Diffstat (limited to 'SoftwareProperties')
| -rw-r--r-- | SoftwareProperties/SoftwareProperties.py | 6 |
1 files changed, 5 insertions, 1 deletions
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() |
