New directory structure
0
deluge/core/__init__.py
Normal file
|
@ -47,11 +47,11 @@ except: dbus_imported = False
|
||||||
else: dbus_imported = True
|
else: dbus_imported = True
|
||||||
|
|
||||||
import gobject
|
import gobject
|
||||||
import libtorrent as lt
|
import deluge.libtorrent as lt
|
||||||
|
|
||||||
from deluge.config import Config
|
from deluge.config import Config
|
||||||
import deluge.common
|
import deluge.common
|
||||||
from deluge.torrent import Torrent
|
from deluge.core.torrent import Torrent
|
||||||
|
|
||||||
# Get the logger
|
# Get the logger
|
||||||
log = logging.getLogger("deluge")
|
log = logging.getLogger("deluge")
|
|
@ -45,7 +45,7 @@ else: dbus_imported = True
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from deluge.core import Core
|
from deluge.core.core import Core
|
||||||
|
|
||||||
# Get the logger
|
# Get the logger
|
||||||
log = logging.getLogger("deluge")
|
log = logging.getLogger("deluge")
|
|
@ -31,7 +31,7 @@
|
||||||
# this exception statement from your version. If you delete this exception
|
# this exception statement from your version. If you delete this exception
|
||||||
# statement from all source files in the program, then also delete it here.
|
# statement from all source files in the program, then also delete it here.
|
||||||
|
|
||||||
import libtorrent as lt
|
import deluge.libtorrent as lt
|
||||||
|
|
||||||
class Torrent:
|
class Torrent:
|
||||||
def __init__(self, filename=None, url=None):
|
def __init__(self, filename=None, url=None):
|
|
@ -1,38 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
||||||
<!--Generated with glade3 3.1.5 on Thu Feb 22 19:13:48 2007 by zach@notapowerbook-->
|
|
||||||
<glade-interface>
|
|
||||||
<widget class="GtkAboutDialog" id="aboutdialog">
|
|
||||||
<property name="border_width">5</property>
|
|
||||||
<property name="destroy_with_parent">True</property>
|
|
||||||
<property name="skip_taskbar_hint">True</property>
|
|
||||||
<property name="skip_pager_hint">True</property>
|
|
||||||
<property name="has_separator">False</property>
|
|
||||||
<property name="website"></property>
|
|
||||||
<property name="authors"></property>
|
|
||||||
<property name="translator-credits"></property>
|
|
||||||
<property name="documenters"></property>
|
|
||||||
<property name="artists"></property>
|
|
||||||
<child internal-child="vbox">
|
|
||||||
<widget class="GtkVBox" id="dialog-vbox2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="spacing">2</property>
|
|
||||||
<child>
|
|
||||||
<placeholder/>
|
|
||||||
</child>
|
|
||||||
<child internal-child="action_area">
|
|
||||||
<widget class="GtkHButtonBox" id="dialog-action_area2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="pack_type">GTK_PACK_END</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</glade-interface>
|
|
|
@ -1,406 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
||||||
<!--Generated with glade3 3.2.2 on Wed Jun 20 16:04:00 2007 by andrew@fractal-->
|
|
||||||
<glade-interface>
|
|
||||||
<widget class="GtkMenu" id="torrent_popup">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkCheckMenuItem" id="menuitem1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Size</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="active">True</property>
|
|
||||||
<signal name="toggled" handler="size_toggle"/>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkCheckMenuItem" id="menuitem2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Status</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="active">True</property>
|
|
||||||
<signal name="toggled" handler="status_toggle"/>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkCheckMenuItem" id="menuitem3">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Seeders</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="active">True</property>
|
|
||||||
<signal name="toggled" handler="seeders_toggle"/>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkCheckMenuItem" id="menuitem4">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Peers</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="active">True</property>
|
|
||||||
<signal name="toggled" handler="peers_toggle"/>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkCheckMenuItem" id="menuitem5">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Download Speed</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="active">True</property>
|
|
||||||
<signal name="toggled" handler="dl_toggle"/>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkCheckMenuItem" id="menuitem6">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Upload Speed</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="active">True</property>
|
|
||||||
<signal name="toggled" handler="ul_toggle"/>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkCheckMenuItem" id="menuitem7">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Time Remaining</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="active">True</property>
|
|
||||||
<signal name="toggled" handler="eta_toggle"/>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkCheckMenuItem" id="menuitem8">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Share Ratio</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="active">True</property>
|
|
||||||
<signal name="toggled" handler="share_toggle"/>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<widget class="GtkDialog" id="remove_torrent_dlg">
|
|
||||||
<property name="title" translatable="yes">Remove Torrent</property>
|
|
||||||
<property name="destroy_with_parent">True</property>
|
|
||||||
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
|
|
||||||
<property name="skip_taskbar_hint">True</property>
|
|
||||||
<property name="skip_pager_hint">True</property>
|
|
||||||
<property name="has_separator">False</property>
|
|
||||||
<child internal-child="vbox">
|
|
||||||
<widget class="GtkVBox" id="dialog-vbox3">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkVBox" id="vbox1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="spacing">10</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkHBox" id="hbox1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="spacing">3</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImage" id="image1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-dialog-warning</property>
|
|
||||||
<property name="icon_size">6</property>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="padding">5</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkLabel" id="label1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="xalign">0</property>
|
|
||||||
<property name="label" translatable="yes"><span size="large"><b>Are you sure you want to remove the selected torrent(s) from Deluge?</b></span></property>
|
|
||||||
<property name="use_markup">True</property>
|
|
||||||
<property name="wrap">True</property>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="padding">10</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="padding">5</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkAlignment" id="alignment1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="left_padding">20</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkCheckButton" id="data_also">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Delete downloaded files</property>
|
|
||||||
<property name="response_id">0</property>
|
|
||||||
<property name="draw_indicator">True</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkAlignment" id="alignment2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="bottom_padding">5</property>
|
|
||||||
<property name="left_padding">20</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkCheckButton" id="torrent_also">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">True</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" translatable="yes">Delete .torrent file</property>
|
|
||||||
<property name="response_id">0</property>
|
|
||||||
<property name="active">True</property>
|
|
||||||
<property name="draw_indicator">True</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="position">2</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkLabel" id="warning">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="position">3</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="padding">5</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child internal-child="action_area">
|
|
||||||
<widget class="GtkHButtonBox" id="dialog-action_area3">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkButton" id="button2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label">gtk-no</property>
|
|
||||||
<property name="use_stock">True</property>
|
|
||||||
<property name="response_id">0</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkButton" id="button1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label">gtk-yes</property>
|
|
||||||
<property name="use_stock">True</property>
|
|
||||||
<property name="response_id">1</property>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="pack_type">GTK_PACK_END</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<widget class="GtkMenu" id="tray_menu">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkMenuItem" id="menuitem10">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Show/Hide</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="show_hide_window"/>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="menuitem9">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Add a Torrent...</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="add_torrent"/>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="menu-item-image1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-add</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="menuitem11">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Clear Finished</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="clear_finished"/>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="menu-item-image2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-clear</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkSeparatorMenuItem" id="separatormenuitem2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="menuitem12">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label">gtk-preferences</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="use_stock">True</property>
|
|
||||||
<signal name="activate" handler="preferences"/>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="menuitem13">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Plugins</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="plugins"/>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="menu-item-image3">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-execute</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkSeparatorMenuItem" id="separatormenuitem1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="menuitem14">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label">gtk-quit</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="use_stock">True</property>
|
|
||||||
<signal name="activate" handler="quit"/>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<widget class="GtkDialog" id="rate_dialog">
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="border_width">5</property>
|
|
||||||
<property name="window_position">GTK_WIN_POS_MOUSE</property>
|
|
||||||
<property name="destroy_with_parent">True</property>
|
|
||||||
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
|
|
||||||
<property name="skip_taskbar_hint">True</property>
|
|
||||||
<property name="decorated">False</property>
|
|
||||||
<property name="has_separator">False</property>
|
|
||||||
<child internal-child="vbox">
|
|
||||||
<widget class="GtkVBox" id="dialog-vbox2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="spacing">2</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkHBox" id="hbox2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="spacing">10</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkLabel" id="label2">
|
|
||||||
<property name="visible">True</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" translatable="yes">Rate:</property>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkSpinButton" id="spin_rate">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="has_focus">True</property>
|
|
||||||
<property name="is_focus">True</property>
|
|
||||||
<property name="can_default">True</property>
|
|
||||||
<property name="has_default">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="activates_default">True</property>
|
|
||||||
<property name="xalign">1</property>
|
|
||||||
<property name="adjustment">0 -1 10000 1 10 10</property>
|
|
||||||
<property name="numeric">True</property>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child internal-child="action_area">
|
|
||||||
<widget class="GtkHButtonBox" id="dialog-action_area2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkButton" id="button3">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="receives_default">True</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">gtk-cancel</property>
|
|
||||||
<property name="use_stock">True</property>
|
|
||||||
<property name="response_id">0</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkButton" id="button4">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="receives_default">True</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">gtk-ok</property>
|
|
||||||
<property name="use_stock">True</property>
|
|
||||||
<property name="response_id">1</property>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="pack_type">GTK_PACK_END</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</glade-interface>
|
|
|
@ -1,120 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
||||||
<!--Generated with glade3 3.2.2 on Wed Jun 27 17:27:11 2007 by markybob@peg-->
|
|
||||||
<glade-interface>
|
|
||||||
<widget class="GtkWindow" id="edittrackers">
|
|
||||||
<property name="width_request">300</property>
|
|
||||||
<property name="height_request">200</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="title" translatable="yes">Edit Trackers</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkVBox" id="vbox1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkLabel" id="label1">
|
|
||||||
<property name="height_request">36</property>
|
|
||||||
<property name="visible">True</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" translatable="yes">Tracker Editing</property>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkScrolledWindow" id="scrolledwindow1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
|
||||||
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkTextView" id="txt_tracker_list">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkHBox" id="hbox1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkAspectFrame" id="aspectframe1">
|
|
||||||
<property name="visible">True</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>
|
|
||||||
<property name="ratio">1</property>
|
|
||||||
<child>
|
|
||||||
<placeholder/>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkButton" id="cancel_button">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="receives_default">True</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" translatable="yes">gtk-cancel</property>
|
|
||||||
<property name="use_stock">True</property>
|
|
||||||
<property name="response_id">0</property>
|
|
||||||
<signal name="clicked" handler="cancel_button_clicked"/>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkButton" id="ok_button">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can_focus">True</property>
|
|
||||||
<property name="receives_default">True</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" translatable="yes">gtk-ok</property>
|
|
||||||
<property name="use_stock">True</property>
|
|
||||||
<property name="response_id">0</property>
|
|
||||||
<signal name="clicked" handler="ok_button_clicked"/>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="position">2</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkAspectFrame" id="aspectframe2">
|
|
||||||
<property name="visible">True</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>
|
|
||||||
<property name="ratio">1</property>
|
|
||||||
<child>
|
|
||||||
<placeholder/>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="position">3</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="position">2</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</glade-interface>
|
|
|
@ -1,100 +0,0 @@
|
||||||
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
|
|
||||||
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
|
|
||||||
|
|
||||||
<glade-interface>
|
|
||||||
|
|
||||||
<widget class="GtkMenu" id="file_tab_menu">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="select_all">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Select All</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="select_all" last_modification_time="Mon, 11 Jun 2007 12:54:52 GMT"/>
|
|
||||||
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="image22">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="stock">gtk-select-all</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
<property name="xalign">0.5</property>
|
|
||||||
<property name="yalign">0.5</property>
|
|
||||||
<property name="xpad">0</property>
|
|
||||||
<property name="ypad">0</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="unselect_all">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Unselect All</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="unselect_all" last_modification_time="Mon, 11 Jun 2007 13:16:59 GMT"/>
|
|
||||||
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="image23">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="stock">gtk-file</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
<property name="xalign">0.5</property>
|
|
||||||
<property name="yalign">0.5</property>
|
|
||||||
<property name="xpad">0</property>
|
|
||||||
<property name="ypad">0</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<child>
|
|
||||||
<widget class="GtkSeparatorMenuItem" id="separator">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="check_selected">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Check Selected</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="check_selected" last_modification_time="Mon, 11 Jun 2007 12:54:52 GMT"/>
|
|
||||||
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="image24">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="stock">gtk-ok</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
<property name="xalign">0.5</property>
|
|
||||||
<property name="yalign">0.5</property>
|
|
||||||
<property name="xpad">0</property>
|
|
||||||
<property name="ypad">0</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="uncheck_selected">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Uncheck Selected</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="uncheck_selected" last_modification_time="Mon, 11 Jun 2007 12:54:52 GMT"/>
|
|
||||||
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="image25">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="stock">gtk-remove</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
<property name="xalign">0.5</property>
|
|
||||||
<property name="yalign">0.5</property>
|
|
||||||
<property name="xpad">0</property>
|
|
||||||
<property name="ypad">0</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
|
|
||||||
</glade-interface>
|
|
|
@ -1,114 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
||||||
<!--*- mode: xml -*-->
|
|
||||||
<glade-interface>
|
|
||||||
<widget class="GtkDialog" id="plugin_dialog">
|
|
||||||
<property name="width_request">480</property>
|
|
||||||
<property name="border_width">5</property>
|
|
||||||
<property name="title" translatable="yes">Plugin Manager</property>
|
|
||||||
<property name="default_width">583</property>
|
|
||||||
<property name="default_height">431</property>
|
|
||||||
<property name="destroy_with_parent">True</property>
|
|
||||||
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
|
|
||||||
<property name="skip_taskbar_hint">True</property>
|
|
||||||
<property name="skip_pager_hint">True</property>
|
|
||||||
<child internal-child="vbox">
|
|
||||||
<widget class="GtkVBox" id="dialog-vbox2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK</property>
|
|
||||||
<property name="spacing">2</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkNotebook" id="pref_notebook1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="show_tabs">False</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkHBox" id="hbox1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="homogeneous">True</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkTreeView" id="plugin_view">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkVBox" id="vbox3">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkTextView" id="plugin_text">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="editable">False</property>
|
|
||||||
<property name="wrap_mode">GTK_WRAP_WORD</property>
|
|
||||||
<property name="cursor_visible">False</property>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="padding">10</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkHButtonBox" id="hbuttonbox2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="layout_style">GTK_BUTTONBOX_SPREAD</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkButton" id="plugin_conf">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="sensitive">False</property>
|
|
||||||
<property name="label">gtk-preferences</property>
|
|
||||||
<property name="use_stock">True</property>
|
|
||||||
<signal name="clicked" handler="plugin_pref"/>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="padding">10</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="tab_expand">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkLabel" id="label34">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">Plugins</property>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="type">tab</property>
|
|
||||||
<property name="tab_expand">False</property>
|
|
||||||
<property name="tab_fill">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child internal-child="action_area">
|
|
||||||
<widget class="GtkHButtonBox" id="dialog-action_area2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK</property>
|
|
||||||
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkButton" id="button10">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label">gtk-close</property>
|
|
||||||
<property name="use_stock">True</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="pack_type">GTK_PACK_END</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</glade-interface>
|
|
|
@ -1,165 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
||||||
<!--*- mode: xml -*-->
|
|
||||||
<glade-interface>
|
|
||||||
<widget class="GtkMenu" id="torrent_menu">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="menu_pause">
|
|
||||||
<property name="visible">True</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">gtk-media-pause</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="use_stock">True</property>
|
|
||||||
<signal name="activate" handler="start_pause"/>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="menuitem5">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">_Update Tracker</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="update_tracker"/>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="menu-item-image5">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-refresh</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="menuitem13">
|
|
||||||
<property name="visible">True</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" translatable="yes">_Edit Trackers</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="edit_trackers"/>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="menu-item-image12">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-edit</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkSeparatorMenuItem" id="separator">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="menuitem12">
|
|
||||||
<property name="visible">True</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" translatable="yes">_Remove Torrent</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="remove_torrent"/>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="menu-item-image9">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-remove</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkSeparatorMenuItem" id="separator">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="menuitem2">
|
|
||||||
<property name="visible">True</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" translatable="yes">_Queue</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkMenu" id="menu1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="menuitem1">
|
|
||||||
<property name="visible">True</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" translatable="yes">_Top</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="queue_top"/>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="menu-item-image10">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-goto-top</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="menuitem6">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">_Up</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="queue_up"/>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="menu-item-image6">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-go-up</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="menuitem7">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">_Down</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="queue_down"/>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="menu-item-image7">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-go-down</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="menuitem8">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="label" translatable="yes">_Bottom</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="queue_bottom"/>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="menu-item-image8">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-goto-bottom</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="menu-item-image11">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-sort-ascending</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</glade-interface>
|
|
|
@ -1,158 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
|
||||||
<!--*- mode: xml -*-->
|
|
||||||
<glade-interface>
|
|
||||||
<widget class="GtkMenu" id="tray_menu">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkCheckMenuItem" id="show_hide_window">
|
|
||||||
<property name="visible">True</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" translatable="yes">_Show Deluge</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="show_hide_window_toggled"/>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkSeparatorMenuItem" id="separatormenuitem1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="add_torrent">
|
|
||||||
<property name="visible">True</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" translatable="yes">_Add Torrent</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="add_torrent"/>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="menu-item-image1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-add</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="clear_finished">
|
|
||||||
<property name="visible">True</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" translatable="yes">_Clear Finished</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="clear_finished"/>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="menu-item-image2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-clear</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkSeparatorMenuItem" id="separatormenuitem3">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="download_limit">
|
|
||||||
<property name="visible">True</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" translatable="yes">_Download Limit</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkMenu" id="menu1">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="download-limit-image">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-missing-image</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="upload_limit">
|
|
||||||
<property name="visible">True</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" translatable="yes">_Upload Limit</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="upload-limit-image">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-missing-image</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkSeparatorMenuItem" id="separatormenuitem4">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="preferences">
|
|
||||||
<property name="visible">True</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">gtk-preferences</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<property name="use_stock">True</property>
|
|
||||||
<signal name="activate" handler="preferences"/>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="plugins">
|
|
||||||
<property name="visible">True</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" translatable="yes">Plu_gins</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="plugins"/>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="menu-item-image3">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-disconnect</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkSeparatorMenuItem" id="separatormenuitem2">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="GtkImageMenuItem" id="quit">
|
|
||||||
<property name="visible">True</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" translatable="yes">_Quit</property>
|
|
||||||
<property name="use_underline">True</property>
|
|
||||||
<signal name="activate" handler="quit"/>
|
|
||||||
<child internal-child="image">
|
|
||||||
<widget class="GtkImage" id="menu-item-image4">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
||||||
<property name="stock">gtk-quit</property>
|
|
||||||
<property name="icon_size">1</property>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</glade-interface>
|
|
|
@ -39,8 +39,8 @@ import os
|
||||||
import signal
|
import signal
|
||||||
from optparse import OptionParser
|
from optparse import OptionParser
|
||||||
|
|
||||||
from deluge.daemon import Daemon
|
from deluge.core.daemon import Daemon
|
||||||
from deluge.ui import UI
|
from deluge.ui.ui import UI
|
||||||
import deluge.common
|
import deluge.common
|
||||||
|
|
||||||
# Setup the logger
|
# Setup the logger
|
Before Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 662 B |
Before Width: | Height: | Size: 588 B |
Before Width: | Height: | Size: 612 B |
|
@ -1,13 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Version=1.0
|
|
||||||
Encoding=UTF-8
|
|
||||||
Name=Deluge BitTorrent Client
|
|
||||||
Comment=Bittorrent client written in PyGTK
|
|
||||||
Exec=deluge
|
|
||||||
Icon=deluge.xpm
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
Categories=Application;Network
|
|
||||||
StartupNotify=true
|
|
||||||
MimeType=application/x-bittorrent;
|
|
||||||
GenericName=
|
|
|
@ -1,415 +0,0 @@
|
||||||
/* XPM */
|
|
||||||
static char * deluge_torrent_xpm[] = {
|
|
||||||
"32 32 380 2",
|
|
||||||
" c None",
|
|
||||||
". c #8893A8",
|
|
||||||
"+ c #8994A8",
|
|
||||||
"@ c #B0B7C5",
|
|
||||||
"# c #919BAE",
|
|
||||||
"$ c #737F98",
|
|
||||||
"% c #A3ABBB",
|
|
||||||
"& c #8E98AD",
|
|
||||||
"* c #AEB5C4",
|
|
||||||
"= c #858FA5",
|
|
||||||
"- c #5E6D89",
|
|
||||||
"; c #929CB0",
|
|
||||||
"> c #8794A9",
|
|
||||||
", c #8592AA",
|
|
||||||
"' c #919FB5",
|
|
||||||
") c #A5B0C3",
|
|
||||||
"! c #7688A4",
|
|
||||||
"~ c #7687A1",
|
|
||||||
"{ c #8A99B1",
|
|
||||||
"] c #768AA7",
|
|
||||||
"^ c #7E92AE",
|
|
||||||
"/ c #8397B3",
|
|
||||||
"( c #92A4BD",
|
|
||||||
"_ c #96A8C0",
|
|
||||||
": c #5B7295",
|
|
||||||
"< c #8B9DB7",
|
|
||||||
"[ c #6A83A4",
|
|
||||||
"} c #728BAD",
|
|
||||||
"| c #7791B3",
|
|
||||||
"1 c #7B95B6",
|
|
||||||
"2 c #7C96B8",
|
|
||||||
"3 c #95ABC6",
|
|
||||||
"4 c #829CBC",
|
|
||||||
"5 c #45618C",
|
|
||||||
"6 c #7F96B3",
|
|
||||||
"7 c #6483A9",
|
|
||||||
"8 c #6384AC",
|
|
||||||
"9 c #6B8BB3",
|
|
||||||
"0 c #7091B8",
|
|
||||||
"a c #7495BC",
|
|
||||||
"b c #7596BD",
|
|
||||||
"c c #7496BD",
|
|
||||||
"d c #95AECC",
|
|
||||||
"e c #6F91B9",
|
|
||||||
"f c #6081A9",
|
|
||||||
"g c #3C6292",
|
|
||||||
"h c #365989",
|
|
||||||
"i c #4B6B97",
|
|
||||||
"j c #5676A1",
|
|
||||||
"k c #5F81AB",
|
|
||||||
"l c #6E93BF",
|
|
||||||
"m c #7097C2",
|
|
||||||
"n c #7297C3",
|
|
||||||
"o c #8FADCE",
|
|
||||||
"p c #618AB7",
|
|
||||||
"q c #476D9D",
|
|
||||||
"r c #5A779F",
|
|
||||||
"s c #1B4075",
|
|
||||||
"t c #1F4377",
|
|
||||||
"u c #365785",
|
|
||||||
"v c #4A6791",
|
|
||||||
"w c #4D6B94",
|
|
||||||
"x c #5D80AA",
|
|
||||||
"y c #6C93BF",
|
|
||||||
"z c #779DC6",
|
|
||||||
"A c #84A6CB",
|
|
||||||
"B c #5382B6",
|
|
||||||
"C c #3A659A",
|
|
||||||
"D c #5C789F",
|
|
||||||
"E c #224579",
|
|
||||||
"F c #1E4277",
|
|
||||||
"G c #274A7C",
|
|
||||||
"H c #2E4F7F",
|
|
||||||
"I c #335483",
|
|
||||||
"J c #44628D",
|
|
||||||
"K c #557197",
|
|
||||||
"L c #526E95",
|
|
||||||
"M c #506F99",
|
|
||||||
"N c #668FBD",
|
|
||||||
"O c #7FA3CA",
|
|
||||||
"P c #7299C4",
|
|
||||||
"Q c #36639A",
|
|
||||||
"R c #4F6D97",
|
|
||||||
"S c #345484",
|
|
||||||
"T c #305181",
|
|
||||||
"U c #42618A",
|
|
||||||
"V c #4E6992",
|
|
||||||
"W c #4A678F",
|
|
||||||
"X c #4B6992",
|
|
||||||
"Y c #4B6994",
|
|
||||||
"Z c #5F7A9E",
|
|
||||||
"` c #5E779C",
|
|
||||||
" . c #597398",
|
|
||||||
".. c #527099",
|
|
||||||
"+. c #618ABA",
|
|
||||||
"@. c #84A6CD",
|
|
||||||
"#. c #5D89BB",
|
|
||||||
"$. c #375A89",
|
|
||||||
"%. c #4C6992",
|
|
||||||
"&. c #3A5986",
|
|
||||||
"*. c #536E94",
|
|
||||||
"=. c #577197",
|
|
||||||
"-. c #6F92BB",
|
|
||||||
";. c #759ECA",
|
|
||||||
">. c #739CCA",
|
|
||||||
",. c #759DC9",
|
|
||||||
"'. c #6880A4",
|
|
||||||
"). c #5C7699",
|
|
||||||
"!. c #4F6F98",
|
|
||||||
"~. c #618DBD",
|
|
||||||
"{. c #81A4CA",
|
|
||||||
"]. c #4B7CB3",
|
|
||||||
"^. c #274F84",
|
|
||||||
"/. c #5A759B",
|
|
||||||
"(. c #375784",
|
|
||||||
"_. c #577196",
|
|
||||||
":. c #5A7498",
|
|
||||||
"<. c #6F89AB",
|
|
||||||
"[. c #8BADD1",
|
|
||||||
"}. c #7EA5D0",
|
|
||||||
"|. c #7FA6D0",
|
|
||||||
"1. c #7CA4CF",
|
|
||||||
"2. c #7CA4CE",
|
|
||||||
"3. c #789FC7",
|
|
||||||
"4. c #6984A7",
|
|
||||||
"5. c #5A7398",
|
|
||||||
"6. c #5076A5",
|
|
||||||
"7. c #6791C0",
|
|
||||||
"8. c #7198C3",
|
|
||||||
"9. c #2D5081",
|
|
||||||
"0. c #25477A",
|
|
||||||
"a. c #4C6890",
|
|
||||||
"b. c #627A9D",
|
|
||||||
"c. c #657DA1",
|
|
||||||
"d. c #A0BBD7",
|
|
||||||
"e. c #89AED6",
|
|
||||||
"f. c #8BAFD7",
|
|
||||||
"g. c #8BB0D7",
|
|
||||||
"h. c #8AAED6",
|
|
||||||
"i. c #86ACD4",
|
|
||||||
"j. c #82A8D2",
|
|
||||||
"k. c #7CA3CF",
|
|
||||||
"l. c #749DC8",
|
|
||||||
"m. c #6984A6",
|
|
||||||
"n. c #567298",
|
|
||||||
"o. c #5786BA",
|
|
||||||
"p. c #779CC6",
|
|
||||||
"q. c #5583B7",
|
|
||||||
"r. c #295086",
|
|
||||||
"s. c #2C4E7F",
|
|
||||||
"t. c #345483",
|
|
||||||
"u. c #5B7498",
|
|
||||||
"v. c #5D7699",
|
|
||||||
"w. c #93AAC4",
|
|
||||||
"x. c #9EBDDD",
|
|
||||||
"y. c #96B8DD",
|
|
||||||
"z. c #97B9DE",
|
|
||||||
"A. c #94B7DC",
|
|
||||||
"B. c #90B3DA",
|
|
||||||
"C. c #8AAFD6",
|
|
||||||
"D. c #83A9D2",
|
|
||||||
"E. c #7AA2CE",
|
|
||||||
"F. c #6F95BF",
|
|
||||||
"G. c #667E9F",
|
|
||||||
"H. c #577FAF",
|
|
||||||
"I. c #5585B8",
|
|
||||||
"J. c #759AC5",
|
|
||||||
"K. c #3F6FA7",
|
|
||||||
"L. c #254A80",
|
|
||||||
"M. c #5C769C",
|
|
||||||
"N. c #3C5B87",
|
|
||||||
"O. c #60789C",
|
|
||||||
"P. c #B0C3D8",
|
|
||||||
"Q. c #A1C0E3",
|
|
||||||
"R. c #A3C2E4",
|
|
||||||
"S. c #A3C3E5",
|
|
||||||
"T. c #A2C2E4",
|
|
||||||
"U. c #9EBFE2",
|
|
||||||
"V. c #98BADE",
|
|
||||||
"W. c #91B4DA",
|
|
||||||
"X. c #88AED6",
|
|
||||||
"Y. c #759ECB",
|
|
||||||
"Z. c #6885AD",
|
|
||||||
"`. c #5780B0",
|
|
||||||
" + c #5383B8",
|
|
||||||
".+ c #7299C3",
|
|
||||||
"++ c #4675AB",
|
|
||||||
"@+ c #395A89",
|
|
||||||
"#+ c #46648F",
|
|
||||||
"$+ c #3E5D88",
|
|
||||||
"%+ c #617A9C",
|
|
||||||
"&+ c #637B9D",
|
|
||||||
"*+ c #BFD1E4",
|
|
||||||
"=+ c #ADCBEA",
|
|
||||||
"-+ c #B0CDEB",
|
|
||||||
";+ c #AFCCEB",
|
|
||||||
">+ c #ACCAE9",
|
|
||||||
",+ c #A7C6E6",
|
|
||||||
"'+ c #9FC0E2",
|
|
||||||
")+ c #8DB1D8",
|
|
||||||
"!+ c #82A9D2",
|
|
||||||
"~+ c #77A0CC",
|
|
||||||
"{+ c #6A94C4",
|
|
||||||
"]+ c #5F8DBF",
|
|
||||||
"^+ c #5C89BA",
|
|
||||||
"/+ c #5C85B4",
|
|
||||||
"(+ c #3F5E8B",
|
|
||||||
"_+ c #3B5A86",
|
|
||||||
":+ c #647C9E",
|
|
||||||
"<+ c #61799D",
|
|
||||||
"[+ c #C1D2E4",
|
|
||||||
"}+ c #BBD5F1",
|
|
||||||
"|+ c #BCD6F2",
|
|
||||||
"1+ c #BAD5F1",
|
|
||||||
"2+ c #B5D1EE",
|
|
||||||
"3+ c #AECBEA",
|
|
||||||
"4+ c #A5C4E5",
|
|
||||||
"5+ c #9BBCE0",
|
|
||||||
"6+ c #84AAD3",
|
|
||||||
"7+ c #78A0CC",
|
|
||||||
"8+ c #6B96C6",
|
|
||||||
"9+ c #5F8CBF",
|
|
||||||
"0+ c #5282B8",
|
|
||||||
"a+ c #4F7FB4",
|
|
||||||
"b+ c #668CB7",
|
|
||||||
"c+ c #43618D",
|
|
||||||
"d+ c #325382",
|
|
||||||
"e+ c #5E779B",
|
|
||||||
"f+ c #5F789A",
|
|
||||||
"g+ c #BACADC",
|
|
||||||
"h+ c #C9E0F9",
|
|
||||||
"i+ c #C7DFF8",
|
|
||||||
"j+ c #C3DCF6",
|
|
||||||
"k+ c #BCD7F2",
|
|
||||||
"l+ c #B3CFED",
|
|
||||||
"m+ c #A8C7E7",
|
|
||||||
"n+ c #9DBEE1",
|
|
||||||
"o+ c #6A96C5",
|
|
||||||
"p+ c #5D8BBE",
|
|
||||||
"q+ c #5081B7",
|
|
||||||
"r+ c #497BB2",
|
|
||||||
"s+ c #698DB7",
|
|
||||||
"t+ c #45638E",
|
|
||||||
"u+ c #2E5080",
|
|
||||||
"v+ c #25487B",
|
|
||||||
"w+ c #506B93",
|
|
||||||
"x+ c #647B9E",
|
|
||||||
"y+ c #9DAFC7",
|
|
||||||
"z+ c #D6E9FD",
|
|
||||||
"A+ c #D1E8FE",
|
|
||||||
"B+ c #CAE2FA",
|
|
||||||
"C+ c #C1DAF5",
|
|
||||||
"D+ c #A9C8E8",
|
|
||||||
"E+ c #6894C4",
|
|
||||||
"F+ c #5A89BC",
|
|
||||||
"G+ c #4D7EB5",
|
|
||||||
"H+ c #4577AF",
|
|
||||||
"I+ c #6B8DB5",
|
|
||||||
"J+ c #3B6090",
|
|
||||||
"K+ c #3D5D8A",
|
|
||||||
"L+ c #3C5B89",
|
|
||||||
"M+ c #1D4276",
|
|
||||||
"N+ c #647C9C",
|
|
||||||
"O+ c #657D9E",
|
|
||||||
"P+ c #C2D4E6",
|
|
||||||
"Q+ c #D3E9FF",
|
|
||||||
"R+ c #CEE5FC",
|
|
||||||
"S+ c #C2DBF5",
|
|
||||||
"T+ c #80A7D1",
|
|
||||||
"U+ c #729CC9",
|
|
||||||
"V+ c #6491C2",
|
|
||||||
"W+ c #5686BA",
|
|
||||||
"X+ c #497BB3",
|
|
||||||
"Y+ c #5580B3",
|
|
||||||
"Z+ c #5B7EAA",
|
|
||||||
"`+ c #335686",
|
|
||||||
" @ c #4D6993",
|
|
||||||
".@ c #26497B",
|
|
||||||
"+@ c #4C6990",
|
|
||||||
"@@ c #6B82A2",
|
|
||||||
"#@ c #7D92B0",
|
|
||||||
"$@ c #C1D4E9",
|
|
||||||
"%@ c #C0DAF4",
|
|
||||||
"&@ c #B2CFED",
|
|
||||||
"*@ c #7BA3CE",
|
|
||||||
"=@ c #6F99C7",
|
|
||||||
"-@ c #6390C0",
|
|
||||||
";@ c #5886B9",
|
|
||||||
">@ c #4A7BB2",
|
|
||||||
",@ c #698CB7",
|
|
||||||
"'@ c #4C6F9C",
|
|
||||||
")@ c #284C7F",
|
|
||||||
"!@ c #577299",
|
|
||||||
"~@ c #2F517F",
|
|
||||||
"{@ c #536E93",
|
|
||||||
"]@ c #7086A5",
|
|
||||||
"^@ c #7B8FAC",
|
|
||||||
"/@ c #9FB3CD",
|
|
||||||
"(@ c #B8D2EE",
|
|
||||||
"_@ c #91B5DB",
|
|
||||||
":@ c #85ABD4",
|
|
||||||
"<@ c #7CA3CD",
|
|
||||||
"[@ c #729AC8",
|
|
||||||
"}@ c #6791C1",
|
|
||||||
"|@ c #5A87BA",
|
|
||||||
"1@ c #5280B4",
|
|
||||||
"2@ c #7A97BB",
|
|
||||||
"3@ c #416290",
|
|
||||||
"4@ c #2F5080",
|
|
||||||
"5@ c #4F6B91",
|
|
||||||
"6@ c #687F9F",
|
|
||||||
"7@ c #7B8FAB",
|
|
||||||
"8@ c #8396B0",
|
|
||||||
"9@ c #8AA1BF",
|
|
||||||
"0@ c #8CACCE",
|
|
||||||
"a@ c #8FB2D8",
|
|
||||||
"b@ c #86AAD2",
|
|
||||||
"c@ c #7DA3CC",
|
|
||||||
"d@ c #749BC7",
|
|
||||||
"e@ c #6993C1",
|
|
||||||
"f@ c #5B88B9",
|
|
||||||
"g@ c #7999C0",
|
|
||||||
"h@ c #587AA5",
|
|
||||||
"i@ c #21416E",
|
|
||||||
"j@ c #516D96",
|
|
||||||
"k@ c #415F8A",
|
|
||||||
"l@ c #567196",
|
|
||||||
"m@ c #637B9E",
|
|
||||||
"n@ c #6F84A3",
|
|
||||||
"o@ c #778BA7",
|
|
||||||
"p@ c #758BAA",
|
|
||||||
"q@ c #7490B3",
|
|
||||||
"r@ c #749BC5",
|
|
||||||
"s@ c #6992C0",
|
|
||||||
"t@ c #799DC4",
|
|
||||||
"u@ c #7291B6",
|
|
||||||
"v@ c #46658C",
|
|
||||||
"w@ c #264878",
|
|
||||||
"x@ c #4F6C94",
|
|
||||||
"y@ c #42608C",
|
|
||||||
"z@ c #294B7D",
|
|
||||||
"A@ c #4A6790",
|
|
||||||
"B@ c #567095",
|
|
||||||
"C@ c #597599",
|
|
||||||
"D@ c #587398",
|
|
||||||
"E@ c #536F96",
|
|
||||||
"F@ c #4F6D95",
|
|
||||||
"G@ c #7690B4",
|
|
||||||
"H@ c #7090B7",
|
|
||||||
"I@ c #4A6991",
|
|
||||||
"J@ c #2B4871",
|
|
||||||
"K@ c #41608C",
|
|
||||||
"L@ c #59749A",
|
|
||||||
"M@ c #234679",
|
|
||||||
"N@ c #214578",
|
|
||||||
"O@ c #3A5A87",
|
|
||||||
"P@ c #47648F",
|
|
||||||
"Q@ c #667EA2",
|
|
||||||
"R@ c #7188A9",
|
|
||||||
"S@ c #4B6892",
|
|
||||||
"T@ c #395985",
|
|
||||||
"U@ c #1C314F",
|
|
||||||
"V@ c #2E4F7D",
|
|
||||||
"W@ c #395986",
|
|
||||||
"X@ c #526E96",
|
|
||||||
"Y@ c #58739A",
|
|
||||||
"Z@ c #5B759B",
|
|
||||||
"`@ c #6A82A5",
|
|
||||||
" # c #627CA0",
|
|
||||||
".# c #365887",
|
|
||||||
"+# c #324B69",
|
|
||||||
"@# c #344B69",
|
|
||||||
"## c #34537D",
|
|
||||||
"$# c #294C7C",
|
|
||||||
"%# c #315383",
|
|
||||||
"&# c #40618D",
|
|
||||||
"*# c #40638F",
|
|
||||||
"=# c #3B5C87",
|
|
||||||
"-# c #36537A",
|
|
||||||
";# c #2E4156",
|
|
||||||
" ",
|
|
||||||
" . ",
|
|
||||||
" + @ # ",
|
|
||||||
" $ % & * = ",
|
|
||||||
" - ; > , ' ) ! ",
|
|
||||||
" ~ { ] ^ / ( _ ",
|
|
||||||
" : < [ } | 1 2 3 4 ",
|
|
||||||
" 5 6 7 8 9 0 a b c d e ",
|
|
||||||
" 7 f g h i j k l m n o p ",
|
|
||||||
" q r s s s t u v w x y z A B ",
|
|
||||||
" C D E s F G H I J K L M N O P ",
|
|
||||||
" Q R S s T U V W X Y Z ` ...+.@.#. ",
|
|
||||||
" $.%.t &.*.=.r -.;.>.,.0 '.).!.~.{.]. ",
|
|
||||||
" ^./.F (._.:.<.[.}.|.}.1.2.3.4.5.6.7.8. ",
|
|
||||||
" 9.v 0.a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q. ",
|
|
||||||
" r.v s.t.u.v.w.x.y.z.z.A.B.C.D.E.F.G.H.I.J.K. ",
|
|
||||||
" L.M.s N.b.O.P.Q.R.S.T.U.V.W.X.|.Y.Z.`. +.+++ ",
|
|
||||||
" @+#+s $+%+&+*+=+-+;+>+,+'+z.)+!+~+{+]+ +^+/+ ",
|
|
||||||
" (+S s _+:+<+[+}+|+1+2+3+4+5+B.6+7+8+9+0+a+b+ ",
|
|
||||||
" c+T s d+e+f+g+h+i+j+k+l+m+n+W.6+~+o+p+q+r+s+ ",
|
|
||||||
" t+u+s v+w+x+y+z+A+B+C+2+D+n+B.D.Y.E+F+G+H+I+J+ ",
|
|
||||||
" K+L+s M+N.N+O+P+Q+R+S+2+m+5+)+T+U+V+W+X+Y+Z+ ",
|
|
||||||
" `+ @s s .@+@@@#@$@R+%@&@4+z.e.*@=@-@;@>@,@'@ ",
|
|
||||||
" )@!@t s s ~@{@]@^@/@(@=+'+_@:@<@[@}@|@1@2@3@ ",
|
|
||||||
" S #+s s s 4@5@6@7@8@9@0@a@b@c@d@e@f@g@h@ ",
|
|
||||||
" i@j@u s s s G k@l@m@n@o@p@q@a r@s@t@u@v@ ",
|
|
||||||
" w@x@y@s s s s z@_+A@B@C@D@E@F@G@H@I@ ",
|
|
||||||
" J@K@L@y@M@s s N@z@S O@P@Q@R@S@T@ ",
|
|
||||||
" U@V@W@X@L@Y@Z@L@c.`@ #v .#+# ",
|
|
||||||
" @###$#%#&#*#=#-#;# ",
|
|
||||||
" ",
|
|
||||||
" "};
|
|
0
deluge/ui/__init__.py
Normal file
0
deluge/ui/gtkui/__init__.py
Normal file
|
@ -71,11 +71,6 @@ class UI:
|
||||||
|
|
||||||
if self.config["selected_ui"] == "gtk":
|
if self.config["selected_ui"] == "gtk":
|
||||||
log.info("Starting GtkUI..")
|
log.info("Starting GtkUI..")
|
||||||
from deluge.gtkui import GtkUI
|
from deluge.ui.gtkui.gtkui import GtkUI
|
||||||
ui = GtkUI(self.core)
|
ui = GtkUI(self.core)
|
||||||
|
|
||||||
# Test the interface..
|
|
||||||
# self.core.add_torrent_file("/home/andrew/Downloads/test.torrent", None)
|
|
||||||
# time.sleep(3)
|
|
||||||
# Shutdown the core thus stopping the daemon process
|
|
||||||
# self.core.shutdown()
|
|
13
setup.py
|
@ -84,14 +84,7 @@ libtorrent = Extension(
|
||||||
)
|
)
|
||||||
|
|
||||||
# Main setup
|
# Main setup
|
||||||
|
|
||||||
_data_files = [
|
|
||||||
('deluge/glade', glob.glob("deluge/glade/*.glade")),
|
|
||||||
('deluge/pixmaps', glob.glob('deluge/pixmaps/*.png')),
|
|
||||||
('share/applications' , ["deluge/share/applications/deluge.desktop"]),
|
|
||||||
('share/pixmaps' , ["deluge/share/pixmaps/deluge.xpm"])
|
|
||||||
]
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name = "deluge",
|
name = "deluge",
|
||||||
fullname = "Deluge Bittorent Client",
|
fullname = "Deluge Bittorent Client",
|
||||||
|
@ -104,11 +97,9 @@ setup(
|
||||||
license = "GPLv2",
|
license = "GPLv2",
|
||||||
|
|
||||||
include_package_data = True,
|
include_package_data = True,
|
||||||
data_files = _data_files,
|
|
||||||
ext_package = "deluge",
|
ext_package = "deluge",
|
||||||
ext_modules = [libtorrent],
|
ext_modules = [libtorrent],
|
||||||
packages=['deluge'],
|
packages = find_packages(),
|
||||||
package_dir = {'deluge': 'deluge/src'},
|
|
||||||
entry_points = """
|
entry_points = """
|
||||||
[console_scripts]
|
[console_scripts]
|
||||||
deluge = deluge.main:main
|
deluge = deluge.main:main
|
||||||
|
|