From f3dce67713199bbabc710ac09ce4d663b83cb313 Mon Sep 17 00:00:00 2001 From: "sgehani%netscape.com" Date: Thu, 10 Aug 2000 20:19:20 +0000 Subject: [PATCH] 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 --- mozilla/xpinstall/wizard/unix/src2/nsLicenseDlg.cpp | 2 +- mozilla/xpinstall/wizard/unix/src2/nsWelcomeDlg.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/xpinstall/wizard/unix/src2/nsLicenseDlg.cpp b/mozilla/xpinstall/wizard/unix/src2/nsLicenseDlg.cpp index 51ab8a61669..0e6c2cd7efb 100644 --- a/mozilla/xpinstall/wizard/unix/src2/nsLicenseDlg.cpp +++ b/mozilla/xpinstall/wizard/unix/src2/nsLicenseDlg.cpp @@ -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(GTK_FILL | GTK_EXPAND), static_cast(GTK_FILL | GTK_EXPAND), diff --git a/mozilla/xpinstall/wizard/unix/src2/nsWelcomeDlg.cpp b/mozilla/xpinstall/wizard/unix/src2/nsWelcomeDlg.cpp index 91c011a6749..57bb687ccc3 100644 --- a/mozilla/xpinstall/wizard/unix/src2/nsWelcomeDlg.cpp +++ b/mozilla/xpinstall/wizard/unix/src2/nsWelcomeDlg.cpp @@ -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(GTK_FILL | GTK_EXPAND), static_cast(GTK_FILL | GTK_EXPAND),