aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/wicd-get-selected-profile-fix.patch
blob: 3042a87308b85bb05bac34307953eff599e9f9d9 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Fix copied from https://bugs.launchpad.net/wicd/+bug/1421918/comments/2

--- wicd-1.7.3/curses/wicd-curses.py	2014-12-21 16:57:33 +0000
+++ wicd-1.7.3/curses/wicd-curses.py	2015-02-24 23:41:01 +0000
@@ -532,7 +532,10 @@
     def get_selected_profile(self):
         """Get the selected wired profile"""
         loc = self.get_focus()[1]
-        return self.theList[loc]
+        if len(self.theList) > loc:
+            return self.theList[loc]
+        else:
+            return self.theList[-1]
 
 
 class AdHocDialog(Dialog2):
es <https://issues.guix.gnu.org/43592>. * gnu/packages/xorg.scm (mkfontscale)[configure-flags]: Point to libx11's locale.alias file via the '--with-localealiasfile' configure option. [inputs]{libx11}: New input. Maxim Cournoyer 2022-07-11gnu: luit: Fix indentation....* gnu/packages/xorg.scm (luit): Fix indentation. Maxim Cournoyer 2022-07-11gnu: xwud: Update to 1.0.6....* gnu/packages/xorg.scm (xwud): Update to 1.0.6. Efraim Flashner 2022-07-11gnu: xpr: Update to 1.1.0....* gnu/packages/xorg.scm (xpr): Update to 1.1.0. Efraim Flashner 2022-07-11gnu: xfontsel: Update to 1.1.0....* gnu/packages/xorg.scm (xfontsel): Update to 1.1.0. Efraim Flashner 2022-07-11gnu: xf86-video-mga: Update to 2.0.1....* gnu/packages/xorg.scm (xf86-video-mga): Update to 2.0.1. Efraim Flashner 2022-07-11gnu: xf86-video-cirrus: Update to 1.6.0....* gnu/packages/xorg.scm (xf86-video-cirrus): Update to 1.6.0. Efraim Flashner 2022-07-11gnu: xf86-input-synaptics: Update to 1.9.2....* gnu/packages/xorg.scm (xf86-input-synaptics): Update to 1.9.2. Efraim Flashner 2022-07-11gnu: xcmsdb: Update to 1.0.6....* gnu/packages/xorg.scm (xcmsdb): Update to 1.0.6. Efraim Flashner 2022-07-11gnu: xf86-video-mach64: Update to 6.9.7....* gnu/packages/xorg.scm (xf86-video-mach64): Update to 6.9.7. [source]: Remove patches. * gnu/packages/patches/xf86-video-mach64-bool-to-boolean.patch, gnu/packages/patches/xf86-video-mach64-glibc-2.20.patch: Remove files. * gnu/local.mk (dist_patch_DATA): Remove them. Efraim Flashner 2022-06-12Merge branch 'master' into stagingLudovic Courtès 2022-06-08Merge branch 'master' into stagingLudovic Courtès 2022-06-06gnu: uim: Build reproducibly....* gnu/packages/xorg.scm (uim)[arguments]: Disable parallel build. Vagrant Cascadian 2022-06-10gnu: mkfontscale: Update to 1.2.2....* gnu/packages/xorg.scm (mkfontscale): Update to 1.2.2. Efraim Flashner 2022-06-10gnu: xauth: Update to 1.1.2....* gnu/packages/xorg.scm (xauth): Update to 1.1.2. Efraim Flashner 2022-06-10gnu: xcalc: Update to 1.1.1....* gnu/packages/xorg.scm (xcalc): Update to 1.1.1. Efraim Flashner 2022-06-10gnu: xdpyinfo: Update to 1.3.3....* gnu/packages/xorg.scm (xdpyinfo): Update to 1.3.3. Efraim Flashner 2022-06-10gnu: xf86-input-libinput: Update to 1.2.1....* gnu/packages/xorg.scm (xf86-input-libinput): Update to 1.2.1. Efraim Flashner 2022-06-10gnu: xf86-video-amdgpu: Update to 22.0.0....* gnu/packages/xorg.scm (xf86-video-amdgpu): Update to 22.0.0. Efraim Flashner 2022-06-10gnu: xf86-video-dummy: Update to 0.4.0....* gnu/packages/xorg.scm (xf86-video-dummy): Update to 0.4.0. Efraim Flashner 2022-06-10gnu: xlsfonts: Update to 1.0.7....* gnu/packages/xorg.scm (xlsfonts): Update to 1.0.7. Efraim Flashner 2022-06-10gnu: xorg-sgml-doctools: Update to 1.12....* gnu/packages/xorg.scm (xorg-sgml-doctools): Update to 1.12. Efraim Flashner 2022-06-10gnu: twm: Update to 1.0.12....* gnu/packages/xorg.scm (twm): Update to 1.0.12. Efraim Flashner 2022-06-09Revert "gnu: uim: Build reproducibly."...The fix was ineffective. This reverts commit da115f9f7a7131143fe15f4aa7cdf435c10bfe46. Vagrant Cascadian 2022-06-02gnu: setroot: Depend on imlib2@1.7....* gnu/packages/xorg.scm (setroot)[inputs]: Use IMLIB2-1.7 instead of IMLIB2. Ludovic Courtès 2022-05-26Merge branch 'master' into stagingLudovic Courtès 2022-05-22gnu: editres: Update to 1.0.8....* gnu/packages/xorg.scm (editres): Update to 1.0.8. Tobias Geerinckx-Rice 2022-05-16Merge branch 'master' into stagingEfraim Flashner 2022-05-08gnu: iceauth: Update to 1.0.9....* gnu/packages/xorg.scm (iceauth): Update to 1.0.9. Tobias Geerinckx-Rice 2022-04-28Merge branch 'master' into stagingLudovic Courtès 2022-04-03gnu: xterm: Make big cursors work....* gnu/packages/patches/xterm-370-explicit-xcursor.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/xorg.scm (xterm)[source]: Add it. [arguments]<#:configure-flags>: Add "-lXcursor". Danny Milosavljevic 2022-03-21Merge branch 'master' into staging.Maxim Cournoyer 2022-03-07gnu: libxrender: Fix cross compiling to riscv64-linux....* gnu/packages/xorg.scm (libxrender)[arguments]: When cross compiling to riscv64-linux replace config.sub and config.guess with newer versions. [native-inputs]: When cross compiling to riscv64-linux add config. Efraim Flashner 2022-01-25Merge branch 'master' into staging....With "conflicts" solved (all in favor of master except git) in: gnu/local.mk gnu/packages/databases.scm gnu/packages/glib.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/gnuzilla.scm gnu/packages/graphics.scm gnu/packages/gstreamer.scm gnu/packages/gtk.scm gnu/packages/linux.scm gnu/packages/machine-learning.scm gnu/packages/networking.scm gnu/packages/polkit.scm gnu/packages/pulseaudio.scm gnu/packages/rpc.scm gnu/packages/rust.scm gnu/packages/version-control.scm gnu/packages/w3m.scm Maxim Cournoyer 2022-01-23Revert "gnu: xkeyboard-config: Build man page."...This reverts commit f7236fa1b2e92288633b4261997b55914e25648b. Tobias Geerinckx-Rice 2022-01-23gnu: xkeyboard-config: Build man page....* gnu/packages/xorg.scm (xkeyboard-config)[native-inputs]: Add libxslt and remove labels. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> SeerLite via Guix-patches via 2022-01-17Merge branch 'version-1.4.0'...With resolved conflicts in: gnu/packages/gnome.scm gnu/packages/openstack.scm gnu/packages/python-xyz.scm Maxim Cournoyer 2022-01-10gnu: libx11: Update to 1.7.3.1....This update eliminates multiple xkbcomp unresolved symbols warnings. * gnu/packages/xorg.scm (libx11): Update to 1.7.3.1. Fix indentation. [source]: Update origin's URI. Maxim Cournoyer 2022-01-13gnu: console-setup: Update to 1.207....* gnu/packages/xorg.scm (console-setup): Update to 1.207. [arguments]: Don't explicitly return #t from phases. Tobias Geerinckx-Rice 2022-01-13gnu: perl-x11-xcb: Update to 0.19....* gnu/packages/xorg.scm (perl-x11-xcb): Update to 0.19. [arguments]: Don't explicitly return #t from phases. Tobias Geerinckx-Rice