From 1abb212131e8c6044ce5a97e289260818884b015 Mon Sep 17 00:00:00 2001 From: Duilio Protti Date: Fri, 12 Feb 2016 20:56:45 -0300 Subject: [PATCH] Restored 'About' dialog --- src/main.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 3535e7c..7909d55 100644 --- a/src/main.c +++ b/src/main.c @@ -23,11 +23,16 @@ #include #include #include +#include #include "config.h" #include "infconfig.h" #include "renderer.h" -#include "gettext.h" + +static const char infinity_about[] = + N_("Infinity Visualization Plugin for Audacious\n\n" + "Version " PACKAGE_VERSION "\n\n" + "https://github.com/dprotti/infinity-plugin"); static bool_t plugin_init (void); static void plugin_close (void); @@ -41,9 +46,9 @@ AUD_VIS_PLUGIN ( .init = plugin_init, .cleanup = plugin_close, .take_message = NULL, - .about = NULL, // TODO + .about = NULL, + .about_text = infinity_about, .configure = config_plugin_config_window, - //.settings = NULL, // TODO //.playback_stop = NULL, /* reset internal state and clear display */