Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Document.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-01-20 02:33:18 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-01-21 11:51:12 (GMT)
commit85d58dbae681e3d13cd811bb9348d881b415ffc0 (patch)
tree8cb4fe2f0a6a08634e2e67b3eb3abdf25e620591 /Document.py
parent70cdcd2c53266238bb018681c73457d67ac76dba (diff)
...
Diffstat (limited to 'Document.py')
-rw-r--r--Document.py13
1 files changed, 11 insertions, 2 deletions
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