Make license box non-editable.

[nsbeta3+ bugscape b=1939; r=syd]


git-svn-id: svn://10.0.0.236/trunk@76017 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sgehani%netscape.com 2000-08-10 20:19:20 +00:00
parent 5ff983885a
commit f3dce67713
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ nsLicenseDlg::Show(int aDirection)
// create a new scrollable textarea and add it to the table
GtkWidget *text = gtk_text_new(NULL, NULL);
GdkFont *font = gdk_font_load( LICENSE_FONT );
gtk_text_set_editable(GTK_TEXT(text), TRUE);
gtk_text_set_editable(GTK_TEXT(text), FALSE);
gtk_table_attach(GTK_TABLE(mTable), text, 1, 2, 0, 1,
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),

View File

@ -140,7 +140,7 @@ nsWelcomeDlg::Show(int aDirection)
// create a new scrollable textarea and add it to the table
GtkWidget *text = gtk_text_new(NULL, NULL);
GdkFont *font = gdk_font_load( README_FONT );
gtk_text_set_editable(GTK_TEXT(text), TRUE);
gtk_text_set_editable(GTK_TEXT(text), FALSE);
gtk_table_attach(GTK_TABLE(mTable), text, 1, 2, 0, 1,
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),