ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/prefs_editor_gtk.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/prefs_editor_gtk.cpp (file contents):
Revision 1.2 by cebix, 1999-10-03T19:43:28Z vs.
Revision 1.3 by cebix, 1999-10-12T20:00:52Z

# Line 678 | Line 678 | static void create_graphics_pane(GtkWidg
678          combo = gtk_combo_new();
679          gtk_widget_show(combo);
680          GList *glist1 = NULL;
681 <        glist1 = g_list_append(glist1, (char *)"512");
682 <        glist1 = g_list_append(glist1, (char *)"640");
683 <        glist1 = g_list_append(glist1, (char *)"800");
684 <        glist1 = g_list_append(glist1, (char *)"1024");
685 <        glist1 = g_list_append(glist1, (char *)"MAX");
681 >        glist1 = g_list_append(glist1, GetString(STR_SIZE_512_LAB));
682 >        glist1 = g_list_append(glist1, GetString(STR_SIZE_640_LAB));
683 >        glist1 = g_list_append(glist1, GetString(STR_SIZE_800_LAB));
684 >        glist1 = g_list_append(glist1, GetString(STR_SIZE_1024_LAB));
685 >        glist1 = g_list_append(glist1, GetString(STR_SIZE_MAX_LAB));
686          gtk_combo_set_popdown_strings(GTK_COMBO(combo), glist1);
687          if (dis_width)
688                  sprintf(str, "%d", dis_width);
689          else
690 <                strcpy(str, "MAX");
690 >                strcpy(str, GetString(STR_SIZE_MAX_LAB));
691          gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(combo)->entry), str);
692          gtk_table_attach(GTK_TABLE(table), combo, 1, 2, 2, 3, (GtkAttachOptions)GTK_FILL, (GtkAttachOptions)0, 4, 4);
693          w_display_x = GTK_COMBO(combo)->entry;
# Line 699 | Line 699 | static void create_graphics_pane(GtkWidg
699          combo = gtk_combo_new();
700          gtk_widget_show(combo);
701          GList *glist2 = NULL;
702 <        glist2 = g_list_append(glist2, (char *)"384");
703 <        glist2 = g_list_append(glist2, (char *)"480");
704 <        glist2 = g_list_append(glist2, (char *)"600");
705 <        glist2 = g_list_append(glist2, (char *)"768");
706 <        glist2 = g_list_append(glist2, (char *)"MAX");
702 >        glist2 = g_list_append(glist2, GetString(STR_SIZE_384_LAB));
703 >        glist2 = g_list_append(glist2, GetString(STR_SIZE_480_LAB));
704 >        glist2 = g_list_append(glist2, GetString(STR_SIZE_600_LAB));
705 >        glist2 = g_list_append(glist2, GetString(STR_SIZE_768_LAB));
706 >        glist2 = g_list_append(glist2, GetString(STR_SIZE_MAX_LAB));
707          gtk_combo_set_popdown_strings(GTK_COMBO(combo), glist2);
708          if (dis_height)
709                  sprintf(str, "%d", dis_height);
710          else
711 <                strcpy(str, "MAX");
711 >                strcpy(str, GetString(STR_SIZE_MAX_LAB));
712          gtk_entry_set_text(GTK_ENTRY(GTK_COMBO(combo)->entry), str);
713          gtk_table_attach(GTK_TABLE(table), combo, 1, 2, 3, 4, (GtkAttachOptions)GTK_FILL, (GtkAttachOptions)0, 4, 4);
714          w_display_y = GTK_COMBO(combo)->entry;
# Line 777 | Line 777 | static GList *add_serial_names(void)
777          if (glist)
778                  g_list_sort(glist, gl_str_cmp);
779          else
780 <                glist = g_list_append(glist, (char *)"<none>");
780 >                glist = g_list_append(glist, GetString(STR_NONE_LAB));
781          return glist;
782   }
783  
# Line 813 | Line 813 | static GList *add_ether_names(void)
813          if (glist)
814                  g_list_sort(glist, gl_str_cmp);
815          else
816 <                glist = g_list_append(glist, (char *)"<none>");
816 >                glist = g_list_append(glist, GetString(STR_NONE_LAB));
817          return glist;
818   }
819  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines