pause right click action works

This commit is contained in:
Zach Tibbitts 2007-03-26 05:33:16 +00:00
parent 96967035cb
commit c3f90c4f80
3 changed files with 793 additions and 757 deletions

File diff suppressed because it is too large Load Diff

View File

@ -10,6 +10,7 @@
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</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">StartPause</property> <property name="label" translatable="yes">StartPause</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<signal name="activate" handler="start_pause"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="menu-item-image9"> <widget class="GtkImage" id="menu-item-image9">
<property name="visible">True</property> <property name="visible">True</property>

View File

@ -257,7 +257,8 @@ class DelugeGTK:
self.torrent_view = self.wtree.get_widget("torrent_view") self.torrent_view = self.wtree.get_widget("torrent_view")
self.torrent_glade = gtk.glade.XML(dcommon.get_glade_file("torrent_menu.glade"), domain='deluge') self.torrent_glade = gtk.glade.XML(dcommon.get_glade_file("torrent_menu.glade"), domain='deluge')
self.torrent_menu = self.torrent_glade.get_widget("torrent_menu") self.torrent_menu = self.torrent_glade.get_widget("torrent_menu")
self.torrent_glade.signal_autoconnect({"update_tracker": self.update_tracker, self.torrent_glade.signal_autoconnect({ "start_pause": self.start_pause,
"update_tracker": self.update_tracker,
"clear_finished": self.clear_finished, "clear_finished": self.clear_finished,
"queue_up": self.q_torrent_up, "queue_up": self.q_torrent_up,
"queue_down": self.q_torrent_down, "queue_down": self.q_torrent_down,