aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-audio.c
blob: 3d5c331a03b40457c612c0a86d04c6f2a21abdaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#include <gtk/gtk.h>
#include "indicator-audio.h"

GtkWidget *
indicator_audio_menuitem (void)
{
	GtkWidget * mainmenu = gtk_menu_item_new();

	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;
}