Skip to content

Commit

Permalink
statusicon: Bring the plugin back.
Browse files Browse the repository at this point in the history
Disable it by default though since GtkStatusIcon is deprecated now.
  • Loading branch information
radioactiveman committed Dec 20, 2014
1 parent 36bbe13 commit eb59a9a
Show file tree
Hide file tree
Showing 3 changed files with 420 additions and 0 deletions.
12 changes: 12 additions & 0 deletions configure.ac
Expand Up @@ -275,6 +275,17 @@ if test "x$enable_songchange" != "xno"; then
)
fi

dnl Status Icon
dnl ===========

AC_ARG_ENABLE(statusicon,
[AS_HELP_STRING([--enable-statusicon], [enable X11 Status Icon plugin (default=disabled)])],
[have_statusicon=$enableval], [have_statusicon="no"])

if test "x$have_statusicon" != "xno"; then
GENERAL_PLUGINS="$GENERAL_PLUGINS statusicon"
fi

dnl *** Audacious OSD plugin (pangocairo-based)

AC_ARG_ENABLE(aosd,
Expand Down Expand Up @@ -1174,6 +1185,7 @@ echo " MPRIS 2 Server: $have_mpris2"
echo " Playlist Manager: $USE_GTK"
echo " Search Tool: $USE_GTK"
echo " Song Change: $have_songchange"
echo " Status Icon: $have_statusicon"
echo " Audacious OSD: $have_aosd"
echo " -> X Composite support: $have_aosd_xcomp"
echo " libnotify OSD: $have_notify"
Expand Down
13 changes: 13 additions & 0 deletions src/statusicon/Makefile
@@ -0,0 +1,13 @@
PLUGIN = statusicon${PLUGIN_SUFFIX}

SRCS = statusicon.cc

include ../../buildsys.mk
include ../../extra.mk

plugindir := ${plugindir}/${GENERAL_PLUGIN_DIR}

LD = ${CXX}
CFLAGS += ${PLUGIN_CFLAGS}
CPPFLAGS += ${PLUGIN_CPPFLAGS} ${GTK_CFLAGS} -I../..
LIBS += ${GTK_LIBS} -laudgui

0 comments on commit eb59a9a

Please sign in to comment.