Whitespace formatting for last warnings' checkin.
git-svn-id: svn://10.0.0.236/trunk@66407 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -240,7 +240,7 @@ nsComponentsDlg::Show(int aDirection)
|
||||
gtk_widget_show(hbox);
|
||||
gtk_table_attach(GTK_TABLE(mTable), hbox, 0, 1, 1, 2,
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
GTK_FILL, 20, 20);
|
||||
GTK_FILL, 20, 20);
|
||||
gtk_widget_show(msg0);
|
||||
|
||||
// 2nd row: a CList with a check box for each row (short desc)
|
||||
@@ -300,8 +300,8 @@ nsComponentsDlg::Show(int aDirection)
|
||||
gtk_box_pack_start(GTK_BOX(hbox), list, TRUE, TRUE, 0);
|
||||
gtk_widget_show(hbox);
|
||||
gtk_table_attach(GTK_TABLE(mTable), hbox, 0, 1, 2, 3,
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
20, 0);
|
||||
|
||||
// XXX 3rd row: labels for ds avail and ds reqd
|
||||
@@ -311,9 +311,9 @@ nsComponentsDlg::Show(int aDirection)
|
||||
gtk_widget_show(descLongTable);
|
||||
|
||||
gtk_table_attach(GTK_TABLE(mTable), descLongTable, 0, 1, 4, 5,
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
20, 20);
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
20, 20);
|
||||
frame = gtk_frame_new(DESCRIPTION);
|
||||
gtk_table_attach_defaults(GTK_TABLE(descLongTable), frame, 0, 1, 0, 1);
|
||||
gtk_widget_show(frame);
|
||||
|
||||
@@ -182,8 +182,8 @@ nsInstallDlg::Show(int aDirection)
|
||||
gtk_box_pack_start(GTK_BOX(hbox), sMsg0Label, FALSE, FALSE, 0);
|
||||
gtk_widget_show(hbox);
|
||||
gtk_table_attach(GTK_TABLE(mTable), hbox, 0, 1, 1, 2,
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
GTK_FILL, 20, 20);
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
GTK_FILL, 20, 20);
|
||||
gtk_widget_show(sMsg0Label);
|
||||
|
||||
// vbox with two widgets packed in: label0 / progmeter0 (major)
|
||||
@@ -197,8 +197,8 @@ nsInstallDlg::Show(int aDirection)
|
||||
// gtk_widget_show(sMajorProgBar);
|
||||
|
||||
gtk_table_attach(GTK_TABLE(mTable), vbox, 0, 1, 2, 3,
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
GTK_FILL, 20, 20);
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
GTK_FILL, 20, 20);
|
||||
gtk_widget_show(vbox);
|
||||
|
||||
// vbox with two widgets packed in: label1 / progmeter1 (minor)
|
||||
@@ -212,8 +212,8 @@ nsInstallDlg::Show(int aDirection)
|
||||
// gtk_widget_show(sMinorProgBar);
|
||||
|
||||
gtk_table_attach(GTK_TABLE(mTable), vbox, 0, 1, 3, 4,
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
GTK_FILL, 20, 20);
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
GTK_FILL, 20, 20);
|
||||
gtk_widget_show(vbox);
|
||||
|
||||
mWidgetsInit = TRUE;
|
||||
|
||||
@@ -157,9 +157,9 @@ nsLicenseDlg::Show(int aDirection)
|
||||
GdkFont *font = gdk_font_load( LICENSE_FONT );
|
||||
gtk_text_set_editable(GTK_TEXT(text), TRUE);
|
||||
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),
|
||||
0, 0);
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
0, 0);
|
||||
gtk_text_freeze(GTK_TEXT(text));
|
||||
gtk_text_insert (GTK_TEXT(text), font, &text->style->black, NULL,
|
||||
licenseContents, -1);
|
||||
@@ -169,9 +169,9 @@ nsLicenseDlg::Show(int aDirection)
|
||||
// Add a vertical scrollbar to the GtkText widget
|
||||
GtkWidget *vscrollbar = gtk_vscrollbar_new (GTK_TEXT (text)->vadj);
|
||||
gtk_table_attach(GTK_TABLE(mTable), vscrollbar, 2, 3, 0, 1,
|
||||
GTK_FILL,
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_SHRINK | GTK_FILL),
|
||||
0, 0);
|
||||
GTK_FILL,
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_SHRINK | GTK_FILL),
|
||||
0, 0);
|
||||
gtk_widget_show(vscrollbar);
|
||||
|
||||
mWidgetsInit = TRUE;
|
||||
|
||||
@@ -246,7 +246,7 @@ nsSetupTypeDlg::Show(int aDirection)
|
||||
gtk_box_pack_start(GTK_BOX(hbox), msg0, FALSE, FALSE, 0);
|
||||
gtk_widget_show(hbox);
|
||||
gtk_table_attach(GTK_TABLE(mTable), hbox, 0, 1, 1, 2,
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
GTK_FILL, 20, 20);
|
||||
gtk_widget_show(msg0);
|
||||
|
||||
@@ -256,8 +256,8 @@ nsSetupTypeDlg::Show(int aDirection)
|
||||
stTable = gtk_table_new(numSetupTypes, 4, FALSE);
|
||||
gtk_widget_show(stTable);
|
||||
gtk_table_attach(GTK_TABLE(mTable), stTable, 0, 1, 2, 3,
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
20, 0);
|
||||
|
||||
currST = GetSetupTypeList();
|
||||
@@ -269,9 +269,9 @@ nsSetupTypeDlg::Show(int aDirection)
|
||||
currST->GetDescShort());
|
||||
sGroup = gtk_radio_button_group(GTK_RADIO_BUTTON(radbtns[0]));
|
||||
gtk_table_attach(GTK_TABLE(stTable), radbtns[0], 0, 1, 0, 1,
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
0, 0);
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
0, 0);
|
||||
gtk_signal_connect(GTK_OBJECT(radbtns[0]), "toggled",
|
||||
GTK_SIGNAL_FUNC(RadBtnToggled), 0);
|
||||
gtk_widget_show(radbtns[0]);
|
||||
@@ -317,9 +317,9 @@ nsSetupTypeDlg::Show(int aDirection)
|
||||
gtk_widget_show(destTable);
|
||||
|
||||
gtk_table_attach(GTK_TABLE(mTable), destTable, 0, 1, 3, 4,
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
20, 20);
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
20, 20);
|
||||
frame = gtk_frame_new(DEST_DIR);
|
||||
gtk_table_attach_defaults(GTK_TABLE(destTable), frame, 0, 2, 0, 1);
|
||||
gtk_widget_show(frame);
|
||||
@@ -334,8 +334,8 @@ nsSetupTypeDlg::Show(int aDirection)
|
||||
sBrowseBtn = gtk_button_new_with_label(BROWSE);
|
||||
gtk_widget_show(sBrowseBtn);
|
||||
gtk_table_attach(GTK_TABLE(destTable), sBrowseBtn, 1, 2, 0, 1,
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
GTK_SHRINK, 10, 0);
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_FILL),
|
||||
GTK_SHRINK, 10, 0);
|
||||
|
||||
mWidgetsInit = TRUE;
|
||||
}
|
||||
|
||||
@@ -142,9 +142,9 @@ nsWelcomeDlg::Show(int aDirection)
|
||||
GdkFont *font = gdk_font_load( README_FONT );
|
||||
gtk_text_set_editable(GTK_TEXT(text), TRUE);
|
||||
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),
|
||||
0, 0);
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
0, 0);
|
||||
gtk_text_freeze(GTK_TEXT(text));
|
||||
gtk_text_insert (GTK_TEXT(text), font, &text->style->black, NULL,
|
||||
readmeContents, -1);
|
||||
@@ -154,9 +154,9 @@ nsWelcomeDlg::Show(int aDirection)
|
||||
// Add a vertical scrollbar to the GtkText widget
|
||||
GtkWidget *vscrollbar = gtk_vscrollbar_new (GTK_TEXT (text)->vadj);
|
||||
gtk_table_attach(GTK_TABLE(mTable), vscrollbar, 2, 3, 0, 1,
|
||||
GTK_FILL,
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_SHRINK | GTK_FILL),
|
||||
0, 0);
|
||||
GTK_FILL,
|
||||
static_cast<GtkAttachOptions>(GTK_EXPAND | GTK_SHRINK | GTK_FILL),
|
||||
0, 0);
|
||||
gtk_widget_show(vscrollbar);
|
||||
|
||||
mWidgetsInit = TRUE;
|
||||
|
||||
@@ -230,13 +230,13 @@ nsXInstaller::DrawNavButtons()
|
||||
gtk_box_pack_start(GTK_BOX(navbtnhbox), navbtntable, TRUE, TRUE, 0);
|
||||
|
||||
gtk_table_attach(GTK_TABLE(navbtntable), gCtx->back, 4, 5, 0, 1,
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
static_cast<GtkAttachOptions>( GTK_FILL | GTK_EXPAND),
|
||||
5, 5);
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
static_cast<GtkAttachOptions>( GTK_FILL | GTK_EXPAND),
|
||||
5, 5);
|
||||
gtk_table_attach(GTK_TABLE(navbtntable), gCtx->next, 5, 6, 0, 1,
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
5, 5);
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
static_cast<GtkAttachOptions>(GTK_FILL | GTK_EXPAND),
|
||||
5, 5);
|
||||
|
||||
gtk_widget_show(navbtntable);
|
||||
gtk_widget_show(navbtnhbox);
|
||||
|
||||
Reference in New Issue
Block a user