diff --git a/deluge/ui/gtkui/glade/main_window.glade b/deluge/ui/gtkui/glade/main_window.glade
index e6fa3cf18..9704c58a4 100644
--- a/deluge/ui/gtkui/glade/main_window.glade
+++ b/deluge/ui/gtkui/glade/main_window.glade
@@ -37,30 +37,6 @@
-
-
-
-
-
-
@@ -301,20 +277,6 @@
False
-
-
- True
- False
- Remove the seeding torrents
- Clear Seeds
- True
- gtk-clear
-
-
-
- False
-
-
True
diff --git a/deluge/ui/gtkui/glade/preferences_dialog.glade b/deluge/ui/gtkui/glade/preferences_dialog.glade
index e9b32bb41..3ff4cf106 100644
--- a/deluge/ui/gtkui/glade/preferences_dialog.glade
+++ b/deluge/ui/gtkui/glade/preferences_dialog.glade
@@ -1,6 +1,6 @@
-
+
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
@@ -430,20 +430,6 @@
True
-
-
- True
- True
- GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
- Enable selecting files for torrents before loading
- Enable selecting files for torrents before loading
- 0
- True
-
-
- False
-
-
True
@@ -456,6 +442,18 @@
False
+
+
+
+
+ True
+ True
+ GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
+ Set Private by default
+ 0
+ True
+
+
1
@@ -1078,69 +1076,35 @@ Either
2
15
-
+
True
- True
- The maximum upload slots for all torrents. Set -1 for unlimited.
- 1
- -1 -1 9000 1 10 10
- 1
- True
- True
+ The maximum upload speed for all torrents. Set -1 for unlimited.
+ 0
+ Maximum Upload Speed (KiB/s):
- 1
- 2
3
4
GTK_FILL
-
+
True
- True
- The maximum upload speed for all torrents. Set -1 for unlimited.
- 1
- -1 -1 9000 1 10 10
- 1
- 1
- True
-
-
- 1
- 2
- 2
- 3
- GTK_FILL
-
-
-
-
- True
- True
- GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
- The maximum download speed for all torrents. Set -1 for unlimited.
- 1
- -1 -1 9000 1 10 10
- 1
- 1
- True
-
-
- 1
- 2
- 1
- 2
- GTK_FILL
-
-
-
-
- True
- The maximum download speed for all torrents. Set -1 for unlimited.
+ The maximum number of connections allowed. Set -1 for unlimited.
0
- Maximum Download Speed (KiB/s):
+ Maximum Connections:
+
+
+ GTK_FILL
+
+
+
+
+ True
+ The maximum upload speed for all torrents. Set -1 for unlimited.
+ 0
+ Maximum Upload Slots:
1
@@ -1168,39 +1132,73 @@ Either
-
+
True
- The maximum upload speed for all torrents. Set -1 for unlimited.
+ The maximum download speed for all torrents. Set -1 for unlimited.
0
- Maximum Upload Slots:
+ Maximum Download Speed (KiB/s):
+ 2
+ 3
+ GTK_FILL
+
+
+
+
+ True
+ True
+ GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
+ The maximum download speed for all torrents. Set -1 for unlimited.
+ 1
+ -1 -1 9000 1 10 10
+ 1
+ 1
+ True
+
+
+ 1
+ 2
+ 2
+ 3
+ GTK_FILL
+
+
+
+
+ True
+ True
+ The maximum upload speed for all torrents. Set -1 for unlimited.
+ 1
+ -1 -1 9000 1 10 10
+ 1
+ 1
+ True
+
+
+ 1
+ 2
3
4
GTK_FILL
-
+
True
- The maximum number of connections allowed. Set -1 for unlimited.
- 0
- Maximum Connections:
+ True
+ The maximum upload slots for all torrents. Set -1 for unlimited.
+ 1
+ -1 -1 9000 1 10 10
+ 1
+ True
+ True
- GTK_FILL
-
-
-
-
- True
- The maximum upload speed for all torrents. Set -1 for unlimited.
- 0
- Maximum Upload Speed (KiB/s):
-
-
- 2
- 3
+ 1
+ 2
+ 1
+ 2
GTK_FILL
@@ -1243,28 +1241,95 @@ Either
True
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
- 2
+ 4
2
15
-
+
True
True
- The maximum upload slots per torrent. Set -1 for unlimited.
+ The maximum number of connections per torrent. Set -1 for unlimited.
1
-1 -1 9000 1 10 10
- 1
- True
+ 1
True
1
2
+ 3
+ 4
+ GTK_FILL
+
+
+
+
+ True
+ True
+ The maximum number of connections per torrent. Set -1 for unlimited.
+ 1
+ -1 -1 9000 1 10 10
+ 1
+ True
+
+
+ 1
+ 2
+ 2
+ 3
+ GTK_FILL
+
+
+
+
+ True
+ GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
+ 0
+ Maximum Upload Speed (KiB/s):
+
+
+ 3
+ 4
+ GTK_FILL
+
+
+
+
+ True
+ GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
+ 0
+ Maximum Download Speed (KiB/s):
+
+
+ 2
+ 3
+ GTK_FILL
+
+
+
+
+ True
+ GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
+ 0
+ Maximum Upload Slots:
+
+
1
2
GTK_FILL
+
+
+ True
+ GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
+ 0
+ Maximum Connections:
+
+
+ GTK_FILL
+
+
True
@@ -1282,24 +1347,19 @@ Either
-
+
True
- GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
- 0
- Maximum Connections:
-
-
- GTK_FILL
-
-
-
-
- True
- GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
- 0
- Maximum Upload Slots:
+ True
+ The maximum upload slots per torrent. Set -1 for unlimited.
+ 1
+ -1 -1 9000 1 10 10
+ 1
+ True
+ True
+ 1
+ 2
1
2
GTK_FILL
@@ -1550,33 +1610,15 @@ Either
2
10
-
+
True
+ False
True
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
- Open folder with:
- 0
- True
- True
-
-
-
- GTK_FILL
-
-
-
-
- True
- True
- GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
- Custom:
- 0
- True
- True
- radio_open_folder_stock
-
+ 1
+ 2
1
2
GTK_FILL
@@ -1606,20 +1648,38 @@ Thunar
-
+
True
- False
True
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
+ Custom:
+ 0
+ True
+ True
+ radio_open_folder_stock
+
- 1
- 2
1
2
GTK_FILL
+
+
+ True
+ True
+ GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
+ Open folder with:
+ 0
+ True
+ True
+
+
+
+ GTK_FILL
+
+
diff --git a/deluge/ui/gtkui/menubar.py b/deluge/ui/gtkui/menubar.py
index 0df52ba71..3413b8a7c 100644
--- a/deluge/ui/gtkui/menubar.py
+++ b/deluge/ui/gtkui/menubar.py
@@ -63,9 +63,6 @@ class MenuBar(component.Component):
## File Menu
"on_menuitem_addtorrent_activate": \
self.on_menuitem_addtorrent_activate,
- "on_menuitem_addurl_activate": self.on_menuitem_addurl_activate,
- "on_menuitem_clear_activate": \
- self.on_menuitem_clear_activate,
"on_menuitem_quitdaemon_activate": \
self.on_menuitem_quitdaemon_activate,
"on_menuitem_quit_activate": self.on_menuitem_quit_activate,
@@ -103,9 +100,7 @@ class MenuBar(component.Component):
})
self.change_sensitivity = [
- "menuitem_addtorrent",
- "menuitem_addurl",
- "menuitem_clear"
+ "menuitem_addtorrent"
]
def start(self):
@@ -157,16 +152,6 @@ class MenuBar(component.Component):
#client.add_torrent_file(AddTorrentDialog().run())
AddTorrentDialog().show()
- def on_menuitem_addurl_activate(self, data=None):
- log.debug("on_menuitem_addurl_activate")
- from addtorrenturl import AddTorrentUrl
- result = AddTorrentUrl().run()
- if result is not None:
- client.add_torrent_url(result)
-
- def on_menuitem_clear_activate(self, data=None):
- log.debug("on_menuitem_clear_activate")
-
def on_menuitem_quitdaemon_activate(self, data=None):
log.debug("on_menuitem_quitdaemon_activate")
# Tell the core to shutdown
diff --git a/deluge/ui/gtkui/preferences.py b/deluge/ui/gtkui/preferences.py
index 6f3546519..c556fa435 100644
--- a/deluge/ui/gtkui/preferences.py
+++ b/deluge/ui/gtkui/preferences.py
@@ -286,8 +286,6 @@ class Preferences(component.Component):
self.gtkui_config["autoadd_enable"])
self.glade.get_widget("autoadd_folder_button").set_filename(
self.gtkui_config["autoadd_location"])
- self.glade.get_widget("chk_enable_files_dialog").set_active(
- self.gtkui_config["enable_files_dialog"])
## Interface tab ##
self.glade.get_widget("chk_use_tray").set_active(
diff --git a/deluge/ui/gtkui/toolbar.py b/deluge/ui/gtkui/toolbar.py
index 472f1b9ee..dffea8ee2 100644
--- a/deluge/ui/gtkui/toolbar.py
+++ b/deluge/ui/gtkui/toolbar.py
@@ -54,7 +54,6 @@ class ToolBar(component.Component):
self.window.main_glade.signal_autoconnect({
"on_toolbutton_add_clicked": self.on_toolbutton_add_clicked,
"on_toolbutton_remove_clicked": self.on_toolbutton_remove_clicked,
- "on_toolbutton_clear_clicked": self.on_toolbutton_clear_clicked,
"on_toolbutton_pause_clicked": self.on_toolbutton_pause_clicked,
"on_toolbutton_resume_clicked": self.on_toolbutton_resume_clicked,
"on_toolbutton_preferences_clicked": \
@@ -65,7 +64,6 @@ class ToolBar(component.Component):
self.change_sensitivity = [
"toolbutton_add",
"toolbutton_remove",
- "toolbutton_clear",
"toolbutton_pause",
"toolbutton_resume"
]
@@ -139,11 +137,6 @@ class ToolBar(component.Component):
# Use the menubar's callbacks
component.get("MenuBar").on_menuitem_remove_activate(data)
- def on_toolbutton_clear_clicked(self, data):
- log.debug("on_toolbutton_clear_clicked")
- # Use the menubar's callbacks
- component.get("MenuBar").on_menuitem_clear_activate(data)
-
def on_toolbutton_pause_clicked(self, data):
log.debug("on_toolbutton_pause_clicked")
# Use the menubar's callbacks