[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
119/197: gurses: Allow menu update to work for panel windows.
From: |
Danny Milosavljevic |
Subject: |
119/197: gurses: Allow menu update to work for panel windows. |
Date: |
Mon, 3 Jul 2017 20:37:11 -0400 (EDT) |
dannym pushed a commit to branch wip-installer-2
in repository guix.
commit b13f7df4b479749ff666e46750a93a11854b111a
Author: John Darrington <address@hidden>
Date: Wed Jan 18 16:20:08 2017 +0100
gurses: Allow menu update to work for panel windows.
* gurses/menu.scm: (menu-refresh): Call update-panels and doupdate if the
subject of the procedure is a panel. Otherwise call refresh.
---
gurses/menu.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gurses/menu.scm b/gurses/menu.scm
index d43fec1..d1d7954 100644
--- a/gurses/menu.scm
+++ b/gurses/menu.scm
@@ -39,6 +39,7 @@
#:export (std-menu-key-handler)
#:use-module (ncurses curses)
+ #:use-module (ncurses panel)
#:use-module (srfi srfi-9))
(define-record-type <menu>
@@ -139,7 +140,11 @@
(chgat win -1 attr colour #:y
(- (menu-current-item menu) (menu-top-item menu))
#:x 0)
- (refresh win)))
+ (if (panel? win)
+ (begin
+ (update-panels)
+ (doupdate))
+ (refresh win))))
- 70/197: installer: Rename "file-browser" -> "time-zone"., (continued)
- 70/197: installer: Rename "file-browser" -> "time-zone"., Danny Milosavljevic, 2017/07/03
- 81/197: installer: Make all windows with ports scrollable., Danny Milosavljevic, 2017/07/03
- 62/197: installer: Add page with which the wifi password can be entered., Danny Milosavljevic, 2017/07/03
- 75/197: installer: Remove pointless calls to delwin., Danny Milosavljevic, 2017/07/03
- 87/197: installer: Minor cleanup., Danny Milosavljevic, 2017/07/03
- 79/197: installer: Rename "Back" buttons to "Cancel"., Danny Milosavljevic, 2017/07/03
- 98/197: installer: Correct bug detecting a wireless interface., Danny Milosavljevic, 2017/07/03
- 91/197: installer: Add callback parameter for forms., Danny Milosavljevic, 2017/07/03
- 95/197: installer: Add a predicate to ensure the partitions have been formatted., Danny Milosavljevic, 2017/07/03
- 102/197: installer: Correct bug where the timezone page returned to the wrong page., Danny Milosavljevic, 2017/07/03
- 119/197: gurses: Allow menu update to work for panel windows.,
Danny Milosavljevic <=
- 103/197: installer: Avoid exception when the device to format cannot be found., Danny Milosavljevic, 2017/07/03
- 116/197: installer: Fix bug in config generation., Danny Milosavljevic, 2017/07/03
- 105/197: installer: Extend the 'file-system' concept to include swap spaces., Danny Milosavljevic, 2017/07/03
- 83/197: installer: "Setup" --> "Set up", Danny Milosavljevic, 2017/07/03
- 92/197: installer: Remove mkfs capability from mount points page., Danny Milosavljevic, 2017/07/03
- 118/197: installer: Distinguish between Wifi encryption methods., Danny Milosavljevic, 2017/07/03
- 127/197: gurses: Remove box from form popup window., Danny Milosavljevic, 2017/07/03
- 123/197: installer: Add a popup window for forms which have multiple choice fields., Danny Milosavljevic, 2017/07/03
- 121/197: installer: Note which types of file system are supported., Danny Milosavljevic, 2017/07/03
- 141/197: gurses: Avoid one usage of car and cdr., Danny Milosavljevic, 2017/07/03