use gtk.CLOSE instead of "Close" to clarify why this string doesn't need

2006-09-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/gtkcons.py: use gtk.CLOSE instead of
	"Close" to clarify why this string doesn't need to be marked for
	translation.
This commit is contained in:
Sven Neumann 2006-09-14 08:53:52 +00:00 committed by Sven Neumann
parent ef68c4c9c2
commit 9f9e956cbc
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2006-09-14 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/plug-ins/gtkcons.py: use gtk.CLOSE instead of
"Close" to clarify why this string doesn't need to be marked for
translation.
2006-09-14 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcontrollereditor.[ch]

View file

@ -146,7 +146,7 @@ class Console(gtk.VBox):
scale=pango.SCALE_SMALL)
self.emphasis = self.buffer.create_tag('Emphasis',
style=pango.STYLE_OBLIQUE)
self.error = self.buffer.create_tag('Error'),
self.error = self.buffer.create_tag('Error',
foreground='red')
self.command = self.buffer.create_tag('Command')
@ -161,7 +161,7 @@ class Console(gtk.VBox):
self.prompt.show()
if closer:
self.closer = gtk.Button("Close")
self.closer = gtk.Button(gtk.CLOSE)
self.closer.connect("clicked", self.quit)
self.inputbox.pack_end(self.closer, fill=False, expand=False)
self.closer.show()