Diff for /np2/x11/gtk2/gtk_menu.c between versions 1.9 and 1.10

version 1.9, 2007/01/24 14:09:32 version 1.10, 2007/02/04 11:51:14
Line 357  static const gchar *ui_info = Line 357  static const gchar *ui_info =
 "   <menuitem action='1/2 frame'/>\n"  "   <menuitem action='1/2 frame'/>\n"
 "   <menuitem action='1/3 frame'/>\n"  "   <menuitem action='1/3 frame'/>\n"
 "   <menuitem action='1/4 frame'/>\n"  "   <menuitem action='1/4 frame'/>\n"
   #if defined(SUPPORT_SCREENSIZE)
 "   <separator/>\n"  "   <separator/>\n"
 "   <menu name='Size' action='ScrnSizeMenu'>\n"  "   <menu name='Size' action='ScrnSizeMenu'>\n"
 "    <menuitem action='320x200'/>\n"  "    <menuitem action='320x200'/>\n"
Line 366  static const gchar *ui_info = Line 367  static const gchar *ui_info =
 "    <menuitem action='960x600'/>\n"  "    <menuitem action='960x600'/>\n"
 "    <menuitem action='1280x800'/>\n"  "    <menuitem action='1280x800'/>\n"
 "   </menu>\n"  "   </menu>\n"
   #endif
 "   <separator/>\n"  "   <separator/>\n"
 "   <menuitem action='screenopt'/>\n"  "   <menuitem action='screenopt'/>\n"
 "  </menu>\n"  "  </menu>\n"
Line 547  cb_bmpsave(GtkAction *action, gpointer u Line 549  cb_bmpsave(GtkAction *action, gpointer u
   
         g_object_set(G_OBJECT(dialog), "show-hidden", TRUE, NULL);          g_object_set(G_OBJECT(dialog), "show-hidden", TRUE, NULL);
         gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);          gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);
           if (strlen(bmpfilefolder) == 0) {
                   g_strlcpy(bmpfilefolder, modulefile, sizeof(bmpfilefolder));
                   file_cutname(bmpfilefolder);
           }
         utf8 = g_filename_to_utf8(bmpfilefolder, -1, NULL, NULL, NULL);          utf8 = g_filename_to_utf8(bmpfilefolder, -1, NULL, NULL, NULL);
         if (utf8) {          if (utf8) {
                 gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(dialog), utf8);                  gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), utf8);
                 g_free(utf8);                  g_free(utf8);
         }          }
   
Line 1019  cb_newdisk(GtkAction *action, gpointer u Line 1025  cb_newdisk(GtkAction *action, gpointer u
   
         g_object_set(G_OBJECT(dialog), "show-hidden", TRUE, NULL);          g_object_set(G_OBJECT(dialog), "show-hidden", TRUE, NULL);
         gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);          gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);
           if (strlen(fddfolder) == 0) {
                   g_strlcpy(fddfolder, modulefile, sizeof(fddfolder));
                   file_cutname(fddfolder);
           }
         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_current_folder(GTK_FILE_CHOOSER(dialog), utf8);                  gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(dialog), utf8);

Removed from v.1.9  
changed lines
  Added in v.1.10


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