Author: Yu Chen <jco...@gmail.com>
Date:   Thu Nov 24 10:53:08 2011 +0800

Switch button position for play/pause and loop following common sequence in 
most media players

---

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

diff --git a/synfig-studio/src/gui/preview.cpp 
b/synfig-studio/src/gui/preview.cpp
index 6492ea5..458f6f4 100644
--- a/synfig-studio/src/gui/preview.cpp
+++ b/synfig-studio/src/gui/preview.cpp
@@ -352,11 +352,6 @@ playing(false)
        //2nd row
        hbox = manage(new Gtk::HBox);
 
-       button = &b_loop;
-       IMAGIFY_BUTTON(button,"synfig-animate_loop",_("Toggle Looping"));
-       hbox->pack_start(b_loop,Gtk::PACK_SHRINK,0);
-       //attach(b_loop,0,1,2,3,Gtk::EXPAND|Gtk::FILL,Gtk::SHRINK);
-
        //play pause button
        Gtk::Image *icon1 = manage(new 
Gtk::Image(Gtk::StockID("synfig-animate_play"), Gtk::ICON_SIZE_BUTTON));
        play_pausebutton = manage(new class Gtk::Button());
@@ -369,6 +364,11 @@ playing(false)
        
play_pausebutton->signal_clicked().connect(sigc::mem_fun(*this,&Widget_Preview::on_play_pause_pressed));
        hbox->pack_start(*play_pausebutton, Gtk::PACK_SHRINK, 0);
 
+       button = &b_loop;
+       IMAGIFY_BUTTON(button,"synfig-animate_loop",_("Toggle Looping"));
+       hbox->pack_start(b_loop,Gtk::PACK_SHRINK,0);
+       //attach(b_loop,0,1,2,3,Gtk::EXPAND|Gtk::FILL,Gtk::SHRINK);
+
        //attack the stop render and erase all buttons to same line...
        
        Gtk::VSeparator *vsep = manage(new Gtk::VSeparator);


------------------------------------------------------------------------------
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