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

version 1.20, 2011/12/17 14:32:52 version 1.22, 2011/12/17 16:20:05
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);  #if iGTK_MAJOR_VERSION >= 2 && GTK_MINOR_VERSION >= 8
         gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog),          gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog),
             TRUE);              TRUE);
   #endif
         if (strlen(bmpfilefolder) == 0) {          if (strlen(bmpfilefolder) == 0) {
                 g_strlcpy(bmpfilefolder, modulefile, sizeof(bmpfilefolder));                  g_strlcpy(bmpfilefolder, modulefile, sizeof(bmpfilefolder));
                 file_cutname(bmpfilefolder);                  file_cutname(bmpfilefolder);
Line 656  cb_change_font(GtkAction *action, gpoint Line 657  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 743  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 851  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 937  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 1037  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);  #if iGTK_MAJOR_VERSION >= 2 && GTK_MINOR_VERSION >= 8
         gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog),          gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog),
             TRUE);              TRUE);
   #endif
         if (strlen(fddfolder) == 0) {          if (strlen(fddfolder) == 0) {
                 g_strlcpy(fddfolder, modulefile, sizeof(fddfolder));                  g_strlcpy(fddfolder, modulefile, sizeof(fddfolder));
                 file_cutname(fddfolder);                  file_cutname(fddfolder);
Line 1184  cb_sasiopen(GtkAction *action, gpointer  Line 1182  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.22


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