[gitg/wip/sindhus/interactive-rebase] Add Gtk combo box to rebase listbox



commit 0a7b516480a51fb16f870e53aaed7c579898625a
Author: Sindhu S <sindhus live in>
Date:   Tue Sep 10 19:46:11 2013 +0530

    Add Gtk combo box to rebase listbox

 gitg/resources/gitg-rebase-list-box-row.ui |   30 ++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/gitg/resources/gitg-rebase-list-box-row.ui b/gitg/resources/gitg-rebase-list-box-row.ui
index d29185a..c131067 100644
--- a/gitg/resources/gitg-rebase-list-box-row.ui
+++ b/gitg/resources/gitg-rebase-list-box-row.ui
@@ -1,11 +1,40 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
+    <object class="GtkListStore" id="r_model_actions">
+    <columns>
+      <column type="gchararray"/>
+    </columns>
+    <data>
+      <row>
+        <col id="0" translatable="yes">pick</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes">squash</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes">fixup</col>
+      </row>
+    </data>
+  </object>
   <!-- interface-requires gtk+ 3.8 -->
   <template class="GitgRebaseListBoxRow" parent="GtkListBoxRow">
     <child>
       <object class="GtkBox" id="r_gtk_box">
         <property name="orientation">horizontal</property>
         <child>
+          <object class="GtkComboBox" id="r_action_combo">
+            <property name="visible">True</property>
+            <property name="can_focus">False</property>
+            <property name="model">r_model_actions</property>
+            <child>
+              <object class="GtkCellRendererText" id="r_action_renderer"/>
+              <attributes>
+                <attribute name="text">0</attribute>
+              </attributes>
+            </child>
+          </object>
+        </child>
+        <child>
           <object class="GtkLabel" id="r_commit_sha">
           </object>
         </child>
@@ -17,3 +46,4 @@
     </child>
   </template>
 </interface>
+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]