move select all to edit menu
This commit is contained in:
parent
4ef33f7449
commit
9579e82a7c
File diff suppressed because it is too large
Load Diff
|
@ -4,16 +4,6 @@
|
|||
<glade-interface>
|
||||
<widget class="GtkMenu" id="torrent_menu">
|
||||
<property name="visible">True</property>
|
||||
<child>
|
||||
<widget class="GtkImageMenuItem" id="menu_select_all">
|
||||
<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">gtk-select-all</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_stock">True</property>
|
||||
<signal name="activate" handler="select_all_torrents"/>
|
||||
</widget>
|
||||
</child>
|
||||
<child>
|
||||
<widget class="GtkImageMenuItem" id="menu_resume">
|
||||
<property name="visible">True</property>
|
||||
|
|
|
@ -138,6 +138,7 @@ class DelugeGTK:
|
|||
"remove_torrent": self.remove_torrent_clicked,
|
||||
"menu_quit": self.quit,
|
||||
## Edit Menu
|
||||
"select_all_torrents": self.select_all_torrents,
|
||||
"pref_clicked": self.show_preferences_dialog_clicked,
|
||||
"plugins_clicked": self.show_plugin_dialog_clicked,
|
||||
## View Menu
|
||||
|
@ -447,7 +448,6 @@ class DelugeGTK:
|
|||
self.torrent_glade = gtk.glade.XML(common.get_glade_file("torrent_menu.glade"), domain='deluge')
|
||||
self.torrent_menu = self.torrent_glade.get_widget("torrent_menu")
|
||||
self.torrent_glade.signal_autoconnect({
|
||||
"select_all_torrents": self.select_all_torrents,
|
||||
"remove_torrent": self.remove_torrent_clicked,
|
||||
"edit_trackers": self.list_of_trackers,
|
||||
"tor_start": self.tor_start,
|
||||
|
|
Loading…
Reference in New Issue