Diff for /np2/x11/gtk2/gtk_menu.c between versions 1.20 and 1.21

version 1.20, 2011/12/17 14:32:52 version 1.21, 2011/12/17 14:37:09
Line 577  cb_bmpsave(GtkAction *action, gpointer u Line 577  cb_bmpsave(GtkAction *action, gpointer u
                 goto end;                  goto end;
   
         gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE);          gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE);
         gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);  
         gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog),          gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog),
             TRUE);              TRUE);
         if (strlen(bmpfilefolder) == 0) {          if (strlen(bmpfilefolder) == 0) {
Line 656  cb_change_font(GtkAction *action, gpoint Line 655  cb_change_font(GtkAction *action, gpoint
                 goto end;                  goto end;
   
         gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE);          gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE);
         gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);  
         utf8 = g_filename_to_utf8(np2cfg.fontfile, -1, NULL, NULL, NULL);          utf8 = g_filename_to_utf8(np2cfg.fontfile, -1, NULL, NULL, NULL);
         if (utf8) {          if (utf8) {
                 gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), utf8);                  gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), utf8);
Line 743  cb_diskopen(GtkAction *action, gpointer  Line 741  cb_diskopen(GtkAction *action, gpointer 
                 goto end;                  goto end;
   
         gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE);          gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE);
         gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);  
         utf8 = g_filename_to_utf8(fddfolder, -1, NULL, NULL, NULL);          utf8 = g_filename_to_utf8(fddfolder, -1, NULL, NULL, NULL);
         if (utf8) {          if (utf8) {
                 gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), utf8);                  gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), utf8);
Line 852  cb_ataopen(GtkAction *action, gpointer u Line 849  cb_ataopen(GtkAction *action, gpointer u
                 goto end;                  goto end;
   
         gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE);          gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE);
         gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);  
         utf8 = g_filename_to_utf8(hddfolder, -1, NULL, NULL, NULL);          utf8 = g_filename_to_utf8(hddfolder, -1, NULL, NULL, NULL);
         if (utf8) {          if (utf8) {
                 gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), utf8);                  gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), utf8);
Line 939  cb_atapiopen(GtkAction *action, gpointer Line 935  cb_atapiopen(GtkAction *action, gpointer
                 goto end;                  goto end;
   
         gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE);          gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE);
         gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);  
         utf8 = g_filename_to_utf8(hddfolder, -1, NULL, NULL, NULL);          utf8 = g_filename_to_utf8(hddfolder, -1, NULL, NULL, NULL);
         if (utf8) {          if (utf8) {
                 gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), utf8);                  gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), utf8);
Line 1040  cb_newdisk(GtkAction *action, gpointer u Line 1035  cb_newdisk(GtkAction *action, gpointer u
                 goto end;                  goto end;
   
         gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE);          gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE);
         gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);  
         gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog),          gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog),
             TRUE);              TRUE);
         if (strlen(fddfolder) == 0) {          if (strlen(fddfolder) == 0) {
Line 1184  cb_sasiopen(GtkAction *action, gpointer  Line 1178  cb_sasiopen(GtkAction *action, gpointer 
                 goto end;                  goto end;
   
         gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE);          gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), TRUE);
         gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);  
         utf8 = g_filename_to_utf8(hddfolder, -1, NULL, NULL, NULL);          utf8 = g_filename_to_utf8(hddfolder, -1, NULL, NULL, NULL);
         if (utf8) {          if (utf8) {
                 gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), utf8);                  gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), utf8);

Removed from v.1.20  
changed lines
  Added in v.1.21


RetroPC.NET-CVS <cvs@retropc.net>