mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-26 03:02:17 -05:00
Add option to bounce dock icon on OSX
This commit is contained in:
parent
fea528c39d
commit
fea144dd19
@ -146,6 +146,9 @@ set_window_urgency (GtkWidget *win, gboolean set)
|
|||||||
static void
|
static void
|
||||||
flash_window (GtkWidget *win)
|
flash_window (GtkWidget *win)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_GTK_MAC
|
||||||
|
gtkosx_application_attention_request (osx_app, INFO_REQUEST);
|
||||||
|
#endif
|
||||||
set_window_urgency (win, TRUE);
|
set_window_urgency (win, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -400,7 +400,13 @@ static const setting alert_settings[] =
|
|||||||
{ST_3OGGLE, N_("Show tray balloons on:"), 0, 0, (void *)balloonlist, 0},
|
{ST_3OGGLE, N_("Show tray balloons on:"), 0, 0, (void *)balloonlist, 0},
|
||||||
#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},
|
||||||
|
#ifdef HAVE_GTK_MAC
|
||||||
|
{ST_3OGGLE, N_("Bounce dock icon on:"), 0, 0, (void *)taskbarlist, 0},
|
||||||
|
#else
|
||||||
|
#ifndef __APPLE__
|
||||||
{ST_3OGGLE, N_("Blink task bar on:"), 0, 0, (void *)taskbarlist, 0},
|
{ST_3OGGLE, N_("Blink task bar on:"), 0, 0, (void *)taskbarlist, 0},
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
#ifdef WIN32
|
#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},
|
{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
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user