move select all to edit menu

This commit is contained in:
Marcos Pinto 2007-08-02 19:35:51 +00:00
parent 4ef33f7449
commit 9579e82a7c
3 changed files with 896 additions and 896 deletions

File diff suppressed because it is too large Load Diff

View File

@ -4,16 +4,6 @@
<glade-interface> <glade-interface>
<widget class="GtkMenu" id="torrent_menu"> <widget class="GtkMenu" id="torrent_menu">
<property name="visible">True</property> <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> <child>
<widget class="GtkImageMenuItem" id="menu_resume"> <widget class="GtkImageMenuItem" id="menu_resume">
<property name="visible">True</property> <property name="visible">True</property>

View File

@ -138,6 +138,7 @@ class DelugeGTK:
"remove_torrent": self.remove_torrent_clicked, "remove_torrent": self.remove_torrent_clicked,
"menu_quit": self.quit, "menu_quit": self.quit,
## Edit Menu ## Edit Menu
"select_all_torrents": self.select_all_torrents,
"pref_clicked": self.show_preferences_dialog_clicked, "pref_clicked": self.show_preferences_dialog_clicked,
"plugins_clicked": self.show_plugin_dialog_clicked, "plugins_clicked": self.show_plugin_dialog_clicked,
## View Menu ## 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_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_menu = self.torrent_glade.get_widget("torrent_menu")
self.torrent_glade.signal_autoconnect({ self.torrent_glade.signal_autoconnect({
"select_all_torrents": self.select_all_torrents,
"remove_torrent": self.remove_torrent_clicked, "remove_torrent": self.remove_torrent_clicked,
"edit_trackers": self.list_of_trackers, "edit_trackers": self.list_of_trackers,
"tor_start": self.tor_start, "tor_start": self.tor_start,