Diff for /np2/x11/gtk2/gtk_menu.c between versions 1.1 and 1.2

version 1.1, 2004/07/14 16:01:40 version 1.2, 2004/07/15 14:24:33
Line 99  static GtkActionEntry menu_entries[] = { Line 99  static GtkActionEntry menu_entries[] = {
 /* MenuItem */  /* MenuItem */
 { "about",       NULL, "_About",            NULL, NULL, G_CALLBACK(cb_dialog) },  { "about",       NULL, "_About",            NULL, NULL, G_CALLBACK(cb_dialog) },
 { "bmpsave",     NULL, "_BMP save...",      NULL, NULL, G_CALLBACK(cb_bmpsave) },  { "bmpsave",     NULL, "_BMP save...",      NULL, NULL, G_CALLBACK(cb_bmpsave) },
 { "calender",    NULL, "Ca_lender...",      NULL, NULL, G_CALLBACK(cb_dialog) },  { "calendar",    NULL, "Ca_lendar...",      NULL, NULL, G_CALLBACK(cb_dialog) },
 { "configure",   NULL, "_Configure...",     NULL, NULL, G_CALLBACK(cb_dialog) },  { "configure",   NULL, "_Configure...",     NULL, NULL, G_CALLBACK(cb_dialog) },
 { "disk1eject",  NULL, "_Eject",            NULL, NULL, G_CALLBACK(cb_diskeject), },  { "disk1eject",  NULL, "_Eject",            NULL, NULL, G_CALLBACK(cb_diskeject), },
 { "disk1open",   NULL, "_Open...",          NULL, NULL, G_CALLBACK(cb_diskopen), },  { "disk1open",   NULL, "_Open...",          NULL, NULL, G_CALLBACK(cb_diskopen), },
Line 366  static const gchar *ui_info = Line 366  static const gchar *ui_info =
 "  <menu name='Other' action='OtherMenu'>\n"  "  <menu name='Other' action='OtherMenu'>\n"
 "   <menuitem action='bmpsave'/>\n"  "   <menuitem action='bmpsave'/>\n"
 "   <menuitem action='s98logging'/>\n"  "   <menuitem action='s98logging'/>\n"
 "   <menuitem action='calender'/>\n"  "   <menuitem action='calendar'/>\n"
 "   <menuitem action='clockdisp'/>\n"  "   <menuitem action='clockdisp'/>\n"
 "   <menuitem action='framedisp'/>\n"  "   <menuitem action='framedisp'/>\n"
 "   <menuitem action='joyreverse'/>\n"  "   <menuitem action='joyreverse'/>\n"
Line 979  cb_dialog(GtkAction *action, gpointer us Line 979  cb_dialog(GtkAction *action, gpointer us
         if (g_ascii_strcasecmp(name, "configure") == 0) {          if (g_ascii_strcasecmp(name, "configure") == 0) {
                 create_configure_dialog();                  create_configure_dialog();
         } else if (g_ascii_strcasecmp(name, "soundopt") == 0) {          } else if (g_ascii_strcasecmp(name, "soundopt") == 0) {
                   create_sound_dialog();
         } else if (g_ascii_strcasecmp(name, "screenopt") == 0) {          } else if (g_ascii_strcasecmp(name, "screenopt") == 0) {
                   create_screen_dialog();
         } else if (g_ascii_strcasecmp(name, "midiopt") == 0) {          } else if (g_ascii_strcasecmp(name, "midiopt") == 0) {
                   create_midi_dialog();
         } else if (g_ascii_strcasecmp(name, "serialopt") == 0) {          } else if (g_ascii_strcasecmp(name, "serialopt") == 0) {
         } else if (g_ascii_strcasecmp(name, "calender") == 0) {          } else if (g_ascii_strcasecmp(name, "calendar") == 0) {
                   create_calendar_dialog();
         } else if (g_ascii_strcasecmp(name, "about") == 0) {          } else if (g_ascii_strcasecmp(name, "about") == 0) {
                 create_about_dialog();                  create_about_dialog();
         }          }

Removed from v.1.1  
changed lines
  Added in v.1.2


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