[evolution-rss] silence dialog errors
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss] silence dialog errors
- Date: Wed, 24 Mar 2010 10:06:31 +0000 (UTC)
commit af00aae86ab3270f7a67914879bbf5ca85ab11ae
Author: Lucian Langa <lucilanga gnome org>
Date: Wed Mar 24 12:05:49 2010 +0200
silence dialog errors
src/rss-config-factory.c | 12 ++++++------
src/rss-ui.glade | 6 +++---
2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
index cf06766..e9a7ab4 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, *cancel;
+ GtkWidget *ok;
GtkWidget *dialog1, *child;
GtkWidget *authuser, *authpass;
GtkWidget *adv_options, *entry1, *entry2, *feed_name;
@@ -699,10 +699,10 @@ 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_DIALOG (dialog1),
+// 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,
diff --git a/src/rss-ui.glade b/src/rss-ui.glade
index 5c95b0d..b614a79 100644
--- a/src/rss-ui.glade
+++ b/src/rss-ui.glade
@@ -950,9 +950,9 @@
<property name="modal">True</property>
<property name="destroy_with_parent">True</property>
<property name="type_hint">dialog</property>
- <property name="action">save</property>
- <property name="local_only">False</property>
<property name="show_hidden">True</property>
+ <property name="local_only">False</property>
+ <property name="action">save</property>
<child internal-child="vbox">
<object class="GtkVBox" id="vbox26">
<property name="visible">True</property>
@@ -1598,7 +1598,7 @@
</packing>
</child>
<child internal-child="action_area">
- <object class="GtkHButtonBox" id="dialog-action_area9">
+ <object class="GtkHButtonBox" id="feed_dialog-aa">
<property name="visible">True</property>
<property name="layout_style">end</property>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]