Fix image in tool display

svn: r893
This commit is contained in:
Don Allingham 2002-04-05 00:47:37 +00:00
parent cace1a74aa
commit 27ca14bbb1
2 changed files with 4 additions and 3 deletions

View File

@ -32,6 +32,7 @@ filters, importer, exporters, and document generators.
# GTK libraries
#
#-------------------------------------------------------------------------
import GdkImlib
import gtk
import libglade
@ -138,11 +139,11 @@ class PluginDialog:
(task,cat,title,doc,xpm,status) = obj.get_data(TASK)
i,m = gtk.create_pixmap_from_xpm_d(gtk.GtkWindow(),None,xpm)
image = GdkImlib.create_image_from_xpm(xpm)
self.description.set_text(doc)
self.status.set_text(": %s" % status)
self.label.show()
self.img.set(i,m)
self.img.load_imlib(image)
self.title.set_text(title)
self.dialog.get_widget("title").set_text(title)

View File

@ -147,7 +147,7 @@
<widget>
<class>GnomePixmap</class>
<name>pixmap1</name>
<name>image</name>
<filename>gramps.png</filename>
<child>
<padding>10</padding>