Mercurial > MadButterfly
diff pyink/component_dock.glade @ 1309:f2b1b22f7cbc
Make comp_dock editable
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Thu, 20 Jan 2011 10:54:27 +0800 |
parents | 49775feefbcf |
children | c2a693a27eb9 |
line wrap: on
line diff
--- a/pyink/component_dock.glade Thu Jan 20 00:50:49 2011 +0800 +++ b/pyink/component_dock.glade Thu Jan 20 10:54:27 2011 +0800 @@ -6,12 +6,16 @@ <columns> <!-- column-name name --> <column type="gchararray"/> + <!-- column-name editable --> + <column type="gboolean"/> </columns> </object> <object class="GtkListStore" id="timelines_model"> <columns> <!-- column-name name --> <column type="gchararray"/> + <!-- column-name editable --> + <column type="gboolean"/> </columns> </object> <object class="GtkWindow" id="window1"> @@ -36,8 +40,11 @@ <property name="title">Component Name</property> <property name="expand">True</property> <child> - <object class="GtkCellRendererText" id="cellrenderertext1"/> + <object class="GtkCellRendererText" id="cellrenderer_comp"> + <signal name="edited" handler="on_cellrenderer_comp_edited"/> + </object> <attributes> + <attribute name="editable">1</attribute> <attribute name="text">0</attribute> </attributes> </child> @@ -125,8 +132,11 @@ <object class="GtkTreeViewColumn" id="treeviewcolumn2"> <property name="title">Action/Timeline Name</property> <child> - <object class="GtkCellRendererText" id="cellrenderertext2"/> + <object class="GtkCellRendererText" id="cellrenderer_timelines"> + <signal name="edited" handler="on_cellrenderer_timelines_edited"/> + </object> <attributes> + <attribute name="editable">1</attribute> <attribute name="text">0</attribute> </attributes> </child>