aboutsummaryrefslogtreecommitdiff
path: root/src/title-widget.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-07-08 17:47:28 +0100
committerConor Curran <conor.curran@canonical.com>2010-07-08 17:47:28 +0100
commit0f2a6b2736713951fb4b88848e79849a8f1dc72a (patch)
tree100e2d6235254bad950ca2262f3b72f815f1f152 /src/title-widget.c
parente4f900efd1e48814a70e4351cc3d878312daef37 (diff)
downloadayatana-indicator-sound-0f2a6b2736713951fb4b88848e79849a8f1dc72a.tar.gz
ayatana-indicator-sound-0f2a6b2736713951fb4b88848e79849a8f1dc72a.tar.bz2
ayatana-indicator-sound-0f2a6b2736713951fb4b88848e79849a8f1dc72a.zip
constants replaced and enums and title image now fetched from the mono theme
Diffstat (limited to 'src/title-widget.c')
-rw-r--r--src/title-widget.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/title-widget.c b/src/title-widget.c
index 9951754..1b57fe9 100644
--- a/src/title-widget.c
+++ b/src/title-widget.c
@@ -25,6 +25,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "title-widget.h"
#include "common-defs.h"
#include <gtk/gtk.h>
+#include <libindicator/indicator-image-helper.h>
static DbusmenuMenuitem* twin_item;
@@ -91,8 +92,8 @@ title_widget_init (TitleWidget *self)
priv->hbox = hbox;
g_signal_connect(G_OBJECT(twin_item), "property-changed",
G_CALLBACK(title_widget_property_update), self);
- // TODO - waiting theme icon name for correct usage
- priv->player_icon = gtk_image_new_from_file("/home/ronoc/branches/sound-menu-v2/finish-indicate/indicator-sound/data/sound_icon.png");
+
+ priv->player_icon = indicator_image_helper("sound_icon");
gtk_box_pack_start(GTK_BOX (priv->hbox), priv->player_icon, FALSE, FALSE, 0);
priv->name = gtk_label_new(dbusmenu_menuitem_property_get(twin_item,