? buildit.ksh
? env.sh
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gcalctool/ChangeLog,v
retrieving revision 1.185
diff -u -r1.185 ChangeLog
--- ChangeLog	20 Oct 2003 15:20:44 -0000	1.185
+++ ChangeLog	7 Nov 2003 18:46:43 -0000
@@ -7,6 +7,11 @@
 gcalctool change history.
 =========================
 
+2003-11-07  Rich Burridge <rich.burridge@sun.com>
+
+    * Fixed bug 125625 (http://bugzilla.gnome.org/show_bug.cgi?id=125625)
+      gcalctool now handles "clicked" events rather than "pressed" ones.
+
 2003-10-20  Kjartan Maraas <kmaraas@gnome.org>
 
     * Fixed bug 124928 (http://bugzilla.gnome.org/show_bug.cgi?id=124928)
Index: NEWS
===================================================================
RCS file: /cvs/gnome/gcalctool/NEWS,v
retrieving revision 1.95
diff -u -r1.95 NEWS
--- NEWS	20 Oct 2003 15:20:44 -0000	1.95
+++ NEWS	7 Nov 2003 18:46:43 -0000
@@ -5,6 +5,13 @@
  *  All Rights Reserved.
  */
 
+Overview of changes in gcalctool 4.3.18
+
+* Fixed bug 125625. gcalctool now handles "clicked" events rather than 
+  "pressed" ones.
+
+----
+
 Overview of changes in gcalctool 4.3.17
 
 * Fixed bug 124928. Plugged several memory leaks.
Index: configure.in
===================================================================
RCS file: /cvs/gnome/gcalctool/configure.in,v
retrieving revision 1.183
diff -u -r1.183 configure.in
--- configure.in	20 Oct 2003 15:20:44 -0000	1.183
+++ configure.in	7 Nov 2003 18:46:43 -0000
@@ -1,7 +1,7 @@
 dnl Process this file with autoconf to produce a configure script.
 
 AC_INIT(configure.in)
-AM_INIT_AUTOMAKE(gcalctool, 4.3.17)
+AM_INIT_AUTOMAKE(gcalctool, 4.3.18)
 AM_CONFIG_HEADER(config.h)
 AM_MAINTAINER_MODE
 
Index: gcalctool/gtk.c
===================================================================
RCS file: /cvs/gnome/gcalctool/gcalctool/gtk.c,v
retrieving revision 1.103
diff -u -r1.103 gtk.c
--- gcalctool/gtk.c	20 Oct 2003 15:20:44 -0000	1.103
+++ gcalctool/gtk.c	7 Nov 2003 18:46:43 -0000
@@ -1326,7 +1326,6 @@
         while (buttons[i].value[j] != 0) {
             if (buttons[i].value[j] == keyval) {
                 if (buttons[i].mods[j] == state) {
-                    button_proc(GTK_BUTTON(gtk_buttons[i]), NULL);
                     g_signal_emit_by_name(GTK_WIDGET(gtk_buttons[i]), 
                                           "activate");
                     return(TRUE);
@@ -1346,14 +1345,6 @@
     GtkWidget *focus;
     int retval = FALSE;
 
-    if (event->keyval == GDK_space) {
-        focus = gtk_window_get_focus(GTK_WINDOW(X->kframe));
-        if (GTK_IS_BUTTON(focus) == TRUE) {
-            g_signal_emit_by_name(focus, "pressed");
-        }
-        return(FALSE);
-    }
-
     switch (v->modetype) {
         case BASIC:
             retval = check_vals(B_NOBUTTONS, event->keyval, event->state,
@@ -1489,7 +1480,7 @@
                 Gtk_buttons[n] = make_menu_button(label, j*cols + i);
             }
             set_accessible_name(Gtk_buttons[n], buttons[n]);
-            g_signal_connect(G_OBJECT(Gtk_buttons[n]), "pressed",
+            g_signal_connect(G_OBJECT(Gtk_buttons[n]), "clicked",
                             G_CALLBACK(button_proc), (gpointer) (j*cols + i));
             SPRINTF(name, "%s_button%1d", tag, n);
             gtk_widget_set_name(Gtk_buttons[n], name);
