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



Author: pcastro
Date: Sun Jul 13 17:42:01 2008
New Revision: 1030
URL: http://svn.gnome.org/viewvc/gnome-subtitles?rev=1030&view=rev

Log:
Use the new BasicErrorDialog.

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

Modified: trunk/src/GnomeSubtitles/Dialog/VideoErrorDialog.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Dialog/VideoErrorDialog.cs	(original)
+++ trunk/src/GnomeSubtitles/Dialog/VideoErrorDialog.cs	Sun Jul 13 17:42:01 2008
@@ -23,21 +23,13 @@
 
 namespace GnomeSubtitles.Dialog {
 
-public class VideoErrorDialog : ErrorDialog {
+public class VideoErrorDialog : BasicErrorDialog {
 	private static string primary = Catalog.GetString("Could not continue the video playback");
 	private static string secondaryInitial = Catalog.GetString("The following error has occurred: ");
 	
 	public VideoErrorDialog (string secondary) : base(primary, secondaryInitial + secondary) {
 	}
 
-	
-	/* Protected methods */
-	
-	protected override void AddButtons () {
-		dialog.AddButton(Stock.Ok, ResponseType.Ok);
-	}
-	
-
 }
 
 }



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