Comment 27 for bug 519541

Revision history for this message
Steve Langasek (vorlon) wrote :

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?