Author: pollux
Date: 2008-08-26 05:52:29 +0000 (Tue, 26 Aug 2008)
New Revision: 27582

Modified:
   xfdesktop/trunk/settings/main.c
Log:
fix shown screen numbers in settings dialog for multiscreen configurations

Modified: xfdesktop/trunk/settings/main.c
===================================================================
--- xfdesktop/trunk/settings/main.c     2008-08-25 16:14:08 UTC (rev 27581)
+++ xfdesktop/trunk/settings/main.c     2008-08-26 05:52:29 UTC (rev 27582)
@@ -572,9 +572,9 @@
                            nscreens, nmonitors);
             } else {
                 if(nscreens > 1)
-                    g_snprintf(buf, sizeof(buf), _("Screen %d"), nscreens);
+                    g_snprintf(buf, sizeof(buf), _("Screen %d"), i);
                 else
-                    g_snprintf(buf, sizeof(buf), _("Monitor %d"), nmonitors);
+                    g_snprintf(buf, sizeof(buf), _("Monitor %d"), j);
             }
 
             appearance_gxml = 
glade_xml_new_from_buffer(xfdesktop_settings_glade,

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to