Change deprecated GTK stock items to actual values

This commit is contained in:
2014-03-30 09:47:21 +02:00
parent 84528f2970
commit 847e1c419e
3 changed files with 17 additions and 4 deletions

View File

@@ -136,8 +136,8 @@ open_cb(GSimpleAction *action, GVariant *parameter, gpointer user_data)
fs = gtk_file_chooser_dialog_new(_("Select charts"),
NULL,
GTK_FILE_CHOOSER_ACTION_OPEN,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
_("_Cancel"), GTK_RESPONSE_CANCEL,
_("_Open"), GTK_RESPONSE_ACCEPT,
NULL);
gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(fs), filter_all);
gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(fs), filter_chart);