diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ephy-file-chooser.c | 8 | ||||
-rw-r--r-- | lib/ephy-file-chooser.h | 6 |
2 files changed, 4 insertions, 10 deletions
diff --git a/lib/ephy-file-chooser.c b/lib/ephy-file-chooser.c index c3baec5ec..a7f610336 100644 --- a/lib/ephy-file-chooser.c +++ b/lib/ephy-file-chooser.c @@ -238,19 +238,19 @@ ephy_file_chooser_new (const char *title, { gtk_dialog_add_buttons (GTK_DIALOG (dialog), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_OPEN, EPHY_RESPONSE_OPEN, + GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL); gtk_dialog_set_default_response (GTK_DIALOG (dialog), - EPHY_RESPONSE_OPEN); + GTK_RESPONSE_ACCEPT); } else if (action == GTK_FILE_CHOOSER_ACTION_SAVE) { gtk_dialog_add_buttons (GTK_DIALOG (dialog), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_SAVE, EPHY_RESPONSE_SAVE, + GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL); gtk_dialog_set_default_response (GTK_DIALOG (dialog), - EPHY_RESPONSE_SAVE); + GTK_RESPONSE_ACCEPT); } if (parent != NULL) diff --git a/lib/ephy-file-chooser.h b/lib/ephy-file-chooser.h index 1ca3426f4..d3d729ca6 100644 --- a/lib/ephy-file-chooser.h +++ b/lib/ephy-file-chooser.h @@ -37,12 +37,6 @@ G_BEGIN_DECLS typedef struct EphyFileChooserPrivate EphyFileChooserPrivate; -enum -{ - EPHY_RESPONSE_OPEN = 2, - EPHY_RESPONSE_SAVE = 3 -}; - typedef struct { GtkFileChooserDialog parent; |