[dots] table_editor.py: add a cancel button



commit 41447b88523a6da2152abb9af6cb37957c1f0a99
Author: Fernando Herrera <fherrera onirica com>
Date:   Tue Sep 14 03:26:42 2010 +0200

    table_editor.py: add a cancel button

 dots/table_editor.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/dots/table_editor.py b/dots/table_editor.py
index 7860f04..a4b07b3 100755
--- a/dots/table_editor.py
+++ b/dots/table_editor.py
@@ -370,7 +370,8 @@ class TableEditor(gtk.Dialog):
 		vbox.pack_start(scrolledwindow, True, True, 6)
 		vbox.pack_start(buttonbox, False, False, 6)
 
-		self.add_button(_("Finish editing"), gtk.RESPONSE_OK)
+		self.add_button(_("Cancel editing"), gtk.RESPONSE_CANCEL)
+		self.add_button(_("Save table and use"), gtk.RESPONSE_OK)
 
 
 	def _write_line(self, model, path, iter, f):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]