pause right click action works
This commit is contained in:
parent
96967035cb
commit
c3f90c4f80
File diff suppressed because it is too large
Load Diff
|
@ -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="label" translatable="yes">StartPause</property>
|
||||
<property name="use_underline">True</property>
|
||||
<signal name="activate" handler="start_pause"/>
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="menu-item-image9">
|
||||
<property name="visible">True</property>
|
||||
|
|
|
@ -257,12 +257,13 @@ class DelugeGTK:
|
|||
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_menu = self.torrent_glade.get_widget("torrent_menu")
|
||||
self.torrent_glade.signal_autoconnect({"update_tracker": self.update_tracker,
|
||||
"clear_finished": self.clear_finished,
|
||||
"queue_up": self.q_torrent_up,
|
||||
"queue_down": self.q_torrent_down,
|
||||
"queue_bottom": self.q_to_bottom,
|
||||
})
|
||||
self.torrent_glade.signal_autoconnect({ "start_pause": self.start_pause,
|
||||
"update_tracker": self.update_tracker,
|
||||
"clear_finished": self.clear_finished,
|
||||
"queue_up": self.q_torrent_up,
|
||||
"queue_down": self.q_torrent_down,
|
||||
"queue_bottom": self.q_to_bottom,
|
||||
})
|
||||
# UID, Q#, Name, Size, Progress, Message, Seeders, Peers, DL, UL, ETA, Share
|
||||
self.torrent_model = gtk.ListStore(int, int, str, str, float, str, int, int, int, int, int, int, str, float)
|
||||
self.torrent_view.set_model(self.torrent_model)
|
||||
|
|
Loading…
Reference in New Issue