diff --git a/ChangeLog b/ChangeLog index 3152ab351a..e71124fd36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-09-14 Sven Neumann + + * 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 * app/widgets/gimpcontrollereditor.[ch] diff --git a/plug-ins/pygimp/plug-ins/gtkcons.py b/plug-ins/pygimp/plug-ins/gtkcons.py index 3aad7ad504..23f91886ac 100755 --- a/plug-ins/pygimp/plug-ins/gtkcons.py +++ b/plug-ins/pygimp/plug-ins/gtkcons.py @@ -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()