[Xfce4-commits] r27197 - in xfce4-settings/trunk: . dialogs/appearance-settings

Jannis Pohlmann jannis at xfce.org
Thu Jul 3 00:45:02 CEST 2008


Author: jannis
Date: 2008-07-02 22:45:02 +0000 (Wed, 02 Jul 2008)
New Revision: 27197

Modified:
   xfce4-settings/trunk/ChangeLog
   xfce4-settings/trunk/dialogs/appearance-settings/appearance-dialog.glade
   xfce4-settings/trunk/dialogs/appearance-settings/main.c
Log:
	* dialogs/appearance-dialog/main.c: Sort user interface and
	  icon themes. Use the only column (0) for searching.

Modified: xfce4-settings/trunk/ChangeLog
===================================================================
--- xfce4-settings/trunk/ChangeLog	2008-07-02 22:35:29 UTC (rev 27196)
+++ xfce4-settings/trunk/ChangeLog	2008-07-02 22:45:02 UTC (rev 27197)
@@ -1,5 +1,10 @@
 2008-07-02	Jannis Pohlmann <jannis at xfce.org>
 
+	* dialogs/appearance-dialog/main.c: Sort user interface and
+	  icon themes. Use the only column (0) for searching.
+
+2008-07-02	Jannis Pohlmann <jannis at xfce.org>
+
 	* dialogs/appearance-dialog/main.c: Load icon themes properly.
 	  I used some of the code from the old mcs ui plugin.
 	* AUTHORS: I took the liberty to add my name here. 

Modified: xfce4-settings/trunk/dialogs/appearance-settings/appearance-dialog.glade
===================================================================
--- xfce4-settings/trunk/dialogs/appearance-settings/appearance-dialog.glade	2008-07-02 22:35:29 UTC (rev 27196)
+++ xfce4-settings/trunk/dialogs/appearance-settings/appearance-dialog.glade	2008-07-02 22:45:02 UTC (rev 27197)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
-<!--Generated with glade3 3.4.5 on Wed Jul  2 21:13:58 2008 -->
+<!--Generated with glade3 3.4.5 on Wed Jul  2 23:40:23 2008 -->
 <glade-interface>
   <requires lib="xfce4"/>
   <widget class="XfceTitledDialog" id="appearance-settings-dialog">
@@ -54,6 +54,7 @@
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="headers_visible">False</property>
+                                <property name="search_column">0</property>
                               </widget>
                             </child>
                           </widget>
@@ -101,6 +102,7 @@
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="headers_visible">False</property>
+                                <property name="search_column">0</property>
                               </widget>
                             </child>
                           </widget>
@@ -222,28 +224,27 @@
                                 <property name="column_spacing">12</property>
                                 <property name="row_spacing">6</property>
                                 <child>
-                                  <widget class="GtkLabel" id="label17">
+                                  <widget class="GtkCheckButton" id="xft_antialias_check_button">
                                     <property name="visible">True</property>
-                                    <property name="xalign">0</property>
-                                    <property name="label" translatable="yes">_Subpixel order:</property>
+                                    <property name="can_focus">True</property>
+                                    <property name="label" translatable="yes">_Enable antialias</property>
                                     <property name="use_underline">True</property>
-                                    <property name="mnemonic_widget">xft_rgba_combo_box</property>
+                                    <property name="response_id">0</property>
+                                    <property name="draw_indicator">True</property>
                                   </widget>
                                   <packing>
-                                    <property name="top_attach">2</property>
-                                    <property name="bottom_attach">3</property>
-                                    <property name="x_options">GTK_FILL</property>
+                                    <property name="right_attach">2</property>
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkComboBox" id="xft_rgba_combo_box">
+                                  <widget class="GtkComboBox" id="xft_hinting_style_combo_box">
                                     <property name="visible">True</property>
                                   </widget>
                                   <packing>
                                     <property name="left_attach">1</property>
                                     <property name="right_attach">2</property>
-                                    <property name="top_attach">2</property>
-                                    <property name="bottom_attach">3</property>
+                                    <property name="top_attach">1</property>
+                                    <property name="bottom_attach">2</property>
                                   </packing>
                                 </child>
                                 <child>
@@ -261,27 +262,28 @@
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkComboBox" id="xft_hinting_style_combo_box">
+                                  <widget class="GtkComboBox" id="xft_rgba_combo_box">
                                     <property name="visible">True</property>
                                   </widget>
                                   <packing>
                                     <property name="left_attach">1</property>
                                     <property name="right_attach">2</property>
-                                    <property name="top_attach">1</property>
-                                    <property name="bottom_attach">2</property>
+                                    <property name="top_attach">2</property>
+                                    <property name="bottom_attach">3</property>
                                   </packing>
                                 </child>
                                 <child>
-                                  <widget class="GtkCheckButton" id="xft_antialias_check_button">
+                                  <widget class="GtkLabel" id="label17">
                                     <property name="visible">True</property>
-                                    <property name="can_focus">True</property>
-                                    <property name="label" translatable="yes">_Enable antialias</property>
+                                    <property name="xalign">0</property>
+                                    <property name="label" translatable="yes">_Subpixel order:</property>
                                     <property name="use_underline">True</property>
-                                    <property name="response_id">0</property>
-                                    <property name="draw_indicator">True</property>
+                                    <property name="mnemonic_widget">xft_rgba_combo_box</property>
                                   </widget>
                                   <packing>
-                                    <property name="right_attach">2</property>
+                                    <property name="top_attach">2</property>
+                                    <property name="bottom_attach">3</property>
+                                    <property name="x_options">GTK_FILL</property>
                                   </packing>
                                 </child>
                               </widget>

Modified: xfce4-settings/trunk/dialogs/appearance-settings/main.c
===================================================================
--- xfce4-settings/trunk/dialogs/appearance-settings/main.c	2008-07-02 22:35:29 UTC (rev 27196)
+++ xfce4-settings/trunk/dialogs/appearance-settings/main.c	2008-07-02 22:45:02 UTC (rev 27197)
@@ -552,6 +552,7 @@
     GtkWidget *icon_theme_treeview = glade_xml_get_widget (gxml, "icon_theme_treeview");
 
     list_store = gtk_list_store_new (1, G_TYPE_STRING);
+    gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (list_store), 0, GTK_SORT_ASCENDING);
 
     renderer = gtk_cell_renderer_text_new();
     gtk_tree_view_set_model (GTK_TREE_VIEW (icon_theme_treeview), GTK_TREE_MODEL (list_store));
@@ -569,6 +570,7 @@
     GtkWidget *ui_theme_treeview = glade_xml_get_widget (gxml, "gtk_theme_treeview");
 
     list_store = gtk_list_store_new (1, G_TYPE_STRING);
+    gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (list_store), 0, GTK_SORT_ASCENDING);
 
     renderer = gtk_cell_renderer_text_new();
     gtk_tree_view_set_model (GTK_TREE_VIEW (ui_theme_treeview), GTK_TREE_MODEL (list_store));



More information about the Xfce4-commits mailing list