diff options
author | jstebbins <[email protected]> | 2009-07-01 16:42:01 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-07-01 16:42:01 +0000 |
commit | 3a895bbe29848224b45de3d71b3731495cf702a6 (patch) | |
tree | 749a04971a0d54f06477439c2a2cec1a5001fc29 /gtk/src/hb-backend.c | |
parent | a6d90a25504ab669fb9d32301841e699e6f6c717 (diff) |
LinGui: modify pause/resume button appearance
when encoding show "Pause" with pause icon
when paused, show "Resume" with play icon
also improve how I'm handling play/stop toolbar button and menu options
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2654 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r-- | gtk/src/hb-backend.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index eca539e56..c37006fa9 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -4491,11 +4491,13 @@ ghb_pause_queue() if( s.state == HB_STATE_PAUSED ) { - hb_resume( h_queue ); + hb_status.queue.state &= ~GHB_STATE_PAUSED; + hb_resume( h_queue ); } else { - hb_pause( h_queue ); + hb_status.queue.state |= GHB_STATE_PAUSED; + hb_pause( h_queue ); } } |