Add hints about the beep file
This commit is contained in:
parent
dbe6deab45
commit
87413e9d3c
|
@ -428,7 +428,11 @@ static const setting alert_settings[] =
|
||||||
#endif
|
#endif
|
||||||
{ST_3OGGLE, N_("Blink tray icon on:"), 0, 0, (void *)trayblinklist, 0},
|
{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_("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 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},
|
{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));
|
label = gtk_label_new (_(set->label));
|
||||||
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
|
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_table_attach (GTK_TABLE (tab), label, 2, 3, row, row + 1,
|
||||||
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, LABEL_INDENT, 0);
|
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, LABEL_INDENT, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue