diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-28 11:55:01 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-11-28 11:55:01 +0000 |
| commit | 99bc6308ba92d0bf8bf158f032b21b7aa17a3bf2 (patch) | |
| tree | d44474c38db35d17d702e9e612abedb490a1a07f | |
| parent | 1ef46805470ac8e43d15de5ba93990b41ab987eb (diff) | |
| download | pcsxr-99bc6308ba92d0bf8bf158f032b21b7aa17a3bf2.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@38383 e17a0e51-4ae3-4d35-97c3-1a29b211df97
| -rw-r--r-- | gui/MemcardDlg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/MemcardDlg.c b/gui/MemcardDlg.c index 5b3f91ad..bdefbe64 100644 --- a/gui/MemcardDlg.c +++ b/gui/MemcardDlg.c @@ -345,7 +345,7 @@ static void OnMcd_New(GtkWidget *widget, gpointer user_data) { // Card should be put into $HOME/.pcsx/memcards path = g_build_filename(g_get_home_dir(), ".pcsx", "memcards", NULL); gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(chooser), path); - gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(chooser), "new.mcd"); + gtk_file_chooser_set_current_name(GTK_FILE_CHOOSER(chooser), _("New Memory Card.mcd")); gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(chooser), TRUE); if (gtk_dialog_run(GTK_DIALOG(chooser)) == GTK_RESPONSE_OK) { @@ -362,8 +362,8 @@ static void OnMcd_New(GtkWidget *widget, gpointer user_data) { // Set the name on the FileChooserButton - this will trigger the // callback to load the card and update the dialog widget_name = g_strdup_printf("GtkMcd%dFSButton", (int)user_data); - xml = glade_get_widget_tree(widget); + gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(glade_xml_get_widget(xml, widget_name)), name); g_free(widget_name); |
