[Xfce4-commits] <parole:master> Fix visualisations combobox (add liststore and cellrenderer)

Christoph Mende noreply at xfce.org
Mon Jul 23 01:26:00 CEST 2012


Updating branch refs/heads/master
         to 732a96d7aec1190ba268cb475fc9ea121373120c (commit)
       from 1954726617ae7bbeb48739fc5dd85e7a65bfb7e3 (commit)

commit 732a96d7aec1190ba268cb475fc9ea121373120c
Author: Simon Steinbeiss <ochosi at xfce.org>
Date:   Tue Jul 17 18:54:48 2012 +0200

    Fix visualisations combobox (add liststore and cellrenderer)

 data/interfaces/parole-settings.ui |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/data/interfaces/parole-settings.ui b/data/interfaces/parole-settings.ui
index 19b6d83..10ebbb7 100644
--- a/data/interfaces/parole-settings.ui
+++ b/data/interfaces/parole-settings.ui
@@ -151,7 +151,14 @@
                                   <object class="GtkComboBox" id="vis-combobox">
                                     <property name="visible">True</property>
                                     <property name="can_focus">False</property>
-                                    <signal name="changed" handler="parole_conf_dialog_vis_plugin_changed_cb" swapped="no"/>
+                                    <property name="model">liststore1</property>
+                                        <signal name="changed" handler="parole_conf_dialog_vis_plugin_changed_cb"/>
+                                        <child>
+                                          <object class="GtkCellRendererText" id="cellrenderertext1"/>
+                                          <attributes>
+                                            <attribute name="text">0</attribute>
+                                          </attributes>
+                                        </child>
                                   </object>
                                   <packing>
                                     <property name="expand">True</property>
@@ -654,4 +661,10 @@
       <action-widget response="-7">close</action-widget>
     </action-widgets>
   </object>
+    <object class="GtkListStore" id="liststore1">
+    <columns>
+      <!-- column-name gchararray1 -->
+      <column type="gchararray"/>
+    </columns>
+  </object>
 </interface>


More information about the Xfce4-commits mailing list