Change deprecated GTK stock items to actual values

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

View File

@ -46,6 +46,15 @@ msgstr "Asztrológiai szoftver a GNOME-hoz"
msgid "Astrognome Website" msgid "Astrognome Website"
msgstr "Astrognome weboldal" msgstr "Astrognome weboldal"
#: ../src/ag-app.c:139
#: ../src/ag-window.c:105
msgid "_Cancel"
msgstr "_Mégsem"
#: ../src/ag-app.c:140
msgid "_Open"
msgstr "M_egnyitás"
#: ../src/ag-app.c:131 #: ../src/ag-app.c:131
msgid "Select charts" msgid "Select charts"
msgstr "Válasszon ki mentett képleteket" msgstr "Válasszon ki mentett képleteket"
@ -54,6 +63,10 @@ msgstr "Válasszon ki mentett képleteket"
msgid "Save Chart" msgid "Save Chart"
msgstr "Képlet mentése" msgstr "Képlet mentése"
#: ../src/ag-window.c:105
msgid "_Save"
msgstr "M_entés"
#: ../src/ag-window.c:363 #: ../src/ag-window.c:363
msgid "Name" msgid "Name"
msgstr "Név" msgstr "Név"

View File

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

View File

@ -102,8 +102,8 @@ ag_window_save_as(AgWindow *window, GError **err)
fs = gtk_file_chooser_dialog_new(_("Save Chart"), fs = gtk_file_chooser_dialog_new(_("Save Chart"),
GTK_WINDOW(window), GTK_WINDOW(window),
GTK_FILE_CHOOSER_ACTION_SAVE, GTK_FILE_CHOOSER_ACTION_SAVE,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, _("_Cancel"), GTK_RESPONSE_CANCEL,
GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, _("_Save"), GTK_RESPONSE_ACCEPT,
NULL); NULL);
gtk_dialog_set_default_response(GTK_DIALOG(fs), GTK_RESPONSE_ACCEPT); gtk_dialog_set_default_response(GTK_DIALOG(fs), GTK_RESPONSE_ACCEPT);
gtk_file_chooser_set_local_only(GTK_FILE_CHOOSER(fs), FALSE); gtk_file_chooser_set_local_only(GTK_FILE_CHOOSER(fs), FALSE);