# HG changeset patch # User Sascha Hlusiak # Date 1188595290 -7200 # Node ID a9af4f1aede9fc432e551e0e959012dc57fc9c1b # Parent ec4e8ec829b14698436aa597c3aea62006aeed5c hotkey plugin: stripped unneeded #ifdefs from standalone version diff -r ec4e8ec829b1 -r a9af4f1aede9 src/hotkey/plugin.c --- a/src/hotkey/plugin.c Fri Aug 31 22:48:53 2007 +0200 +++ b/src/hotkey/plugin.c Fri Aug 31 23:21:30 2007 +0200 @@ -49,20 +49,7 @@ #include #include -#ifdef ENABLE_NLS - #ifdef HAVE_AUDACIOUS_I18N_H - #include - #else - #ifdef HAVE_DCGETTEXT - #include - #define _(String) dgettext(PACKAGE, String) - #else - #define _(String) (String) - #endif - #endif -#else - #define _(String) (String) -#endif +#include /* for xmms_show_message () */ #include @@ -751,10 +738,6 @@ if (!xdisplay) x_display_init(); -#ifdef ENABLE_NLS - bind_textdomain_codeset(PACKAGE, "UTF-8"); -#endif - load_config ( ); ungrab_keys(); @@ -919,26 +902,18 @@ { static GtkWidget *dialog; -#ifdef ENABLE_NLS - bind_textdomain_codeset(PACKAGE, "UTF-8"); -#endif - dialog = xmms_show_message (_("About Global Hotkey Plugin"), - _("Global Hotkey Plugin version " VERSION "\n\n" + _("Global Hotkey Plugin\n" + "Control the player with global key combinations or multimedia keys.\n\n" "Copyright (C) 2007 Sascha Hlusiak \n\n" - - "Parts of the plugin source are from itouch-ctrl plugin.\n" - "Authors of itouch-ctrl are listed below:\n" - "Copyright (C) 2006 - 2007 Vladimir Paskov \n\n" - - "Parts of the plugin source are from xmms-itouch plugin.\n" - "Authors of xmms-itouch are listed below:\n" + "Contributers include:\n" + "Copyright (C) 2006 - 2007 Vladimir Paskov \n" "Copyright (C) 2000-2002 Ville Syrjälä \n" " Bryn Davies \n" " Jonathan A. Davis \n" " Jeremy Tan \n\n" ), - _("Ok"), TRUE, NULL, NULL); + _("OK"), TRUE, NULL, NULL); gtk_signal_connect(GTK_OBJECT(dialog), "destroy", GTK_SIGNAL_FUNC(gtk_widget_destroyed), &dialog); @@ -1036,4 +1011,3 @@ grabbed = 0; } -