mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
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:
parent
ef68c4c9c2
commit
9f9e956cbc
|
@ -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]
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue