diff -r build-area/transmission-1.83/configure.ac transmission-orig-adapted/configure.ac 69a70,72 > # create the tray icon with AppIndicator > LIBAPPINDICATOR_MINIMUM=0.0.11 > AC_SUBST(LIBAPPINDICATOR_MINIMUM) 248a252 > use_libappindicator=no 284a289,306 > PKG_CHECK_MODULES([LIBAPPINDICATOR], > [appindicator-0.1 >= $LIBAPPINDICATOR_MINIMUM], > [have_libappindicator=yes], > [have_libappindicator=no]) > > AC_ARG_ENABLE([libappindicator], > AS_HELP_STRING([--enable-libappindicator],[enable AppIndicator support]),, > [enable_libappindicator=yes]) > use_libappindicator=no > if test "x$enable_libappindicator" = "xyes" ; then > if test "x$have_libappindicator" = "xyes"; then > use_libappindicator=yes > AC_SUBST(LIBAPPINDICATOR_LIBS) > AC_SUBST(LIBAPPINDICATOR_CFLAGS) > AC_DEFINE([HAVE_LIBAPPINDICATOR], 1) > fi > fi > 465,477c487,500 < Source code location: ${srcdir} < Compiler: ${CXX} < System or bundled libevent: ${libevent_source} < < Build Mac client: ${build_mac} < Build GTK+ client: ${build_gtk} < ... with canberra support: ${use_canberra} < ... with gio support: ${use_gio} < ... with dbus-glib support: ${use_dbus_glib} < ... with libgconf support: ${use_libgconf} < ... with libnotify support: ${use_libnotify} < Build Command-Line client: ${build_cli} < Build Daemon: ${build_daemon} --- > Source code location: ${srcdir} > Compiler: ${CXX} > System or bundled libevent: ${libevent_source} > > Build Mac client: ${build_mac} > Build GTK+ client: ${build_gtk} > ... with canberra support: ${use_canberra} > ... with gio support: ${use_gio} > ... with dbus-glib support: ${use_dbus_glib} > ... with libappindicator support: ${use_libappindicator} > ... with libgconf support: ${use_libgconf} > ... with libnotify support: ${use_libnotify} > Build Command-Line client: ${build_cli} > Build Daemon: ${build_daemon} diff -r build-area/transmission-1.83/gtk/Makefile.am transmission-orig-adapted/gtk/Makefile.am 22a23 > @LIBAPPINDICATOR_CFLAGS@ \ 111a113 > @LIBAPPINDICATOR_LIBS@ \ diff -r build-area/transmission-1.83/gtk/tr-icon.c transmission-orig-adapted/gtk/tr-icon.c 14a15,17 > #ifdef HAVE_LIBAPPINDICATOR > #include > #endif 33a37,42 > #ifdef HAVE_LIBAPPINDICATOR > void > tr_icon_refresh( gpointer vindicator UNUSED ) > { > } > #else 109a119,133 > #endif > > #ifdef HAVE_LIBAPPINDICATOR > gpointer > tr_icon_new( TrCore * core) > { > const char * icon_name = TRAY_ICON; > AppIndicator * indicator = app_indicator_new ( "transmission", > icon_name, > APP_INDICATOR_CATEGORY_SYSTEM_SERVICES ); > > GtkWidget * indicator_menu = action_get_widget( "/icon-popup" ); > > app_indicator_set_status ( indicator, APP_INDICATOR_STATUS_ACTIVE ); > app_indicator_set_menu ( indicator, GTK_MENU (indicator_menu) ); 110a135,138 > g_object_set_data( G_OBJECT( indicator ), "tr-core", core ); > return indicator; > } > #else 123a152,153 > > #endif