Skip to content
Snippets Groups Projects
Commit a6eea986 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Tooltips

parent c3a19abb
Branches
No related tags found
No related merge requests found
......@@ -19,6 +19,7 @@
#include <sliders.h>
#include <dbus.h>
#include <actions.h>
#include <string.h>
gdouble value[2];
......@@ -160,6 +161,11 @@ create_slider(const gchar * device)
}
ret = gtk_hbox_new ( FALSE /*homogeneous*/, 5 /*spacing*/);
if( strcmp( device , "speaker") == 0 )
gtk_widget_set_tooltip_text( GTK_WIDGET( ret ), _("Speakers volume"));
else
gtk_widget_set_tooltip_text( GTK_WIDGET( ret ), _("Mic volume"));
button[dev] = gtk_toggle_button_new();
gtk_box_pack_start (GTK_BOX (ret), button[dev], FALSE /*expand*/, TRUE /*fill*/, 0 /*padding*/);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment