summaryrefslogtreecommitdiffstats
path: root/gtk/src/queuehandler.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-04-02 01:43:29 +0000
committerjstebbins <[email protected]>2009-04-02 01:43:29 +0000
commitbed742a01f8eeb29951b52ccba3dda0705607492 (patch)
tree1601fe08d4c4f0560d703604dd9438b2c3ff17a5 /gtk/src/queuehandler.c
parent414d6a56cc67f2fa56353ee3ce80adaa8cfeb45f (diff)
LinGui: add status icon that sits in the system tray
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2292 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/queuehandler.c')
-rw-r--r--gtk/src/queuehandler.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c
index 2039b5e6e..0231b1449 100644
--- a/gtk/src/queuehandler.c
+++ b/gtk/src/queuehandler.c
@@ -640,6 +640,12 @@ queue_add(signal_user_data_t *ud)
{
return FALSE;
}
+
+ GtkStatusIcon *si;
+
+ si = GTK_STATUS_ICON(GHB_OBJECT(ud->builder, "hb_status"));
+ gtk_status_icon_set_from_icon_name(si, "hb-status");
+
if (ud->queue == NULL)
ud->queue = ghb_array_value_new(32);
// Make a copy of current settings to be used for the new job