[ease] [editor] Fixed thumbnails not redrawing.



commit a9f901f27dd6313b3da13f0814c1d3372dcd4617
Author: Nate Stedman <natesm gmail com>
Date:   Sat Sep 25 14:10:53 2010 -0400

    [editor] Fixed thumbnails not redrawing.
    
    Fixes bug 630132.

 ease-core/ease-slide.vala    |    2 ++
 ease/ease-editor-window.vala |   14 ++++++++++----
 2 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/ease-core/ease-slide.vala b/ease-core/ease-slide.vala
index d85ccdc..bf18fe5 100644
--- a/ease-core/ease-slide.vala
+++ b/ease-core/ease-slide.vala
@@ -391,6 +391,7 @@ public class Ease.Slide : GLib.Object, UndoSource
 		listen(e);
 		update_title(e);
 		if (emit_undo) undo(new ElementAddUndoAction(e));
+		changed(this);
 	}
 	
 	/**
@@ -430,6 +431,7 @@ public class Ease.Slide : GLib.Object, UndoSource
 				title_reset(this);
 			}
 		}
+		changed(this);
 	}
 	
 	/**
diff --git a/ease/ease-editor-window.vala b/ease/ease-editor-window.vala
index 6ec9f38..b31ce2f 100644
--- a/ease/ease-editor-window.vala
+++ b/ease/ease-editor-window.vala
@@ -420,8 +420,11 @@ internal class Ease.EditorWindow : Gtk.Window
 	{
 		undo.undo();
 		update_undo();
-		embed.slide_actor.relayout();
-		embed.reposition_group();
+		
+		// i don't this these are required, but if something breaks...
+		//embed.slide_actor.relayout();
+		//embed.reposition_group();
+		slide.changed(slide);
 	}
 	
 	[CCode (instance_pos = -1)]
@@ -429,8 +432,11 @@ internal class Ease.EditorWindow : Gtk.Window
 	{
 		undo.redo();
 		update_undo();
-		embed.slide_actor.relayout();
-		embed.reposition_group();
+		
+		// i don't this these are required, but if something breaks...
+		//embed.slide_actor.relayout();
+		//embed.reposition_group();
+		slide.changed(slide);
 	}
 	
 	[CCode (instance_pos = -1)]



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