Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Maurer <uwog@uwog.net>2007-03-02 21:35:58 (GMT)
committer Marc Maurer <uwog@uwog.net>2007-03-02 21:35:58 (GMT)
commit5fafe4b0994de39c64853c34e5907d8e8cdabc40 (patch)
tree003654099a3eaa5a499e8e41a9be137b6c028d0a
parent31db38c1e23eda5cae3dcf5cf62c85988ff26beb (diff)
Disable the table widget for now
-rw-r--r--activity/activity.info2
-rw-r--r--toolbar.py23
2 files changed, 13 insertions, 12 deletions
diff --git a/activity/activity.info b/activity/activity.info
index ee1c944..9881a92 100644
--- a/activity/activity.info
+++ b/activity/activity.info
@@ -3,5 +3,5 @@ name = Write
service_name = org.laptop.AbiWordActivity
class = AbiWordActivity.AbiWordActivity
icon = activity-write
-activity_version = 5
+activity_version = 6
show_launcher = 1
diff --git a/toolbar.py b/toolbar.py
index 28be9c4..4f28a67 100644
--- a/toolbar.py
+++ b/toolbar.py
@@ -81,16 +81,17 @@ class AbiToolbar():
self._abiword_canvas.connect("right-align", self._isRightAlign_cb)
toolbar.append(self._align_right)
- self._table = abiword.TableCreator()
- self._table.set_labels("Table", "Cancel")
- self._table.show()
- #self._tableCreate.label().hide()
-
- tableContainer = hippo.CanvasWidget()
- tableContainer.props.widget = self._table;
- self._table_id = self._table.connect("selected", self._table_cb)
+# reenable this after march 6th
+# self._table = abiword.TableCreator()
+# self._table.set_labels("Table", "Cancel")
+# self._table.show()
+# #self._tableCreate.label().hide()
+
+# tableContainer = hippo.CanvasWidget()
+# tableContainer.props.widget = self._table;
+# self._table_id = self._table.connect("selected", self._table_cb)
#self._table_id = self._abiword_canvas.connect("table-state", self._tableState)
- toolbar.append(tableContainer)
+# toolbar.append(tableContainer)
# def _insert_separator(self):
# separator = gtk.SeparatorToolItem()
@@ -162,5 +163,5 @@ class AbiToolbar():
print "isRightAlign",b
# self.setToggleButtonState(self._align_right,b,self._align_right_id)
- def _table_cb(self, abi, rows, cols):
- self._abiword_canvas.insert_table(rows,cols)
+# def _table_cb(self, abi, rows, cols):
+# self._abiword_canvas.insert_table(rows,cols)