diff --git a/deluge/ui/gtkui/glade/preferences_dialog.ui b/deluge/ui/gtkui/glade/preferences_dialog.ui index defa382b4..376876a4e 100644 --- a/deluge/ui/gtkui/glade/preferences_dialog.ui +++ b/deluge/ui/gtkui/glade/preferences_dialog.ui @@ -35,17 +35,17 @@ 1 10 - - 65535 - 1 - 10 - -1 9999 1 10 + + 65535 + 1 + 10 + 65535 1 @@ -373,7 +373,7 @@ False 0 2 - 15 + 10 True @@ -431,7 +431,7 @@ False False - 3 + 5 0 @@ -447,7 +447,7 @@ False 2 2 - 12 + 10 True @@ -763,86 +763,10 @@ and daemon (does not apply in Standalone mode). False False - 3 + 5 1 - - - True - False - 0 - none - - - True - False - 2 - 2 - 12 - - - True - False - - - Always show - False - True - True - False - True - - - - True - True - 0 - - - - - True - False - - - Bring the dialog to focus - False - True - True - False - True - - - - - True - True - 1 - - - - - - - - - True - False - Add Torrents Dialog - - - - - - - - False - False - 3 - 2 - - True @@ -855,7 +779,7 @@ and daemon (does not apply in Standalone mode). False 2 2 - 12 + 10 True @@ -1071,7 +995,66 @@ and daemon (does not apply in Standalone mode). False True - 3 + 5 + 2 + + + + + True + False + 0 + none + + + True + False + 2 + 10 + + + True + False + + + True + False + + + Notify about new releases + False + True + True + False + True + + + + + False + False + 0 + + + + + + + + + True + False + Updates + + + + + + + + False + False + 5 3 @@ -1085,9 +1068,10 @@ and daemon (does not apply in Standalone mode). True False - 12 + 2 + 10 - + True False @@ -1107,21 +1091,27 @@ and daemon (does not apply in Standalone mode). - + True False - liststore8 - 0 + 20 - - - 1 - + + False + liststore8 + 0 + + + + 1 + + + - True - True + False + False 1 @@ -1445,6 +1435,82 @@ used sparingly. 1 + + + True + False + 0 + none + + + True + False + 2 + 2 + 12 + + + True + False + + + Always show + False + True + True + False + True + + + + True + True + 0 + + + + + True + False + + + Bring the dialog to focus + False + True + True + False + True + + + + + True + True + 1 + + + + + + + + + True + False + Add Torrents Dialog + + + + + + + + False + False + 3 + 2 + + @@ -2103,7 +2169,6 @@ used sparingly. True False - 5 True @@ -2153,6 +2218,7 @@ used sparingly. False False + 5 0 @@ -2333,6 +2399,7 @@ used sparingly. False False + 5 1 @@ -2557,6 +2624,7 @@ used sparingly. False False + 5 2 @@ -2608,7 +2676,7 @@ used sparingly. False 0 0 - 1 + 5 12 @@ -2630,7 +2698,6 @@ used sparingly. True False - 2 Incoming Address @@ -2641,7 +2708,7 @@ used sparingly. False False - 2 + 5 0 @@ -2655,8 +2722,8 @@ used sparingly. True False - 1 - 12 + 5 + 10 True @@ -2758,7 +2825,6 @@ used sparingly. True True - 5 0 @@ -2766,7 +2832,6 @@ used sparingly. True False - 10 True @@ -2832,6 +2897,7 @@ used sparingly. True False 0 + 10 False @@ -2861,7 +2927,6 @@ used sparingly. True False - 2 Incoming Ports @@ -2872,7 +2937,7 @@ used sparingly. False True - 2 + 5 1 @@ -2886,8 +2951,8 @@ used sparingly. True False - 1 - 12 + 5 + 10 True @@ -2988,7 +3053,6 @@ used sparingly. True False - 2 Outgoing Ports @@ -2999,7 +3063,7 @@ used sparingly. False False - 2 + 5 2 @@ -3013,7 +3077,7 @@ used sparingly. True False - 12 + 10 True @@ -3177,7 +3241,7 @@ used sparingly. False 2 2 - 12 + 10 True @@ -3625,6 +3689,7 @@ the proxy instead of using the local DNS service False False + 5 0 @@ -4341,66 +4406,6 @@ the proxy instead of using the local DNS service True False - - - True - False - 0 - none - - - True - False - 2 - 12 - - - True - False - - - True - False - - - Be alerted about new releases - False - True - True - False - Deluge will check our servers and will tell you if a newer version has been released - True - - - - - False - False - 0 - - - - - - - - - True - False - Updates - - - - - - - - False - False - 5 - 0 - - True @@ -4473,7 +4478,7 @@ the proxy instead of using the local DNS service False False 5 - 1 + 0 @@ -4559,7 +4564,7 @@ the proxy instead of using the local DNS service False False 5 - 2 + 1 @@ -4623,7 +4628,7 @@ the proxy instead of using the local DNS service False False - 3 + 2 diff --git a/deluge/ui/gtkui/preferences.py b/deluge/ui/gtkui/preferences.py index fc6a4a29d..40f8baed4 100644 --- a/deluge/ui/gtkui/preferences.py +++ b/deluge/ui/gtkui/preferences.py @@ -246,7 +246,7 @@ class Preferences(component.Component): if self.gtkui_config["language"] is None: self.language_checkbox.set_active(True) - self.language_combo.set_sensitive(False) + self.language_combo.set_visible(False) elif index != -1: self.language_combo.set_active(index) @@ -1242,7 +1242,7 @@ class Preferences(component.Component): colors_widget.set_visible(widget.get_active()) def _on_checkbutton_language_toggled(self, widget): - self.language_combo.set_sensitive(not self.language_checkbox.get_active()) + self.language_combo.set_visible(not self.language_checkbox.get_active()) def _on_completed_color_set(self, widget): self.__set_color("completed")