quick-lounge-applet r254 - in trunk: . data/ui po src



Author: paobac
Date: Tue Feb  3 17:29:06 2009
New Revision: 254
URL: http://svn.gnome.org/viewvc/quick-lounge-applet?rev=254&view=rev

Log:
2009-02-03  Paolo Bacchilega  <paobac svn gnome org>

	* src/dlg-properties.c: set the column label acording to the 
	orientation.
	* data/ui/properties.ui: added a column label.


Modified:
   trunk/ChangeLog
   trunk/data/ui/properties.ui
   trunk/po/ChangeLog
   trunk/po/POTFILES.skip
   trunk/src/dlg-properties.c

Modified: trunk/data/ui/properties.ui
==============================================================================
--- trunk/data/ui/properties.ui	(original)
+++ trunk/data/ui/properties.ui	Tue Feb  3 17:29:06 2009
@@ -408,7 +408,7 @@
                               </packing>
                             </child>
                             <child>
-                              <object class="GtkLabel" id="columns_label">
+                              <object class="GtkLabel" id="label3">
                                 <property name="visible">True</property>
                                 <property name="xalign">0</property>
                                 <property name="label" translatable="yes">_Minimum:</property>
@@ -421,16 +421,33 @@
                             <child>
                               <object class="GtkHBox" id="hbox2">
                                 <property name="visible">True</property>
-                                <property name="spacing">12</property>
+                                <property name="spacing">24</property>
                                 <child>
-                                  <object class="GtkSpinButton" id="p_minsize_spinbutton">
+                                  <object class="GtkHBox" id="hbox4">
                                     <property name="visible">True</property>
-                                    <property name="can_focus">True</property>
-                                    <property name="invisible_char">&#x25CF;</property>
-                                    <property name="invisible_char_set">True</property>
-                                    <property name="adjustment">minsize_adjustment</property>
-                                    <property name="climb_rate">1</property>
-                                    <property name="numeric">True</property>
+                                    <property name="spacing">6</property>
+                                    <child>
+                                      <object class="GtkSpinButton" id="p_minsize_spinbutton">
+                                        <property name="visible">True</property>
+                                        <property name="can_focus">True</property>
+                                        <property name="invisible_char">&#x25CF;</property>
+                                        <property name="invisible_char_set">True</property>
+                                        <property name="adjustment">minsize_adjustment</property>
+                                        <property name="climb_rate">1</property>
+                                        <property name="numeric">True</property>
+                                      </object>
+                                      <packing>
+                                        <property name="position">0</property>
+                                      </packing>
+                                    </child>
+                                    <child>
+                                      <object class="GtkLabel" id="columns_label">
+                                        <property name="visible">True</property>
+                                      </object>
+                                      <packing>
+                                        <property name="position">1</property>
+                                      </packing>
+                                    </child>
                                   </object>
                                   <packing>
                                     <property name="position">0</property>

Modified: trunk/po/POTFILES.skip
==============================================================================
--- trunk/po/POTFILES.skip	(original)
+++ trunk/po/POTFILES.skip	Tue Feb  3 17:29:06 2009
@@ -1 +0,0 @@
-data/GNOME_QuickLoungeApplet_Factory.server.in

Modified: trunk/src/dlg-properties.c
==============================================================================
--- trunk/src/dlg-properties.c	(original)
+++ trunk/src/dlg-properties.c	Tue Feb  3 17:29:06 2009
@@ -1025,6 +1025,7 @@
 	GtkWidget        *btn_help;
 	GtkTreeSelection *selection;
 	char             *rows_label;
+	char             *columns_label;
 	
 	data = g_new0 (DialogData, 1);
 
@@ -1080,14 +1081,17 @@
 	case PANEL_APPLET_ORIENT_LEFT:
 	case PANEL_APPLET_ORIENT_RIGHT:
 		rows_label = _("C_olumns:");
+		columns_label = _("rows");
 		break;
 	case PANEL_APPLET_ORIENT_UP:
 	case PANEL_APPLET_ORIENT_DOWN:
 	default:
 		rows_label = _("R_ows:");
+		columns_label = _("columns");
 		break;
 	}
 	gtk_label_set_text_with_mnemonic (GTK_LABEL (GET_WIDGET ("rows_label")), rows_label);
+	gtk_label_set_text (GTK_LABEL (GET_WIDGET ("columns_label")), columns_label);
 
 	/**/
 



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