mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 07:28:39 +00:00
Double-clicking on host in ConnectionManager now will connect to that
host
This commit is contained in:
parent
78eabc66a8
commit
ad6f16f69d
2 changed files with 7 additions and 1 deletions
|
@ -5,6 +5,7 @@ Deluge 0.9.04 - "1.0.0_RC4" (In Development)
|
||||||
|
|
||||||
GtkUI:
|
GtkUI:
|
||||||
* Add drag n' drop support for adding .torrent files
|
* Add drag n' drop support for adding .torrent files
|
||||||
|
* Double-clicking on host in ConnectionManager now will connect to that host
|
||||||
* Fix selecting torrents when right-clicking on them in torrentview and filestab
|
* Fix selecting torrents when right-clicking on them in torrentview and filestab
|
||||||
* Fix new release check
|
* Fix new release check
|
||||||
* Display 'total_wanted' instead of 'total_size' in Size column
|
* Display 'total_wanted' instead of 'total_size' in Size column
|
||||||
|
|
|
@ -122,6 +122,8 @@ class ConnectionManager(component.Component):
|
||||||
self.hostlist.get_selection().connect("changed",
|
self.hostlist.get_selection().connect("changed",
|
||||||
self.on_selection_changed)
|
self.on_selection_changed)
|
||||||
|
|
||||||
|
self.hostlist.connect("row-activated", self._on_row_activated)
|
||||||
|
|
||||||
# If classic mode is set, we just start up a localhost daemon and connect to it
|
# If classic mode is set, we just start up a localhost daemon and connect to it
|
||||||
if self.gtkui_config["classic_mode"]:
|
if self.gtkui_config["classic_mode"]:
|
||||||
uri = "http://localhost:58846"
|
uri = "http://localhost:58846"
|
||||||
|
@ -510,3 +512,6 @@ class ConnectionManager(component.Component):
|
||||||
def on_selection_changed(self, treeselection):
|
def on_selection_changed(self, treeselection):
|
||||||
log.debug("on_selection_changed")
|
log.debug("on_selection_changed")
|
||||||
self.update_buttons()
|
self.update_buttons()
|
||||||
|
|
||||||
|
def _on_row_activated(self, tree, path, view_column):
|
||||||
|
self.on_button_connect_clicked(self.glade.get_widget("button_connect"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue