gnome-subtitles r1049 - in trunk: . src/GnomeSubtitles/Core src/GnomeSubtitles/Core/Command src/GnomeSubtitles/Dialog src/GnomeSubtitles/Ui src/GnomeSubtitles/Ui/Edit src/GnomeSubtitles/Ui/VideoPreview src/GnomeSubtitles/Ui/View
- From: pcastro svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-subtitles r1049 - in trunk: . src/GnomeSubtitles/Core src/GnomeSubtitles/Core/Command src/GnomeSubtitles/Dialog src/GnomeSubtitles/Ui src/GnomeSubtitles/Ui/Edit src/GnomeSubtitles/Ui/VideoPreview src/GnomeSubtitles/Ui/View
- Date: Sat, 27 Sep 2008 17:10:57 +0000 (UTC)
Author: pcastro
Date: Sat Sep 27 17:10:57 2008
New Revision: 1049
URL: http://svn.gnome.org/viewvc/gnome-subtitles?rev=1049&view=rev
Log:
Updated to reflect recent changes in SubLib.
Modified:
trunk/gnome-subtitles.mdp
trunk/src/GnomeSubtitles/Core/Base.cs
trunk/src/GnomeSubtitles/Core/Command/ChangeStyleCommand.cs
trunk/src/GnomeSubtitles/Core/Command/ChangeTimingCommand.cs
trunk/src/GnomeSubtitles/Core/Command/DeleteSubtitlesCommand.cs
trunk/src/GnomeSubtitles/Core/Command/InsertSubtitleCommand.cs
trunk/src/GnomeSubtitles/Core/Command/ReplaceAllCommand.cs
trunk/src/GnomeSubtitles/Core/Command/ShiftTimingsCommand.cs
trunk/src/GnomeSubtitles/Core/Document.cs
trunk/src/GnomeSubtitles/Core/EventHandlers.cs
trunk/src/GnomeSubtitles/Core/Search.cs
trunk/src/GnomeSubtitles/Core/SpellLanguages.cs
trunk/src/GnomeSubtitles/Core/Util.cs
trunk/src/GnomeSubtitles/Dialog/Dialogs.cs
trunk/src/GnomeSubtitles/Dialog/FileOpenDialog.cs
trunk/src/GnomeSubtitles/Dialog/FilePropertiesDialog.cs
trunk/src/GnomeSubtitles/Dialog/FileSaveAsDialog.cs
trunk/src/GnomeSubtitles/Dialog/HeadersDialog.cs
trunk/src/GnomeSubtitles/Dialog/SaveConfirmationDialog.cs
trunk/src/GnomeSubtitles/Dialog/SetLanguageDialog.cs
trunk/src/GnomeSubtitles/Dialog/SubtitleFileOpenErrorDialog.cs
trunk/src/GnomeSubtitles/Dialog/TimingsAdjustDialog.cs
trunk/src/GnomeSubtitles/Dialog/TimingsShiftDialog.cs
trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEdit.cs
trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditSpinButtons.cs
trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditText.cs
trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditTextView.cs
trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditTranslation.cs
trunk/src/GnomeSubtitles/Ui/MainUi.cs
trunk/src/GnomeSubtitles/Ui/Menus.cs
trunk/src/GnomeSubtitles/Ui/Status.cs
trunk/src/GnomeSubtitles/Ui/VideoPreview/Video.cs
trunk/src/GnomeSubtitles/Ui/VideoPreview/VideoPosition.cs
trunk/src/GnomeSubtitles/Ui/VideoPreview/VideoSubtitle.cs
trunk/src/GnomeSubtitles/Ui/View/SubtitleSelection.cs
trunk/src/GnomeSubtitles/Ui/View/SubtitleView.cs
trunk/src/GnomeSubtitles/Ui/View/Subtitles.cs
Modified: trunk/gnome-subtitles.mdp
==============================================================================
--- trunk/gnome-subtitles.mdp (original)
+++ trunk/gnome-subtitles.mdp Sat Sep 27 17:10:57 2008
@@ -143,7 +143,7 @@
<ProjectReference type="Gac" localcopy="True" refto="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<ProjectReference type="Gac" localcopy="True" refto="gconf-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<ProjectReference type="Assembly" localcopy="True" refto="build/GStreamerPlaybin.dll" />
- <ProjectReference type="Assembly" localcopy="True" refto="../../../../usr/lib/sublib/sublib.dll" />
+ <ProjectReference type="Assembly" localcopy="True" refto="../sublib/build/sublib.dll" />
</References>
<Deployment.LinuxDeployData generateScript="False" />
<DeployTargets />
Modified: trunk/src/GnomeSubtitles/Core/Base.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Core/Base.cs (original)
+++ trunk/src/GnomeSubtitles/Core/Base.cs Sat Sep 27 17:10:57 2008
@@ -23,7 +23,7 @@
using GnomeSubtitles.Ui;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
using System;
using System.IO;
using System.Text;
Modified: trunk/src/GnomeSubtitles/Core/Command/ChangeStyleCommand.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Core/Command/ChangeStyleCommand.cs (original)
+++ trunk/src/GnomeSubtitles/Core/Command/ChangeStyleCommand.cs Sat Sep 27 17:10:57 2008
@@ -20,7 +20,7 @@
using GnomeSubtitles.Ui.View;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
namespace GnomeSubtitles.Core.Command {
Modified: trunk/src/GnomeSubtitles/Core/Command/ChangeTimingCommand.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Core/Command/ChangeTimingCommand.cs (original)
+++ trunk/src/GnomeSubtitles/Core/Command/ChangeTimingCommand.cs Sat Sep 27 17:10:57 2008
@@ -18,7 +18,7 @@
*/
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
using System;
namespace GnomeSubtitles.Core.Command {
Modified: trunk/src/GnomeSubtitles/Core/Command/DeleteSubtitlesCommand.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Core/Command/DeleteSubtitlesCommand.cs (original)
+++ trunk/src/GnomeSubtitles/Core/Command/DeleteSubtitlesCommand.cs Sat Sep 27 17:10:57 2008
@@ -20,7 +20,7 @@
using GnomeSubtitles.Ui.View;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
namespace GnomeSubtitles.Core.Command {
Modified: trunk/src/GnomeSubtitles/Core/Command/InsertSubtitleCommand.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Core/Command/InsertSubtitleCommand.cs (original)
+++ trunk/src/GnomeSubtitles/Core/Command/InsertSubtitleCommand.cs Sat Sep 27 17:10:57 2008
@@ -19,7 +19,7 @@
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
namespace GnomeSubtitles.Core.Command {
Modified: trunk/src/GnomeSubtitles/Core/Command/ReplaceAllCommand.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Core/Command/ReplaceAllCommand.cs (original)
+++ trunk/src/GnomeSubtitles/Core/Command/ReplaceAllCommand.cs Sat Sep 27 17:10:57 2008
@@ -20,7 +20,7 @@
using GnomeSubtitles.Ui.View;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
using System;
using System.Text.RegularExpressions;
Modified: trunk/src/GnomeSubtitles/Core/Command/ShiftTimingsCommand.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Core/Command/ShiftTimingsCommand.cs (original)
+++ trunk/src/GnomeSubtitles/Core/Command/ShiftTimingsCommand.cs Sat Sep 27 17:10:57 2008
@@ -20,7 +20,7 @@
using GnomeSubtitles.Ui.View;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
using System;
namespace GnomeSubtitles.Core.Command {
Modified: trunk/src/GnomeSubtitles/Core/Document.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Core/Document.cs (original)
+++ trunk/src/GnomeSubtitles/Core/Document.cs Sat Sep 27 17:10:57 2008
@@ -19,7 +19,8 @@
using GnomeSubtitles.Core.Command;
using Mono.Unix;
-using SubLib;
+using SubLib.Core;
+using SubLib.Core.Domain;
using System.IO;
using System.Text;
@@ -112,7 +113,7 @@
factory.Verbose = true;
factory.Encoding = encoding;
- SubLib.Subtitles openedTranslation = factory.Open(path);
+ SubLib.Core.Domain.Subtitles openedTranslation = factory.Open(path);
FileProperties newTranslationFile = factory.FileProperties;
AddExtraSubtitles(openedTranslation);
@@ -167,7 +168,7 @@
factory.Verbose = true;
factory.Encoding = encoding;
- SubLib.Subtitles openedSubtitles = null;
+ SubLib.Core.Domain.Subtitles openedSubtitles = null;
try {
openedSubtitles = factory.Open(path);
}
@@ -215,7 +216,7 @@
ClearTranslationModified();
}
- private void AddExtraSubtitles (SubLib.Subtitles translation) {
+ private void AddExtraSubtitles (SubLib.Core.Domain.Subtitles translation) {
int extraCount = translation.Collection.Count - subtitles.Collection.Count;
if (extraCount > 0)
subtitles.AddExtra(extraCount);
Modified: trunk/src/GnomeSubtitles/Core/EventHandlers.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Core/EventHandlers.cs (original)
+++ trunk/src/GnomeSubtitles/Core/EventHandlers.cs Sat Sep 27 17:10:57 2008
@@ -23,7 +23,7 @@
using Gnome;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
using System;
namespace GnomeSubtitles.Core {
Modified: trunk/src/GnomeSubtitles/Core/Search.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Core/Search.cs (original)
+++ trunk/src/GnomeSubtitles/Core/Search.cs Sat Sep 27 17:10:57 2008
@@ -20,7 +20,7 @@
using GnomeSubtitles.Core.Command;
using GnomeSubtitles.Dialog;
using Gtk;
-using SubLib;
+using SubLib.Core.Domain;
using System;
using System.Text.RegularExpressions;
Modified: trunk/src/GnomeSubtitles/Core/SpellLanguages.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Core/SpellLanguages.cs (original)
+++ trunk/src/GnomeSubtitles/Core/SpellLanguages.cs Sat Sep 27 17:10:57 2008
@@ -21,7 +21,7 @@
using System;
using System.Collections;
using System.Runtime.InteropServices;
-using SubLib;
+using SubLib.Core.Domain;
namespace GnomeSubtitles.Core {
Modified: trunk/src/GnomeSubtitles/Core/Util.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Core/Util.cs (original)
+++ trunk/src/GnomeSubtitles/Core/Util.cs Sat Sep 27 17:10:57 2008
@@ -20,7 +20,7 @@
using Gtk;
using System;
using System.Globalization;
-using SubLib;
+using SubLib.Core.Domain;
namespace GnomeSubtitles.Core {
Modified: trunk/src/GnomeSubtitles/Dialog/Dialogs.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Dialog/Dialogs.cs (original)
+++ trunk/src/GnomeSubtitles/Dialog/Dialogs.cs Sat Sep 27 17:10:57 2008
@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-using SubLib;
+using SubLib.Core.Domain;
namespace GnomeSubtitles.Dialog {
Modified: trunk/src/GnomeSubtitles/Dialog/FileOpenDialog.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Dialog/FileOpenDialog.cs (original)
+++ trunk/src/GnomeSubtitles/Dialog/FileOpenDialog.cs Sat Sep 27 17:10:57 2008
@@ -22,7 +22,7 @@
using Glade;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
using System;
using System.Collections;
using System.IO;
Modified: trunk/src/GnomeSubtitles/Dialog/FilePropertiesDialog.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Dialog/FilePropertiesDialog.cs (original)
+++ trunk/src/GnomeSubtitles/Dialog/FilePropertiesDialog.cs Sat Sep 27 17:10:57 2008
@@ -21,7 +21,7 @@
using Glade;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
using System;
using System.Text;
Modified: trunk/src/GnomeSubtitles/Dialog/FileSaveAsDialog.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Dialog/FileSaveAsDialog.cs (original)
+++ trunk/src/GnomeSubtitles/Dialog/FileSaveAsDialog.cs Sat Sep 27 17:10:57 2008
@@ -21,7 +21,7 @@
using GnomeSubtitles.Core;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
using System;
using System.IO;
using System.Text;
Modified: trunk/src/GnomeSubtitles/Dialog/HeadersDialog.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Dialog/HeadersDialog.cs (original)
+++ trunk/src/GnomeSubtitles/Dialog/HeadersDialog.cs Sat Sep 27 17:10:57 2008
@@ -21,7 +21,7 @@
using System;
using Glade;
using Gtk;
-using SubLib;
+using SubLib.Core.Domain;
namespace GnomeSubtitles.Dialog {
Modified: trunk/src/GnomeSubtitles/Dialog/SaveConfirmationDialog.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Dialog/SaveConfirmationDialog.cs (original)
+++ trunk/src/GnomeSubtitles/Dialog/SaveConfirmationDialog.cs Sat Sep 27 17:10:57 2008
@@ -20,7 +20,7 @@
using GnomeSubtitles.Core;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
using System;
namespace GnomeSubtitles.Dialog {
Modified: trunk/src/GnomeSubtitles/Dialog/SetLanguageDialog.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Dialog/SetLanguageDialog.cs (original)
+++ trunk/src/GnomeSubtitles/Dialog/SetLanguageDialog.cs Sat Sep 27 17:10:57 2008
@@ -21,7 +21,7 @@
using Glade;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
using System;
namespace GnomeSubtitles.Dialog {
Modified: trunk/src/GnomeSubtitles/Dialog/SubtitleFileOpenErrorDialog.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Dialog/SubtitleFileOpenErrorDialog.cs (original)
+++ trunk/src/GnomeSubtitles/Dialog/SubtitleFileOpenErrorDialog.cs Sat Sep 27 17:10:57 2008
@@ -18,7 +18,7 @@
*/
using Mono.Unix;
-using SubLib;
+using SubLib.Exceptions;
using System;
using System.IO;
using System.Security;
Modified: trunk/src/GnomeSubtitles/Dialog/TimingsAdjustDialog.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Dialog/TimingsAdjustDialog.cs (original)
+++ trunk/src/GnomeSubtitles/Dialog/TimingsAdjustDialog.cs Sat Sep 27 17:10:57 2008
@@ -23,7 +23,7 @@
using Glade;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
using System;
namespace GnomeSubtitles.Dialog {
Modified: trunk/src/GnomeSubtitles/Dialog/TimingsShiftDialog.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Dialog/TimingsShiftDialog.cs (original)
+++ trunk/src/GnomeSubtitles/Dialog/TimingsShiftDialog.cs Sat Sep 27 17:10:57 2008
@@ -23,7 +23,7 @@
using Glade;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
using System;
namespace GnomeSubtitles.Dialog {
Modified: trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEdit.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEdit.cs (original)
+++ trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEdit.cs Sat Sep 27 17:10:57 2008
@@ -21,7 +21,7 @@
using Gtk;
using System;
using System.Collections;
-using SubLib;
+using SubLib.Core.Domain;
namespace GnomeSubtitles.Ui.Edit {
Modified: trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditSpinButtons.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditSpinButtons.cs (original)
+++ trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditSpinButtons.cs Sat Sep 27 17:10:57 2008
@@ -20,7 +20,7 @@
using GnomeSubtitles.Core;
using GnomeSubtitles.Core.Command;
using Gtk;
-using SubLib;
+using SubLib.Core.Domain;
using System;
namespace GnomeSubtitles.Ui.Edit {
Modified: trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditText.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditText.cs (original)
+++ trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditText.cs Sat Sep 27 17:10:57 2008
@@ -20,7 +20,7 @@
using GnomeSubtitles.Core;
using GnomeSubtitles.Core.Command;
using Gtk;
-using SubLib;
+using SubLib.Core.Domain;
namespace GnomeSubtitles.Ui.Edit {
Modified: trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditTextView.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditTextView.cs (original)
+++ trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditTextView.cs Sat Sep 27 17:10:57 2008
@@ -19,7 +19,7 @@
using GnomeSubtitles.Core;
using Gtk;
-using SubLib;
+using SubLib.Core.Domain;
using System;
using System.Collections;
using System.Runtime.InteropServices;
@@ -263,7 +263,7 @@
textView.Buffer.RemoveTag(tag, start, end);
}
- private void LoadTags (SubLib.Style style) {
+ private void LoadTags (SubLib.Core.Domain.Style style) {
subtitleTags.Clear();
if (style.Bold)
subtitleTags.Add(boldTag);
Modified: trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditTranslation.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditTranslation.cs (original)
+++ trunk/src/GnomeSubtitles/Ui/Edit/SubtitleEditTranslation.cs Sat Sep 27 17:10:57 2008
@@ -20,7 +20,7 @@
using GnomeSubtitles.Core;
using GnomeSubtitles.Core.Command;
using Gtk;
-using SubLib;
+using SubLib.Core.Domain;
namespace GnomeSubtitles.Ui.Edit {
Modified: trunk/src/GnomeSubtitles/Ui/MainUi.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Ui/MainUi.cs (original)
+++ trunk/src/GnomeSubtitles/Ui/MainUi.cs Sat Sep 27 17:10:57 2008
@@ -25,7 +25,8 @@
using GnomeSubtitles.Ui.View;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Exceptions;
+using SubLib.Core.Domain;
using System;
using System.IO;
using System.Text;
Modified: trunk/src/GnomeSubtitles/Ui/Menus.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Ui/Menus.cs (original)
+++ trunk/src/GnomeSubtitles/Ui/Menus.cs Sat Sep 27 17:10:57 2008
@@ -21,7 +21,7 @@
using GnomeSubtitles.Core.Command;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
using System;
using System.Globalization;
Modified: trunk/src/GnomeSubtitles/Ui/Status.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Ui/Status.cs (original)
+++ trunk/src/GnomeSubtitles/Ui/Status.cs Sat Sep 27 17:10:57 2008
@@ -20,7 +20,7 @@
using GnomeSubtitles.Core;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core.Domain;
namespace GnomeSubtitles.Ui {
Modified: trunk/src/GnomeSubtitles/Ui/VideoPreview/Video.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Ui/VideoPreview/Video.cs (original)
+++ trunk/src/GnomeSubtitles/Ui/VideoPreview/Video.cs Sat Sep 27 17:10:57 2008
@@ -20,7 +20,7 @@
using GnomeSubtitles.Core;
using GnomeSubtitles.Dialog;
using Gtk;
-using SubLib;
+using SubLib.Core.Domain;
using System;
using System.Text.RegularExpressions;
Modified: trunk/src/GnomeSubtitles/Ui/VideoPreview/VideoPosition.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Ui/VideoPreview/VideoPosition.cs (original)
+++ trunk/src/GnomeSubtitles/Ui/VideoPreview/VideoPosition.cs Sat Sep 27 17:10:57 2008
@@ -20,7 +20,8 @@
using GnomeSubtitles.Core;
using Gtk;
using Mono.Unix;
-using SubLib;
+using SubLib.Core;
+using SubLib.Core.Domain;
using System;
namespace GnomeSubtitles.Ui.VideoPreview {
@@ -69,7 +70,7 @@
}
public int CurrentFrames {
- get { return Convert.ToInt32(SubLib.Synchronization.TimeToFrames(position, player.FrameRate)); }
+ get { return Convert.ToInt32(Synchronization.TimeToFrames(position, player.FrameRate)); }
}
/* Public methods */
@@ -167,7 +168,7 @@
if (Base.TimingMode == TimingMode.Times)
positionValueLabel.Text = Util.TimeSpanToText(newPosition);
else {
- double frames = (newPosition == TimeSpan.Zero ? 0 : SubLib.Synchronization.TimeToFrames(newPosition, player.FrameRate));
+ double frames = (newPosition == TimeSpan.Zero ? 0 : Synchronization.TimeToFrames(newPosition, player.FrameRate));
positionValueLabel.Text = Convert.ToInt32(frames).ToString();
}
}
@@ -186,7 +187,7 @@
if (timingMode == TimingMode.Times)
lengthValueLabel.Text = Util.TimeSpanToText(length);
else {
- double frames = (length == TimeSpan.Zero ? 0 : SubLib.Synchronization.TimeToFrames(length, player.FrameRate));
+ double frames = (length == TimeSpan.Zero ? 0 : Synchronization.TimeToFrames(length, player.FrameRate));
lengthValueLabel.Text = Convert.ToInt32(frames).ToString();
}
}
Modified: trunk/src/GnomeSubtitles/Ui/VideoPreview/VideoSubtitle.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Ui/VideoPreview/VideoSubtitle.cs (original)
+++ trunk/src/GnomeSubtitles/Ui/VideoPreview/VideoSubtitle.cs Sat Sep 27 17:10:57 2008
@@ -19,7 +19,7 @@
using GnomeSubtitles.Core;
using Gtk;
-using SubLib;
+using SubLib.Core.Domain;
using System;
namespace GnomeSubtitles.Ui.VideoPreview {
Modified: trunk/src/GnomeSubtitles/Ui/View/SubtitleSelection.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Ui/View/SubtitleSelection.cs (original)
+++ trunk/src/GnomeSubtitles/Ui/View/SubtitleSelection.cs Sat Sep 27 17:10:57 2008
@@ -20,7 +20,7 @@
using GnomeSubtitles.Core;
using Gtk;
using System;
-using SubLib;
+using SubLib.Core.Domain;
namespace GnomeSubtitles.Ui.View {
Modified: trunk/src/GnomeSubtitles/Ui/View/SubtitleView.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Ui/View/SubtitleView.cs (original)
+++ trunk/src/GnomeSubtitles/Ui/View/SubtitleView.cs Sat Sep 27 17:10:57 2008
@@ -22,7 +22,7 @@
using Gtk;
using Mono.Unix;
using System;
-using SubLib;
+using SubLib.Core.Domain;
namespace GnomeSubtitles.Ui.View {
Modified: trunk/src/GnomeSubtitles/Ui/View/Subtitles.cs
==============================================================================
--- trunk/src/GnomeSubtitles/Ui/View/Subtitles.cs (original)
+++ trunk/src/GnomeSubtitles/Ui/View/Subtitles.cs Sat Sep 27 17:10:57 2008
@@ -19,16 +19,16 @@
using GnomeSubtitles.Core;
using Gtk;
+using SubLib.Core.Domain;
using System;
-using SubLib;
namespace GnomeSubtitles.Ui.View {
-public class Subtitles : SubLib.Subtitles {
+public class Subtitles : SubLib.Core.Domain.Subtitles {
private ListStore model = new ListStore(typeof(Subtitle));
- public Subtitles (SubLib.Subtitles subtitles)
+ public Subtitles (SubLib.Core.Domain.Subtitles subtitles)
: base(subtitles.Collection, subtitles.Properties) {
LoadModelFromCollection();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]