Commit 1b5e9b4d authored by Andreas J. Guelzow's avatar Andreas J. Guelzow Committed by Andreas J. Guelzow

use stock buttons and set title use stock buttons

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

	* sheet-order.glade : use stock buttons and set title
	* dialog-sheet-order.c : use stock buttons
parent 674c1b1a
2002-03-09 Andreas J. Guelzow <aguelzow@taliesin.ca>
* sheet-order.glade : use stock buttons and set title
* dialog-sheet-order.c : use stock buttons
2002-03-09 Andreas J. Guelzow <aguelzow@taliesin.ca>
* dialog-sheet-order.c : various minor modifications to make
......
......@@ -120,7 +120,8 @@ cb_selection_changed (GtkTreeSelection *ignored, SheetManager *state)
-1);
gtk_widget_set_sensitive (state->delete_btn, TRUE);
gtk_button_set_label (GTK_BUTTON (state->delete_btn),
is_deleted ? _("Restore") : _("Remove"));
is_deleted ? GTK_STOCK_UNDELETE : GTK_STOCK_DELETE);
gtk_button_stock_alignment_set (GTK_BUTTON (state->delete_btn), 0., .5, 0., 0.);
gtk_widget_set_sensitive (state->up_btn,
location_of_iter (&iter, state->model) > 0);
......@@ -489,6 +490,8 @@ 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");
state->old_order = NULL;
......
......@@ -7,7 +7,7 @@
<property name="default_width">200</property>
<property name="default_height">200</property>
<property name="visible">no</property>
<property name="title" translatable="yes"></property>
<property name="title" translatable="yes">Manage Sheets...</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="modal">no</property>
<property name="allow_shrink">no</property>
......@@ -194,7 +194,7 @@
<widget class="GtkButton" id="delete_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-remove</property>
<property name="label">gtk-undelete</property>
<property name="use_stock">True</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</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