Commit ebcc021d authored by Mike Kestner's avatar Mike Kestner Committed by Jody Goldberg

Preselect the name of the sheet in the dialog.


2000-01-07  Mike Kestner <mkestner@enteract.com>

	* src/dialogs/dialog-simple-input.c (dialog_get_sheet_name) :
	  Preselect the name of the sheet in the dialog.
parent a0d2eecd
......@@ -9,6 +9,9 @@
2000-01-07 Mike Kestner <mkestner@enteract.com>
* src/dialogs/dialog-simple-input.c (dialog_get_sheet_name) :
Preselect the name of the sheet in the dialog.
* src/workbook.c (sheet_action_rename_sheet) : Enable rename from the
popup menu associated with sheet tabs.
......
......@@ -9,6 +9,9 @@
2000-01-07 Mike Kestner <mkestner@enteract.com>
* src/dialogs/dialog-simple-input.c (dialog_get_sheet_name) :
Preselect the name of the sheet in the dialog.
* src/workbook.c (sheet_action_rename_sheet) : Enable rename from the
popup menu associated with sheet tabs.
......
......@@ -84,6 +84,8 @@ dialog_get_sheet_name (Workbook *wb, const char *current)
entry = glade_xml_get_widget (gui, "entry");
gtk_entry_set_text (GTK_ENTRY (entry), current);
gtk_editable_select_region(GTK_EDITABLE (entry), 0, -1);
gnome_dialog_editable_enters (dialog, GTK_EDITABLE (entry));
gnome_dialog_set_parent (dialog, GTK_WINDOW (wb->toplevel));
......
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