gnome-subtitles r1095 - trunk/src/GnomeSubtitles/Dialog



Author: pcastro
Date: Fri Dec  5 01:38:52 2008
New Revision: 1095
URL: http://svn.gnome.org/viewvc/gnome-subtitles?rev=1095&view=rev

Log:
Updated in order not to use a deprecated property.



Modified:
   trunk/src/GnomeSubtitles/Dialog/AboutDialog.cs

Modified: trunk/src/GnomeSubtitles/Dialog/AboutDialog.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Dialog/AboutDialog.cs	(original)
+++ trunk/src/GnomeSubtitles/Dialog/AboutDialog.cs	Fri Dec  5 01:38:52 2008
@@ -55,9 +55,8 @@
 		Core.Util.OpenSendEmail(email);
 	}
 	
-	#pragma warning disable 618 //TODO Name has been deprecated
 	private void SetInfo () {
-		dialog.Name = "Gnome Subtitles"; //TODO Deprecated property, need to change to ProgramName. Scheduled for substitution when gtk# 2.12 is available in all major distros. 
+		dialog.ProgramName = "Gnome Subtitles"; 
 		dialog.Comments += "\n\nUsing SubLib " + Base.ExecutionContext.SubLibVersion;
 		dialog.Version = Base.ExecutionContext.Version;
 		dialog.Logo = new Gdk.Pixbuf(null, logoFilename);



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