foiegras r49 - in trunk: . src/foiegras/buffer
- From: denisw svn gnome org
- To: svn-commits-list gnome org
- Subject: foiegras r49 - in trunk: . src/foiegras/buffer
- Date: Tue, 29 Jan 2008 07:43:42 +0000 (GMT)
Author: denisw
Date: Tue Jan 29 07:43:42 2008
New Revision: 49
URL: http://svn.gnome.org/viewvc/foiegras?rev=49&view=rev
Log:
2008-01-29 Denis Washington <denisw svn gnome org>
* src/foiegras/buffer/MallardTextView.py: renamed to textview.py like
required by importing modules.
* src/foiegras/buffer/MallardBuffer.py: removed, same code as the
already existing buffer.py.
Added:
trunk/src/foiegras/buffer/textview.py
Removed:
trunk/src/foiegras/buffer/MallardBuffer.py
trunk/src/foiegras/buffer/MallardTextView.py
Modified:
trunk/ChangeLog
Added: trunk/src/foiegras/buffer/textview.py
==============================================================================
--- (empty file)
+++ trunk/src/foiegras/buffer/textview.py Tue Jan 29 07:43:42 2008
@@ -0,0 +1,24 @@
+#!/usr/bin/env python
+#Gome doc project - Mallard - FoieGras
+
+import pygtk
+pygtk.require('2.0')
+import gtk
+
+class MallardTextView(gtk.TextView):
+ """
+ Customized implementation of gtk.TextView for Mallard.
+ """
+ def __init__(self,buffer = None):
+ gtk.TextView.__init__(self,buffer)
+
+ #stores the total height of block tag height
+ self.block_tag_length = 0
+
+ #complete hight of the textview
+ self.height = 0
+
+ #whether textview contains block tags
+ self.is_block_container = False
+
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]