gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r451 - GNUnet/src/conf


From: durner
Subject: [GNUnet-SVN] r451 - GNUnet/src/conf
Date: Sun, 20 Mar 2005 03:58:28 -0800 (PST)

Author: durner
Date: 2005-03-20 03:58:26 -0800 (Sun, 20 Mar 2005)
New Revision: 451

Modified:
   GNUnet/src/conf/gconf.c
Log:
Cosmetic changes

Modified: GNUnet/src/conf/gconf.c
===================================================================
--- GNUnet/src/conf/gconf.c     2005-03-20 01:50:03 UTC (rev 450)
+++ GNUnet/src/conf/gconf.c     2005-03-20 11:58:26 UTC (rev 451)
@@ -28,7 +28,7 @@
 #include "gconf_support.h"
 #define ENABLE_NLS 1
 
-#define DEBUG
+/* #define DEBUG */
 
 enum {
   SINGLE_VIEW, SPLIT_VIEW, FULL_VIEW
@@ -36,7 +36,7 @@
 
 static gint view_mode = SPLIT_VIEW;
 static gboolean show_name = TRUE;
-static gboolean show_range = TRUE;
+static gboolean show_range = FALSE;
 static gboolean show_value = TRUE;
 static gboolean show_all = FALSE;
 static gboolean show_debug = FALSE;
@@ -194,10 +194,12 @@
   gtk_text_buffer_get_end_iter(buffer, &end);
   gtk_text_buffer_insert_with_tags(buffer, &end, prompt, -1, tag1,
            NULL);
-  gtk_text_buffer_insert_at_cursor(buffer, " ", 1);
-  gtk_text_buffer_get_end_iter(buffer, &end);
-  gtk_text_buffer_insert_with_tags(buffer, &end, name, -1, tag1,
-           NULL);
+  if (*name)
+  {
+    gtk_text_buffer_insert_at_cursor(buffer, " (", 2);
+    gtk_text_buffer_insert_at_cursor(buffer, name, -1);
+    gtk_text_buffer_insert_at_cursor(buffer, ")", 1);
+  }
   gtk_text_buffer_insert_at_cursor(buffer, "\n\n", 2);
   gtk_text_buffer_get_end_iter(buffer, &end);
   gtk_text_buffer_insert_with_tags(buffer, &end, help, -1, tag2,





reply via email to

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