[gcalctool] Add note about stopping users entering variables with spaces



commit 48612e48ba9f9400455acf71a0631acb2119f83d
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed Jan 5 15:05:58 2011 +1100

    Add note about stopping users entering variables with spaces

 src/math-variable-popup.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/math-variable-popup.c b/src/math-variable-popup.c
index c3121de..5e5d38e 100644
--- a/src/math-variable-popup.c
+++ b/src/math-variable-popup.c
@@ -211,6 +211,7 @@ math_variable_popup_set_property(GObject      *object,
         gtk_widget_show(entry);
 
         // TODO: Show greyed "variable name" text to give user a hint how to use
+        // TODO: Replace whitespace with underscores automatically
         self->priv->variable_name_entry = gtk_entry_new();
         g_signal_connect(G_OBJECT(self->priv->variable_name_entry), "changed", G_CALLBACK(variable_name_changed_cb), self);
         g_signal_connect(G_OBJECT(self->priv->variable_name_entry), "activate", G_CALLBACK(add_variable_cb), self);



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