gcalctool r2070 - in branches/gnome-2-22: . gcalctool
- From: rancell svn gnome org
- To: svn-commits-list gnome org
- Subject: gcalctool r2070 - in branches/gnome-2-22: . gcalctool
- Date: Sat, 12 Apr 2008 03:35:12 +0100 (BST)
Author: rancell
Date: Sat Apr 12 03:35:12 2008
New Revision: 2070
URL: http://svn.gnome.org/viewvc/gcalctool?rev=2070&view=rev
Log:
Correctly populate the constant and function menus (Bug #527545)
Modified:
branches/gnome-2-22/ChangeLog
branches/gnome-2-22/gcalctool/gtk.c
Modified: branches/gnome-2-22/gcalctool/gtk.c
==============================================================================
--- branches/gnome-2-22/gcalctool/gtk.c (original)
+++ branches/gnome-2-22/gcalctool/gtk.c Sat Apr 12 03:35:12 2008
@@ -1595,6 +1595,8 @@
gtk_list_store_set(model, &iter,
COLUMN_NUMBER, i,
COLUMN_EDITABLE, TRUE,
+ COLUMN_VALUE, g_strdup(make_number(v->MPcon_vals[i], DEC, TRUE)),
+ COLUMN_DESCRIPTION, g_strdup(v->con_names[i]),
-1);
}
@@ -1618,6 +1620,8 @@
gtk_list_store_set(model, &iter,
COLUMN_NUMBER, i,
COLUMN_EDITABLE, TRUE,
+ COLUMN_VALUE, g_strdup(v->fun_vals[i]),
+ COLUMN_DESCRIPTION, g_strdup(v->fun_names[i]),
-1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]