[gnome-subtitles] Emit the subtitle count changed event on subtitle loading



commit 58fa450dd397bb65c8635a4402d64fa26156297b
Author: Pedro Castro <mail pedrocastro org>
Date:   Sun May 31 15:53:56 2009 +0100

    Emit the subtitle count changed event on subtitle loading
---
 src/GnomeSubtitles/Ui/View/SubtitleView.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/GnomeSubtitles/Ui/View/SubtitleView.cs b/src/GnomeSubtitles/Ui/View/SubtitleView.cs
index 9437a81..9d38043 100644
--- a/src/GnomeSubtitles/Ui/View/SubtitleView.cs
+++ b/src/GnomeSubtitles/Ui/View/SubtitleView.cs
@@ -203,6 +203,8 @@ public class SubtitleView {
     	
     	tree.Model.RowInserted += OnModelRowInserted;
     	tree.Model.RowDeleted += OnModelRowDeleted;
+
+		EmitSubtitleCountChangedEvent();
     }
 	
     private void CreateColumns() {



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