From 9f9e956cbc7151bd937a4d6dc338d6d3b0cb81d8 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Thu, 14 Sep 2006 08:53:52 +0000 Subject: [PATCH] use gtk.CLOSE instead of "Close" to clarify why this string doesn't need 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. --- ChangeLog | 6 ++++++ plug-ins/pygimp/plug-ins/gtkcons.py | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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()