diff options
author | Ted Gould <ted@canonical.com> | 2008-12-03 19:26:50 -0800 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2008-12-03 19:26:50 -0800 |
commit | e1092dabd7b0642bdba407780fd78a494a920233 (patch) | |
tree | 65ceb1bfb5759e0f863abb4921cdc3d0f9fa7a36 /src/indicator-audio.c | |
parent | a387d91c169cb0add2cee70c66ae2c465bc341eb (diff) | |
download | libayatana-indicator-e1092dabd7b0642bdba407780fd78a494a920233.tar.gz libayatana-indicator-e1092dabd7b0642bdba407780fd78a494a920233.tar.bz2 libayatana-indicator-e1092dabd7b0642bdba407780fd78a494a920233.zip |
Removing everything except messaging.
Diffstat (limited to 'src/indicator-audio.c')
-rw-r--r-- | src/indicator-audio.c | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/indicator-audio.c b/src/indicator-audio.c deleted file mode 100644 index 5cf2ac3..0000000 --- a/src/indicator-audio.c +++ /dev/null @@ -1,45 +0,0 @@ - -#include <gtk/gtk.h> -#include "slidermenuitem.h" -#include "indicator-audio.h" - - -GtkWidget * -indicator_audio_menuitem (void) -{ - GtkWidget * mainmenu = gtk_menu_item_new(); - - GtkWidget * icon = gtk_image_new_from_icon_name("panel-light-audio-volume-low", - GTK_ICON_SIZE_MENU); - - gtk_container_add(GTK_CONTAINER(mainmenu), icon); - gtk_widget_show(icon); - - GtkWidget * menu = gtk_menu_new(); - - GtkWidget * item = gtk_menu_item_new_with_label("Mute All"); - gtk_menu_append(GTK_MENU(menu), item); - gtk_widget_show(item); - - item = gtk_menu_item_new_with_label("Sound Settings..."); - gtk_menu_append(GTK_MENU(menu), item); - gtk_widget_show(item); - - GtkWidget * sep = gtk_separator_menu_item_new(); - gtk_menu_append(GTK_MENU(menu), sep); - gtk_widget_show(sep); - - item = slider_menu_item_new("Speakers:", 0.0, 1.0, 0.02); - gtk_menu_append(GTK_MENU(menu), item); - gtk_widget_show(item); - - item = slider_menu_item_new("Headphones:", 0.0, 1.0, 0.02); - gtk_menu_append(GTK_MENU(menu), item); - gtk_widget_show(item); - - gtk_menu_item_set_submenu(GTK_MENU_ITEM(mainmenu), menu); - gtk_widget_show(menu); - - return mainmenu; -} - |