Commit b51e5731 authored by Andreas J. Guelzow's avatar Andreas J. Guelzow Committed by Andreas J. Guelzow

some beautification NOTE: To compile, this requires today's cvs version of

2002-03-15  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* dialog-sheet-order.c (dialog_sheet_order) : some
	beautification
	NOTE: To compile, this requires today's cvs version of gal
	* sheet-order.glade : some beautification
parent 20bdd005
2002-03-15 Andreas J. Guelzow <aguelzow@taliesin.ca>
* dialog-sheet-order.c (dialog_sheet_order) : some
beautification
NOTE: To compile, this requires today's cvs version of gal
* sheet-order.glade : some beautification
2002-03-15 Andreas J. Guelzow <aguelzow@taliesin.ca>
* dialog-sheet-name.c : removed
......
......@@ -633,7 +633,6 @@ dialog_sheet_order (WorkbookControlGUI *wbcg)
state->add_btn = glade_xml_get_widget (gui, "add_button");
state->duplicate_btn = glade_xml_get_widget (gui, "duplicate_button");
state->delete_btn = glade_xml_get_widget (gui, "delete_button");
gtk_widget_set_size_request (state->delete_btn, 100,-1);
state->ok_btn = glade_xml_get_widget (gui, "ok_button");
state->cancel_btn = glade_xml_get_widget (gui, "cancel_button");
......@@ -654,21 +653,24 @@ dialog_sheet_order (WorkbookControlGUI *wbcg)
FALSE, NULL),
_("Default"), NULL, cg);
gtk_table_attach (table, state->ccombo_back,
0, 1, 1, 2,
0, 1, 6, 7,
GTK_EXPAND | GTK_FILL, 0,
0, 0);
gtk_widget_set_sensitive (state->ccombo_back, FALSE);
gtk_combo_box_set_arrow_relief (GTK_COMBO_BOX (state->ccombo_back), GTK_RELIEF_NORMAL);
color_combo_box_set_preview_relief (COLOR_COMBO (state->ccombo_back), GTK_RELIEF_NORMAL);
cg = color_group_fetch ("fore_color_group", wb_control_view (WORKBOOK_CONTROL (wbcg)));
state->ccombo_fore = color_combo_new (gdk_pixbuf_new_from_inline (-1, gnm_font,
FALSE, NULL),
_("Default"), NULL, cg);
gtk_table_attach (table, state->ccombo_fore,
0, 1, 0, 1,
0, 1, 5, 6,
GTK_EXPAND | GTK_FILL, 0,
0, 0);
gtk_widget_set_sensitive (state->ccombo_fore, FALSE);
gtk_combo_box_set_arrow_relief (GTK_COMBO_BOX (state->ccombo_fore), GTK_RELIEF_NORMAL);
color_combo_box_set_preview_relief (COLOR_COMBO (state->ccombo_fore), GTK_RELIEF_NORMAL);
populate_sheet_list (state);
......@@ -712,4 +714,5 @@ dialog_sheet_order (WorkbookControlGUI *wbcg)
gnumeric_non_modal_dialog (state->wbcg, GTK_WINDOW (state->dialog));
wbcg_edit_attach_guru (state->wbcg, GTK_WIDGET (state->dialog));
gtk_widget_show_all (GTK_WIDGET (state->dialog));
}
......@@ -119,12 +119,13 @@
<property name="use_stock">True</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="height-request">34</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="x_padding">0</property>
<property name="y_padding">0</property>
<property name="x_options">expand|fill</property>
......@@ -139,12 +140,13 @@
<property name="use_stock">True</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="height-request">34</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_padding">0</property>
<property name="y_padding">0</property>
<property name="x_options">expand|fill</property>
......@@ -159,12 +161,13 @@
<property name="use_stock">True</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="height-request">34</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">4</property>
<property name="bottom_attach">5</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_padding">0</property>
<property name="y_padding">0</property>
<property name="x_options">expand|fill</property>
......@@ -178,12 +181,13 @@
<property name="label">_Duplicate</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="height-request">34</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">5</property>
<property name="bottom_attach">6</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="x_padding">0</property>
<property name="y_padding">0</property>
<property name="x_options">fill</property>
......@@ -198,12 +202,13 @@
<property name="use_stock">True</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="height-request">34</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">6</property>
<property name="bottom_attach">7</property>
<property name="top_attach">4</property>
<property name="bottom_attach">5</property>
<property name="x_padding">0</property>
<property name="y_padding">0</property>
<property name="x_options">expand|fill</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment