The only change to the GNOME frontend that we don't already have is this, which looks rather telling:
--- abiword-2.8.2/plugins/goffice/unix/AbiGOComponent.cpp 2009-12-13 15:21:44.000000000 -0500 +++ abiword-2.8.4/plugins/goffice/unix/AbiGOComponent.cpp 2010-04-14 17:50:16.000000000 -0400 @@ -225,6 +225,12 @@ return true; }
+static bool button_press_cb(GtkDialog *dlg, GdkEventButton *ev) +{ + if (ev->type == GDK_2BUTTON_PRESS) + gtk_dialog_response(dlg, GTK_RESPONSE_OK); + return false; +} // // AbiGOComponent_Create // ------------------- @@ -240,6 +246,7 @@ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONS E_OK, NULL)); GtkListStore *list = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING ); GtkWidget *w = gtk_tree_view_new_with_model (GTK_TREE_MODEL (list)); + g_signal_connect_swapped(w, "button-press-event", G_CALLBACK(button_press_cb), dialog); GtkCellRenderer *renderer; GtkTreeViewColumn *column; renderer = gtk_cell_renderer_text_new ();
Perhaps someone can check if that fixes the hang?
The only change to the GNOME frontend that we don't already have is this, which looks rather telling:
--- abiword- 2.8.2/plugins/ goffice/ unix/AbiGOCompo nent.cpp 2009-12-13 15:21:44.000000000 -0500 2.8.4/plugins/ goffice/ unix/AbiGOCompo nent.cpp 2010-04-14 17:50:16.000000000 -0400
+++ abiword-
@@ -225,6 +225,12 @@
return true;
}
+static bool button_ press_cb( GtkDialog *dlg, GdkEventButton *ev) response( dlg, GTK_RESPONSE_OK); Create
GTK_STOCK_ CANCEL, GTK_RESPONSE_ CANCEL, GTK_STOCK_OK, GTK_RESPONS
GtkListStore *list = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_STRING view_new_ with_model (GTK_TREE_MODEL (list)); connect_ swapped( w, "button- press-event" , G_CALLBACK( button_ press_cb) , dialog);
GtkCellRendere r *renderer;
GtkTreeViewCol umn *column; renderer_ text_new ();
+{
+ if (ev->type == GDK_2BUTTON_PRESS)
+ gtk_dialog_
+ return false;
+}
//
// AbiGOComponent_
// -------------------
@@ -240,6 +246,7 @@
E_OK, NULL));
);
GtkWidget *w = gtk_tree_
+ g_signal_
renderer = gtk_cell_
Perhaps someone can check if that fixes the hang?