Author: Yu Chen <jco...@gmail.com>
Date:   Tue Nov 22 13:46:30 2011 +0800

 Hide the soundtrack widget in preview window since we don't support sound 
currently

---

 synfig-studio/src/gui/preview.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/synfig-studio/src/gui/preview.cpp 
b/synfig-studio/src/gui/preview.cpp
index a79cb01..3b3d7f6 100644
--- a/synfig-studio/src/gui/preview.cpp
+++ b/synfig-studio/src/gui/preview.cpp
@@ -298,7 +298,7 @@ void studio::Preview::frame_finish(const Preview_Target 
*targ)
        icon->show();
 
 Widget_Preview::Widget_Preview()
-:Gtk::Table(5,5,false),
+:Gtk::Table(5,4,false),
 adj_time_scrub(0,0,1000,1,10,0),
 scr_time_scrub(adj_time_scrub),
 b_loop(/*_("Loop")*/),
@@ -408,11 +408,11 @@ playing(false)
        hbox->pack_start(l_lasttime,Gtk::PACK_SHRINK,0);
        hbox->show_all();
        attach(*hbox,0,1,3,4,Gtk::EXPAND|Gtk::FILL,Gtk::SHRINK);
-       //attach(l_lasttime,0,1,3,4,Gtk::EXPAND|Gtk::FILL,Gtk::SHRINK);
+       attach(l_lasttime,0,1,3,4,Gtk::EXPAND|Gtk::FILL,Gtk::SHRINK);
 
        //5th row
-       disp_sound.set_size_request(-1,32);
-       attach(disp_sound,0,1,4,5,Gtk::EXPAND|Gtk::FILL,Gtk::SHRINK);
+       //disp_sound.set_size_request(-1,32);
+       //attach(disp_sound,0,1,4,5,Gtk::EXPAND|Gtk::FILL,Gtk::SHRINK);
 
        show_all();
 


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to