Index: gcalctool/calctool.c
===================================================================
RCS file: /cvs/gnome/gcalctool/gcalctool/calctool.c,v
retrieving revision 1.69
diff -u -r1.69 calctool.c
--- gcalctool/calctool.c	9 Feb 2004 15:56:45 -0000	1.69
+++ gcalctool/calctool.c	18 Feb 2004 16:05:22 -0000
@@ -141,8 +141,8 @@
     N_("7"),
     NULL,
     N_("Numeric 7"),
-    { 0,     0,        0,           0,      0 },
-    { GDK_7, GDK_KP_7, GDK_KP_Home, GDK_R7, 0 },
+    { 0,     GDK_SHIFT_MASK, 0,        0,           0,      0 },
+    { GDK_7, GDK_7,          GDK_KP_7, GDK_KP_Home, GDK_R7, 0 },
     '7',
     M_NONE,
     do_number
@@ -151,8 +151,8 @@
     N_("8"),
     NULL,
     N_("Numeric 8"),
-    { 0,     0,        0,         0,      0 },
-    { GDK_8, GDK_KP_8, GDK_KP_Up, 0 },
+    { 0,     GDK_SHIFT_MASK, 0,        0,         0 },
+    { GDK_8, GDK_8,          GDK_KP_8, GDK_KP_Up, 0 },
     '8',
     M_NONE,
     do_number
@@ -161,8 +161,8 @@
     N_("9"),
     NULL,
     N_("Numeric 9"),
-    { 0,     0,        0,              0,      0 },
-    { GDK_9, GDK_KP_9, GDK_KP_Page_Up, GDK_R9, 0 },
+    { 0,     GDK_SHIFT_MASK, 0,        0,              0,      0 },
+    { GDK_9, GDK_9,          GDK_KP_9, GDK_KP_Page_Up, GDK_R9, 0 },
     '9',
     M_NONE,
     do_number
@@ -223,8 +223,8 @@
     N_("4"),
     NULL,
     N_("Numeric 4"),
-    { 0,     0,        0,           0,        0 },
-    { GDK_4, GDK_KP_4, GDK_KP_Left, 0 },
+    { 0,     GDK_SHIFT_MASK, 0,        0,           0 },
+    { GDK_4, GDK_4,          GDK_KP_4, GDK_KP_Left, 0 },
     '4',
     M_NONE,
     do_number
@@ -233,8 +233,8 @@
     N_("5"),
     NULL,
     N_("Numeric 5"),
-    { 0,     0,        0,            0,       0 },
-    { GDK_5, GDK_KP_5, GDK_KP_Begin, GDK_R11, 0 },
+    { 0,     GDK_SHIFT_MASK, 0,        0,            0,       0 },
+    { GDK_5, GDK_5,          GDK_KP_5, GDK_KP_Begin, GDK_R11, 0 },
     '5',
     M_NONE,
     do_number
@@ -243,8 +243,8 @@
     N_("6"),
     NULL,
     N_("Numeric 6"),
-    { 0,     0,        0,            0,         0 },
-    { GDK_6, GDK_KP_6, GDK_KP_Right, 0 },
+    { 0,     GDK_SHIFT_MASK, 0,        0,            0 },
+    { GDK_6, GDK_6,          GDK_KP_6, GDK_KP_Right, 0 },
     '6',
     M_NONE,
     do_number
@@ -305,8 +305,8 @@
     N_("1"),
     NULL,
     N_("Numeric 1"),
-    { 0,     0,        0,          0,       0 },
-    { GDK_1, GDK_KP_1, GDK_KP_End, GDK_R13, 0 },
+    { 0,     GDK_SHIFT_MASK, 0,        0,          0,       0 },
+    { GDK_1, GDK_1,          GDK_KP_1, GDK_KP_End, GDK_R13, 0 },
     '1',
     M_NONE,
     do_number
@@ -315,8 +315,8 @@
     N_("2"),
     NULL,
     N_("Numeric 2"),
-    { 0,     0,        0,           0,        0 }, 
-    { GDK_2, GDK_KP_2, GDK_KP_Down, 0 },
+    { 0,     GDK_SHIFT_MASK, 0,        0,           0 }, 
+    { GDK_2, GDK_2,          GDK_KP_2, GDK_KP_Down, 0 },
     '2',
     M_NONE,
     do_number
@@ -325,8 +325,8 @@
     N_("3"),
     NULL,
     N_("Numeric 3"),
-    { 0,     0,        0,                0,       0 },
-    { GDK_3, GDK_KP_3, GDK_KP_Page_Down, GDK_R15, 0 },
+    { 0,     GDK_SHIFT_MASK, 0,        0,                0,       0 },
+    { GDK_3, GDK_3,          GDK_KP_3, GDK_KP_Page_Down, GDK_R15, 0 },
     '3',
     M_NONE,
     do_number
@@ -387,8 +387,8 @@
     N_("0"),
     NULL,
     N_("Numeric 0"),
-    { 0,     0,        0,             0 },
-    { GDK_0, GDK_KP_0, GDK_KP_Insert, 0 },
+    { 0,     GDK_SHIFT_MASK, 0,        0,             0 },
+    { GDK_0, GDK_0,          GDK_KP_0, GDK_KP_Insert, 0 },
     '0',
     M_NONE,
     do_number
Index: gcalctool/calctool.h
===================================================================
RCS file: /cvs/gnome/gcalctool/gcalctool/calctool.h,v
retrieving revision 1.49
diff -u -r1.49 calctool.h
--- gcalctool/calctool.h	17 Feb 2004 17:25:44 -0000	1.49
+++ gcalctool/calctool.h	18 Feb 2004 16:05:23 -0000
@@ -173,7 +173,7 @@
 #define MAXBASES       4          /* Maximum number of numeric bases. */
 #define MAXCONFUN      10         /* Maximum number of constants/functions. */
 #define MAXDISPMODES   3          /* Maximum number of display modes. */
-#define MAXEXTRAS      6          /* Maximum number of keysym alternates. */
+#define MAXEXTRAS      8          /* Maximum number of keysym alternates. */
 #define MAXMODES       3          /* Maximum number of calculator modes. */
 #define MAXREGS        10         /* Maximum number of memory registers. */
 #define MAXSTACK       256        /* Parenthese stack size. */
