summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-07-01 16:42:01 +0000
committerjstebbins <[email protected]>2009-07-01 16:42:01 +0000
commit3a895bbe29848224b45de3d71b3731495cf702a6 (patch)
tree749a04971a0d54f06477439c2a2cec1a5001fc29 /gtk/src/hb-backend.c
parenta6d90a25504ab669fb9d32301841e699e6f6c717 (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.c6
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 );
}
}