Add hints about the beep file

This commit is contained in:
Berke Viktor 2013-04-28 05:31:45 +02:00
parent dbe6deab45
commit 87413e9d3c
1 changed files with 9 additions and 1 deletions

View File

@ -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);