gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r4114 - GNUnet/src/setup/ncurses


From: grothoff
Subject: [GNUnet-SVN] r4114 - GNUnet/src/setup/ncurses
Date: Fri, 29 Dec 2006 19:47:00 -0800 (PST)

Author: grothoff
Date: 2006-12-29 19:46:58 -0800 (Fri, 29 Dec 2006)
New Revision: 4114

Modified:
   GNUnet/src/setup/ncurses/mconf.c
Log:
better cancel button labels

Modified: GNUnet/src/setup/ncurses/mconf.c
===================================================================
--- GNUnet/src/setup/ncurses/mconf.c    2006-12-30 03:43:16 UTC (rev 4113)
+++ GNUnet/src/setup/ncurses/mconf.c    2006-12-30 03:46:58 UTC (rev 4114)
@@ -76,12 +76,21 @@
   fitem.text_free = 0;
   fitem.help_free = 0;
 
-  dialog_vars.cancel_label = _("Cancel");
   msel = 0;
   while (1) {
     switch (pos->type & GNS_KindMask) {
     case GNS_Root:
       dialog_vars.cancel_label = _("Exit");
+      break;
+    case GNS_Node:
+      dialog_vars.cancel_label = _("Up");
+      break;
+    default:
+      dialog_vars.cancel_label = _("Cancel");
+      break;
+    }
+    switch (pos->type & GNS_KindMask) {
+    case GNS_Root:
       /* fall-through! */
     case GNS_Node:
       st = 0;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]