aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2008-11-12 17:06:56 -0600
committerTed Gould <ted@canonical.com>2008-11-12 17:06:56 -0600
commitb4b7ab38fd5990567da2713638e8edcd055e3eec (patch)
tree5b102ac3cce3cd90aef1204b1457f38ae11fc749 /src
parentb61274ad2c3624b8133d201f9b224c980eb7d79c (diff)
downloadlibayatana-indicator-b4b7ab38fd5990567da2713638e8edcd055e3eec.tar.gz
libayatana-indicator-b4b7ab38fd5990567da2713638e8edcd055e3eec.tar.bz2
libayatana-indicator-b4b7ab38fd5990567da2713638e8edcd055e3eec.zip
Okay, audio is an icon now.
Diffstat (limited to 'src')
-rw-r--r--src/indicator-audio.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/indicator-audio.c b/src/indicator-audio.c
index fb73380..3d5c331 100644
--- a/src/indicator-audio.c
+++ b/src/indicator-audio.c
@@ -5,7 +5,14 @@
GtkWidget *
indicator_audio_menuitem (void)
{
+ GtkWidget * mainmenu = gtk_menu_item_new();
- return NULL;
+ GtkWidget * icon = gtk_image_new_from_icon_name("audio-volume-muted",
+ GTK_ICON_SIZE_MENU);
+
+ gtk_container_add(GTK_CONTAINER(mainmenu), icon);
+ gtk_widget_show(icon);
+
+ return mainmenu;
}