[gnome-subtitles] Code cleanup



commit 593ac813f03e669abefeb8a4fe4dca92bec5f7ea
Author: Pedro Castro <mail>
Date:   Sat Feb 6 15:53:57 2010 +0000

    Code cleanup

 .../Dialog/SubtitleFileSaveAsDialog.cs             |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/GnomeSubtitles/Dialog/SubtitleFileSaveAsDialog.cs b/src/GnomeSubtitles/Dialog/SubtitleFileSaveAsDialog.cs
index 3547e9b..9e72fe3 100644
--- a/src/GnomeSubtitles/Dialog/SubtitleFileSaveAsDialog.cs
+++ b/src/GnomeSubtitles/Dialog/SubtitleFileSaveAsDialog.cs
@@ -155,17 +155,13 @@ public abstract class SubtitleFileSaveAsDialog : GladeDialog {
 	
 	private void SetDialogFromFileProperties () {
 		FileProperties fileProperties = (textType == SubtitleTextType.Text ? Base.Document.TextFile : Base.Document.TranslationFile);
-	
+
 		if (fileProperties.IsPathRooted)
 			dialog.SetCurrentFolder(fileProperties.Directory);
 		else
 			dialog.SetCurrentFolder(Environment.GetFolderPath(Environment.SpecialFolder.Personal));
 			
 		dialog.CurrentName = fileProperties.Filename;
-
-		//TODO
-		/* There seems to be a bug in GTK that makes the dialog return null for currentFolder and currentFilename
-		   while in the constructor. After constructing it works fine. */
 	}
 	
 	



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