summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-04-28 05:31:45 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-04-28 05:31:45 +0200
commit87413e9d3c8ead9aef14d979c9cd790cff971454 (patch)
tree384d005e5ce62169394e192c6f1eccda1761461b /src/fe-gtk
parentdbe6deab4512462d69c35afab1fa68e97257a44f (diff)
Add hints about the beep file
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/setup.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c
index 48930278..a3037b1d 100644
--- a/src/fe-gtk/setup.c
+++ b/src/fe-gtk/setup.c
@@ -428,7 +428,11 @@ static const setting alert_settings[] =
 #endif
 	{ST_3OGGLE, N_("Blink tray icon on:"), 0, 0, (void *)trayblinklist, 0},
 	{ST_3OGGLE, N_("Blink task bar on:"), 0, 0, (void *)taskbarlist, 0},
-	{ST_3OGGLE, N_("Make a beep sound on:"), 0, 0, (void *)beeplist, 0},
+#ifdef WIN32
+	{ST_3OGGLE, N_("Make a beep sound on:"), 0, N_("Play the \"Instant Message Notification\" system sound upon the selected events"), (void *)beeplist, 0},
+#else
+	{ST_3OGGLE, N_("Make a beep sound on:"), 0, N_("Play \"message-new-instant\" from the freedesktop.org sound theme upon the selected events"), (void *)beeplist, 0},
+#endif
 
 	{ST_TOGGLE,	N_("Omit alerts when marked as being away"), P_OFFINTNL(hex_away_omit_alerts), 0, 0, 0},
 	{ST_TOGGLE,	N_("Omit alerts while the window is focused"), P_OFFINTNL(hex_gui_focus_omitalerts), 0, 0, 0},
@@ -653,6 +657,10 @@ setup_create_3oggle (GtkWidget *tab, int row, const setting *set)
 
 	label = gtk_label_new (_(set->label));
 	gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
+	if (set->tooltip)
+	{
+		add_tip (label, _(set->tooltip));
+	}
 	gtk_table_attach (GTK_TABLE (tab), label, 2, 3, row, row + 1,
 							GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, LABEL_INDENT, 0);