From 52d5569982192a6e9d7813a9674c4e5f0cc880f5 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 26 Oct 2003 11:01:23 +0000 Subject: One set of buttons is enough. 2003-10-26 Christian Persch * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb): One set of buttons is enough. --- ChangeLog | 7 +++++++ src/bookmarks/ephy-bookmarks-editor.c | 7 +------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8c386cea3..3a0291cdc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-10-26 Christian Persch + + * src/bookmarks/ephy-bookmarks-editor.c: + (import_dialog_response_cb): + + One set of buttons is enough. + 2003-10-26 Christian Persch Port to new gtk+ file chooser. diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index 0236b825b..f5aae275e 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -19,7 +19,7 @@ */ #ifdef HAVE_CONFIG_H -#include +#include "config.h" #endif #include @@ -548,11 +548,6 @@ import_dialog_response_cb (GtkDialog *dialog, gint response, g_signal_connect (dialog, "response", G_CALLBACK (import_from_file_response_cb), editor); - gtk_dialog_add_buttons (GTK_DIALOG (dialog), - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_OPEN, GTK_RESPONSE_OK, - NULL); - gtk_widget_show (GTK_WIDGET (dialog)); } else -- cgit v1.2.3