f-spot r3880 - in trunk: . src/Editors



Author: sdelcroix
Date: Wed May  7 21:08:34 2008
New Revision: 3880
URL: http://svn.gnome.org/viewvc/f-spot?rev=3880&view=rev

Log:
2008-05-07  Stephane Delcroix  <sdelcroix novell com>

	* src/Editors/SoftFocus.cs:
	* src/Editors/Tilt.cs: use Stock buttons, get translation for free. Fixes
	bnc #256635.


Modified:
   trunk/ChangeLog
   trunk/src/Editors/SoftFocus.cs
   trunk/src/Editors/Tilt.cs

Modified: trunk/src/Editors/SoftFocus.cs
==============================================================================
--- trunk/src/Editors/SoftFocus.cs	(original)
+++ trunk/src/Editors/SoftFocus.cs	Wed May  7 21:08:34 2008
@@ -54,10 +54,10 @@
 			box.PackStart (scale);
 			HBox actions = new HBox ();
 			actions.Spacing = 12;
-			Button cancel = new Button (Catalog.GetString ("Cancel"));
+			Button cancel = new Button (Stock.Cancel);
 			cancel.Clicked += HandleCancel;
 			actions.PackStart (cancel);
-			Button apply = new Button ( Catalog.GetString ("Apply"));
+			Button apply = new Button (Stock.Apply);
 			apply.Clicked += HandleApply;
 			actions.PackStart (apply);
 			box.PackStart (actions);

Modified: trunk/src/Editors/Tilt.cs
==============================================================================
--- trunk/src/Editors/Tilt.cs	(original)
+++ trunk/src/Editors/Tilt.cs	Wed May  7 21:08:34 2008
@@ -46,10 +46,10 @@
 			box.PackStart (scale);
 			HBox actions = new HBox ();
 			actions.Spacing = 12;
-			Button cancel = new Button ("Cancel");
+			Button cancel = new Button (Stock.Cancel);
 			cancel.Clicked += HandleCancel;
 			actions.PackStart (cancel);
-			Button apply = new Button ("Apply");
+			Button apply = new Button (Stock.Apply);
 			apply.Clicked += HandleApply;
 			actions.PackStart (apply);
 			box.PackStart (actions);



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