Add option to bounce dock icon on OSX

This commit is contained in:
TingPing 2014-05-11 04:43:01 -04:00
parent fea528c39d
commit fea144dd19
2 changed files with 9 additions and 0 deletions

View File

@ -146,6 +146,9 @@ set_window_urgency (GtkWidget *win, gboolean set)
static void
flash_window (GtkWidget *win)
{
#ifdef HAVE_GTK_MAC
gtkosx_application_attention_request (osx_app, INFO_REQUEST);
#endif
set_window_urgency (win, TRUE);
}

View File

@ -400,7 +400,13 @@ static const setting alert_settings[] =
{ST_3OGGLE, N_("Show tray balloons on:"), 0, 0, (void *)balloonlist, 0},
#endif
{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},
#endif
#endif
#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