summaryrefslogtreecommitdiff
path: root/src/trg-main-window.c
diff options
context:
space:
mode:
authorGravatar Alan F <ajf@eth0.org.uk>2014-06-14 16:04:15 +0100
committerGravatar Alan F <ajf@eth0.org.uk>2014-06-14 16:04:15 +0100
commitfccc540f35f94272909f082a5bc8fd6049b89bbc (patch)
treec86bebcff43720a99858e896a4ea3d5029bc804a /src/trg-main-window.c
parent51d92c610ac9fe73e9332ecbfb090dc6451b3e8d (diff)
even though unity hides the icon from the tray, you can whitelist it, so enable the system tray on unity again.
Diffstat (limited to 'src/trg-main-window.c')
-rw-r--r--src/trg-main-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c
index dbac9a4..d2e95bb 100644
--- a/src/trg-main-window.c
+++ b/src/trg-main-window.c
@@ -2539,7 +2539,7 @@ void trg_main_window_add_status_icon(TrgMainWindow * win)
{
TrgMainWindowPrivate *priv = win->priv;
#ifdef HAVE_LIBAPPINDICATOR
- if (is_unity() && (priv->appIndicator =
+ if (priv->appIndicator =
app_indicator_new(PACKAGE_NAME, PACKAGE_NAME,
APP_INDICATOR_CATEGORY_APPLICATION_STATUS)))
{
@@ -2549,7 +2549,7 @@ void trg_main_window_add_status_icon(TrgMainWindow * win)
trg_status_icon_view_menu(win, NULL));
} else {
#else
- if (!is_unity()) {
+ if (1) {
#endif
priv->statusIcon =
gtk_status_icon_new_from_icon_name(PACKAGE_NAME);