Index: gtk.c
===================================================================
RCS file: /cvs/gnome/gcalctool/gcalctool/gtk.c,v
retrieving revision 1.84
diff -u -p -r1.84 gtk.c
--- gtk.c	10 Jun 2003 21:03:40 -0000	1.84
+++ gtk.c	12 Jun 2003 00:23:24 -0000
@@ -1305,14 +1305,17 @@ check_vals(int n, int keyval, 
                 if ((buttons[i].mods[j] == 0) &&
                     ((X->ctrl_l | X->ctrl_r | X->shft_l | X->shft_r) == 0)) {
                     button_proc(GTK_BUTTON(gtk_buttons[i]), NULL);
+                    g_signal_emit_by_name(GTK_WIDGET(gtk_buttons[i]), "activate");
                     return(TRUE);
                 } else if ((buttons[i].mods[j] == GDK_SHIFT_MASK) &&
                            ((X->shft_l | X->shft_r) == 1)) {
                     button_proc(GTK_BUTTON(gtk_buttons[i]), NULL);
+                    g_signal_emit_by_name(GTK_WIDGET(gtk_buttons[i]), "activate");
                     return(TRUE);
                 } else if ((buttons[i].mods[j] == GDK_CONTROL_MASK) &&
                            ((X->ctrl_l | X->ctrl_r) == 1)) {
                     button_proc(GTK_BUTTON(gtk_buttons[i]), NULL);
+                    g_signal_emit_by_name(GTK_WIDGET(gtk_buttons[i]), "activate");
                     return(TRUE);
                 }
             }
@@ -1488,7 +1491,7 @@ make_but_frame(GtkWidget *vbox, GtkWidge
             } else {
                 Gtk_buttons[n] = make_menu_button(label, j*cols + i);
             }
-            g_signal_connect(G_OBJECT(Gtk_buttons[n]), "clicked",
+            g_signal_connect(G_OBJECT(Gtk_buttons[n]), "released",
                             G_CALLBACK(button_proc), (gpointer) (j*cols + i));
             SPRINTF(name, "%s_button%1d", tag, n);
             gtk_widget_set_name(Gtk_buttons[n], name);
