metacity r4009 - in trunk: . src/ui



Author: tthurman
Date: Wed Oct 29 23:38:48 2008
New Revision: 4009
URL: http://svn.gnome.org/viewvc/metacity?rev=4009&view=rev

Log:
	* src/ui/theme-parser.c: variable names in messages should be
	  double-quoted.  Closes #558309.



Modified:
   trunk/ChangeLog
   trunk/src/ui/theme-parser.c

Modified: trunk/src/ui/theme-parser.c
==============================================================================
--- trunk/src/ui/theme-parser.c	(original)
+++ trunk/src/ui/theme-parser.c	Wed Oct 29 23:38:48 2008
@@ -1340,7 +1340,7 @@
             info->layout->button_sizing == META_BUTTON_SIZING_FIXED))
         {
           set_error (error, context, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
-                     _("Cannot specify both button_width/button_height and aspect ratio for buttons"));
+                     _("Cannot specify both \"button_width\"/\"button_height\" and \"aspect_ratio\" for buttons"));
           return;      
         }
 
@@ -1354,7 +1354,7 @@
             info->layout->button_sizing == META_BUTTON_SIZING_FIXED))
         {
           set_error (error, context, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
-                     _("Cannot specify both button_width/button_height and aspect ratio for buttons"));
+                     _("Cannot specify both \"button_width\"/\"button_height\" and \"aspect_ratio\" for buttons"));
           return;      
         }
 
@@ -1366,7 +1366,6 @@
                  _("Distance \"%s\" is unknown"), name);
       return;
     }
-}
 
 static void
 parse_aspect_ratio (GMarkupParseContext  *context,
@@ -1399,7 +1398,7 @@
       if (info->layout->button_sizing != META_BUTTON_SIZING_LAST)
         {
           set_error (error, context, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
-                     _("Cannot specify both button_width/button_height and aspect ratio for buttons"));
+                     _("Cannot specify both \"button_width\"/\"button_height\" and \"aspect_ratio\" for buttons"));
           return;
         }
       



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