Add model for keybindings

This commit is contained in:
Chris Jones 2010-01-09 01:10:04 +00:00
parent dd45d51725
commit 56aab5708d
1 changed files with 219 additions and 179 deletions

View File

@ -202,11 +202,16 @@
<object class="GtkNotebook" id="notebook1"> <object class="GtkNotebook" id="notebook1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<child>
<object class="GtkAlignment" id="alignment2">
<property name="visible">True</property>
<property name="left_padding">6</property>
<child> <child>
<object class="GtkTable" id="global_config_table"> <object class="GtkTable" id="global_config_table">
<property name="visible">True</property> <property name="visible">True</property>
<property name="n_rows">6</property> <property name="n_rows">6</property>
<property name="n_columns">2</property> <property name="n_columns">2</property>
<property name="column_spacing">6</property>
<child> <child>
<object class="GtkComboBox" id="focuscombo"> <object class="GtkComboBox" id="focuscombo">
<property name="visible">True</property> <property name="visible">True</property>
@ -391,6 +396,8 @@
</child> </child>
</object> </object>
</child> </child>
</object>
</child>
<child type="tab"> <child type="tab">
<object class="GtkLabel" id="label1"> <object class="GtkLabel" id="label1">
<property name="visible">True</property> <property name="visible">True</property>
@ -2052,6 +2059,39 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="model">KeybindingsListStore</property> <property name="model">KeybindingsListStore</property>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn1">
<property name="title">Name</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext10"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn2">
<property name="title">Action</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext11"/>
<attributes>
<attribute name="text">1</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn3">
<property name="title">Keybinding</property>
<child>
<object class="GtkCellRendererAccel" id="cellrendereraccel1"/>
<attributes>
<attribute name="text">2</attribute>
</attributes>
</child>
</object>
</child>
</object> </object>
<packing> <packing>
<property name="position">3</property> <property name="position">3</property>