diff options
author | Marc Maurer <uwog@uwog.net> | 2007-03-02 21:35:58 (GMT) |
---|---|---|
committer | Marc Maurer <uwog@uwog.net> | 2007-03-02 21:35:58 (GMT) |
commit | 5fafe4b0994de39c64853c34e5907d8e8cdabc40 (patch) | |
tree | 003654099a3eaa5a499e8e41a9be137b6c028d0a /toolbar.py | |
parent | 31db38c1e23eda5cae3dcf5cf62c85988ff26beb (diff) |
Disable the table widget for now
Diffstat (limited to 'toolbar.py')
-rw-r--r-- | toolbar.py | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -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) |