[evolution-rss] revert part of af00aae86ab3270f7a67914879bbf5ca85ab11ae as it brakes feed dialog actions



commit 76a97abc27dbb383f312e7d0debe3ff9b24a67a2
Author: Lucian Langa <lucilanga gnome org>
Date:   Wed Mar 24 14:25:23 2010 +0200

    revert part of af00aae86ab3270f7a67914879bbf5ca85ab11ae
    as it brakes feed dialog actions

 src/rss-config-factory.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
index e9a7ab4..bbb9390 100644
--- a/src/rss-config-factory.c
+++ b/src/rss-config-factory.c
@@ -442,7 +442,7 @@ build_dialog_add(gchar *url, gchar *feed_text)
 	guint del_feed = 0;
 	gpointer key = NULL;
 	GtkAccelGroup *accel_group = gtk_accel_group_new ();
-	GtkWidget *ok;
+	GtkWidget *ok, *cancel;
 	GtkWidget *dialog1, *child;
 	GtkWidget *authuser, *authpass;
 	GtkWidget *adv_options, *entry1, *entry2, *feed_name;
@@ -699,9 +699,9 @@ build_dialog_add(gchar *url, gchar *feed_text)
 
 	ok = GTK_WIDGET (
 		gtk_builder_get_object(gui, "ok_button"));
-//	GTK_WIDGET_SET_FLAGS (ok, GTK_CAN_DEFAULT);
-//	d("/*Gtk-CRITICAL **: gtk_box_pack: assertion `child->parent == NULL' failed*/");
-/*	gtk_dialog_add_action_widget (
+	GTK_WIDGET_SET_FLAGS (ok, GTK_CAN_DEFAULT);
+	d("/*Gtk-CRITICAL **: gtk_box_pack: assertion `child->parent == NULL' failed*/");
+	gtk_dialog_add_action_widget (
 		(GtkDialog *)dialog1,
 		ok,
 		GTK_RESPONSE_OK);
@@ -714,7 +714,7 @@ build_dialog_add(gchar *url, gchar *feed_text)
 		GTK_RESPONSE_CANCEL);
 	GTK_WIDGET_SET_FLAGS (
 		cancel,
-		GTK_CAN_DEFAULT);*/
+		GTK_CAN_DEFAULT);
 
 	gtk_widget_add_accelerator (
 		ok,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]