From 5fafe4b0994de39c64853c34e5907d8e8cdabc40 Mon Sep 17 00:00:00 2001 From: Marc Maurer Date: Fri, 02 Mar 2007 21:35:58 +0000 Subject: Disable the table widget for now --- 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) -- cgit v0.9.1