summaryrefslogtreecommitdiff
path: root/net-p2p/deluge05/files/patch-disable_check_update
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/deluge05/files/patch-disable_check_update')
-rw-r--r--net-p2p/deluge05/files/patch-disable_check_update61
1 files changed, 0 insertions, 61 deletions
diff --git a/net-p2p/deluge05/files/patch-disable_check_update b/net-p2p/deluge05/files/patch-disable_check_update
deleted file mode 100644
index 90a7d315e5d1..000000000000
--- a/net-p2p/deluge05/files/patch-disable_check_update
+++ /dev/null
@@ -1,61 +0,0 @@
---- glade/preferences_dialog.glade.orig 2008-01-30 13:03:26.000000000 -0600
-+++ glade/preferences_dialog.glade 2008-01-30 13:04:06.000000000 -0600
-@@ -2673,7 +2673,7 @@
- </child>
- <child>
- <widget class="GtkFrame" id="frame4">
-- <property name="visible">True</property>
-+ <property name="visible">False</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">GTK_SHADOW_NONE</property>
---- src/interface.py.orig 2008-01-30 13:03:33.000000000 -0600
-+++ src/interface.py 2008-01-30 13:04:38.000000000 -0600
-@@ -1037,8 +1037,6 @@
- # Load plugins after we showed main window (if not started in tray)
- self.load_plugins()
- self.load_tabs_order()
-- if self.config.get("new_releases"):
-- self.new_release_check()
-
- try:
- gobject.threads_init()
-@@ -1048,38 +1046,6 @@
- except KeyboardInterrupt:
- self.manager.quit()
-
-- def new_release_check(self):
-- import socket
-- import urllib
-- timeout = 5
-- socket.setdefaulttimeout(timeout)
-- try:
-- gtk.gdk.threads_enter()
-- except:
-- pass
-- try:
-- new_release = urllib.urlopen("http://download.deluge-torrent.org/version").read().strip()
-- except IOError:
-- print "Network error while trying to check for a newer version of \
--Deluge"
-- try:
-- gtk.gdk.threads_leave()
-- except:
-- pass
-- return
--
-- if new_release > common.PROGRAM_VERSION:
-- result = dialogs.show_popup_question(None, _("There is a newer version \
--of Deluge. Would you like to be taken to our download site?"))
-- if result:
-- common.open_url_in_browser('http://download.deluge-torrent.org/')
-- else:
-- pass
-- try:
-- gtk.gdk.threads_leave()
-- except:
-- pass
--
- def load_plugins(self):
- enable_plugins = self.config.get('enabled_plugins').split(':')
- for plugin in enable_plugins: