Commit a6eea986 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Tooltips

parent c3a19abb
......@@ -19,6 +19,7 @@
#include <sliders.h>
#include <dbus.h>
#include <actions.h>
#include <string.h>
gdouble value[2];
......@@ -161,6 +162,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*/);
toggledConnId[dev] = g_signal_connect (G_OBJECT (button[dev]), "toggled",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment