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:
Manish Singh
2006-07-20 06:06:24 +00:00
committed by Manish Singh
parent cbd3a1930d
commit 9230a66b6e
2 changed files with 6 additions and 1 deletions

View File

@ -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>
This is the start of wrapping much more of the GIMP API in Python.

View File

@ -189,7 +189,7 @@ class FontSelector(FontSelectButton):
if default:
self.set_font(default)
def get_value(self):
return self.get_font_name()
return self.get_font()
class FileSelector(gtk.FileChooserButton):
def __init__(self, default=""):