source-dialog: Use the right file chooser action
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
1e1216d3f7
commit
22b0014bf9
@@ -1154,7 +1154,7 @@ on_file_activated (GSimpleAction *action,
|
|||||||
/* Dialog */
|
/* Dialog */
|
||||||
dialog = gtk_file_chooser_dialog_new (_("Select a calendar file"),
|
dialog = gtk_file_chooser_dialog_new (_("Select a calendar file"),
|
||||||
GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (user_data))),
|
GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (user_data))),
|
||||||
GTK_FILE_CHOOSER_ACTION_SAVE,
|
GTK_FILE_CHOOSER_ACTION_OPEN,
|
||||||
_("Cancel"), GTK_RESPONSE_CANCEL,
|
_("Cancel"), GTK_RESPONSE_CANCEL,
|
||||||
_("Open"), GTK_RESPONSE_OK,
|
_("Open"), GTK_RESPONSE_OK,
|
||||||
NULL);
|
NULL);
|
||||||
|
|||||||
Reference in New Issue
Block a user