From 85d58dbae681e3d13cd811bb9348d881b415ffc0 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Tue, 20 Jan 2009 02:33:18 +0000 Subject: ... --- (limited to 'Document.py') diff --git a/Document.py b/Document.py index 6782fd1..e8fbd31 100644 --- a/Document.py +++ b/Document.py @@ -12,14 +12,23 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +import gtk + +import Theme + def load(filepath): pass def save(filepath): pass -def pixbuf(index): - return None +def get_pixbuf(index): + return gtk.gdk.pixbuf_new_from_file_at_size( + Theme.path('images/pics/Elephant/bigelephant0.gif'), + Theme.FRAME_SIZE, Theme.FRAME_SIZE) + +def clean_pixbuf(index): + pass """ import zipfile -- cgit v0.9.1