font select API is get_font, not get_font_name.
2006-07-19 Manish Singh <yosh@gimp.org> * plug-ins/pygimp/gimpui.py: font select API is get_font, not get_font_name.
This commit is contained in:

committed by
Manish Singh

parent
cbd3a1930d
commit
9230a66b6e
@ -1,3 +1,8 @@
|
|||||||
|
2006-07-19 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* plug-ins/pygimp/gimpui.py: font select API is get_font, not
|
||||||
|
get_font_name.
|
||||||
|
|
||||||
2006-07-19 Manish Singh <yosh@gimp.org>
|
2006-07-19 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
This is the start of wrapping much more of the GIMP API in Python.
|
This is the start of wrapping much more of the GIMP API in Python.
|
||||||
|
@ -189,7 +189,7 @@ class FontSelector(FontSelectButton):
|
|||||||
if default:
|
if default:
|
||||||
self.set_font(default)
|
self.set_font(default)
|
||||||
def get_value(self):
|
def get_value(self):
|
||||||
return self.get_font_name()
|
return self.get_font()
|
||||||
|
|
||||||
class FileSelector(gtk.FileChooserButton):
|
class FileSelector(gtk.FileChooserButton):
|
||||||
def __init__(self, default=""):
|
def __init__(self, default=""):
|
||||||
|
Reference in New Issue
Block a user