]> cgit.babelmonkeys.de Git - jubjub.git/blobdiff - data/gtk/roster.ui
Show presence's show value in roster
[jubjub.git] / data / gtk / roster.ui
index b2e05df7de367b0586b5404a4686bb5eb0e52146..a39890a409f874047ca61c3ff4bf70311f837cc3 100644 (file)
       <column type="gchararray"/>
       <!-- column-name jid -->
       <column type="gchararray"/>
+      <!-- column-name status -->
+      <column type="gchararray"/>
     </columns>
   </object>
+  <object class="GtkTreeModelFilter" id="RosterTreeModelFilter">
+    <property name="child_model">RosterTreeStore</property>
+  </object>
   <object class="GtkWindow" id="RosterWindow">
     <property name="can_focus">False</property>
     <property name="title" translatable="yes">JubJub</property>
               <object class="GtkTreeView" id="RosterTreeView">
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
-                <property name="model">RosterTreeStore</property>
+                <property name="model">RosterTreeModelFilter</property>
                 <property name="search_column">0</property>
                 <child internal-child="selection">
                   <object class="GtkTreeSelection" id="RosterTreeViewSelection"/>
                 </child>
                 <child>
                   <object class="GtkTreeViewColumn" id="RosterTreeViewColumn1">
-                    <property name="title" translatable="yes">Name</property>
+                    <property name="title" translatable="yes">Status</property>
                     <child>
                       <object class="GtkCellRendererText" id="cellrenderertext1"/>
                       <attributes>
-                        <attribute name="text">0</attribute>
+                        <attribute name="text">2</attribute>
                       </attributes>
                     </child>
                   </object>
                 </child>
                 <child>
                   <object class="GtkTreeViewColumn" id="RosterTreeViewColumn2">
-                    <property name="title" translatable="yes">JID</property>
+                    <property name="title" translatable="yes">Name</property>
                     <child>
                       <object class="GtkCellRendererText" id="cellrenderertext2"/>
                       <attributes>
-                        <attribute name="text">1</attribute>
+                        <attribute name="text">0</attribute>
                       </attributes>
                     </child>
                   </object>
           </packing>
         </child>
         <child>
-          <object class="GtkComboBox" id="PresenceCombobox">
+          <object class="GtkComboBox" id="PresenceComboBox">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="model">PresenceListStore</property>
-            <property name="has_entry">True</property>
-            <property name="entry_text_column">1</property>
             <property name="id_column">0</property>
             <property name="active_id">unavailable</property>
-            <child internal-child="entry">
-              <object class="GtkEntry" id="PresenceComboBoxEntry">
-                <property name="can_focus">False</property>
-                <property name="editable">False</property>
-              </object>
+            <child>
+              <object class="GtkCellRendererText" id="cellrenderertext3"/>
+              <attributes>
+                <attribute name="text">1</attribute>
+              </attributes>
             </child>
           </object>
           <packing>