diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/wicd/files/wicd-1.7.3-bitrate-property.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/wicd/files/wicd-1.7.3-bitrate-property.patch')
-rw-r--r-- | net-misc/wicd/files/wicd-1.7.3-bitrate-property.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-misc/wicd/files/wicd-1.7.3-bitrate-property.patch b/net-misc/wicd/files/wicd-1.7.3-bitrate-property.patch new file mode 100644 index 000000000000..855a2939b5de --- /dev/null +++ b/net-misc/wicd/files/wicd-1.7.3-bitrate-property.patch @@ -0,0 +1,19 @@ +--- a/curses/netentry_curses.py ++++ b/curses/netentry_curses.py +@@ -538,11 +538,12 @@ + self.bitrates = wireless.GetAvailableBitrates() + self.bitrates.append('auto') + self.bitrate_combo.set_list(self.bitrates) +- self.bitrate_combo.set_focus( +- self.bitrates.index( +- wireless.GetWirelessProperty(networkID, 'bitrate') ++ if wireless.GetWirelessProperty(networkID, 'bitrate'): ++ self.bitrate_combo.set_focus( ++ self.bitrates.index( ++ wireless.GetWirelessProperty(networkID, 'bitrate') ++ ) + ) +- ) + self.allow_lower_bitrates_chkbox.set_state( + to_bool(self.format_entry(networkID, 'allow_lower_bitrates')) + ) |