diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-24 17:31:22 -0400 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-24 19:53:08 -0400 |
commit | fc71cbe5a6e22c7dea24a028d87ad0e2a050020b (patch) | |
tree | baf11b422ee1640b6e17ac317e27eb2ea49ad59f /tests/testfilechooser.c | |
parent | c79a21e1ddda961be43813daa9179505af89adb7 (diff) | |
download | gtk+-fc71cbe5a6e22c7dea24a028d87ad0e2a050020b.tar.gz |
Remove most of the stock API usage from the tests
With the exception of GtkActions and the tests for stock items.
Diffstat (limited to 'tests/testfilechooser.c')
-rw-r--r-- | tests/testfilechooser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c index 90cacfb868..2f92f3228d 100644 --- a/tests/testfilechooser.c +++ b/tests/testfilechooser.c @@ -586,16 +586,16 @@ main (int argc, char **argv) case GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER: gtk_window_set_title (GTK_WINDOW (dialog), "Select a file"); gtk_dialog_add_buttons (GTK_DIALOG (dialog), - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_OPEN, GTK_RESPONSE_OK, + _("_Cancel"), GTK_RESPONSE_CANCEL, + _("_Open"), GTK_RESPONSE_OK, NULL); break; case GTK_FILE_CHOOSER_ACTION_SAVE: case GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER: gtk_window_set_title (GTK_WINDOW (dialog), "Save a file"); gtk_dialog_add_buttons (GTK_DIALOG (dialog), - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_SAVE, GTK_RESPONSE_OK, + _("_Cancel"), GTK_RESPONSE_CANCEL, + _("_Open"), GTK_RESPONSE_OK, NULL); break; } |