$NetBSD: patch-ac,v 1.1.1.1 2003/06/03 09:17:20 jmmv Exp $ --- src/SysTray.cpp.orig 2003-05-31 13:26:20.000000000 +0000 +++ src/SysTray.cpp 2003-05-31 13:28:42.000000000 +0000 @@ -37,6 +37,8 @@ #include #define _(String) gettext(String) +const char * GetAppTitle(); + CSysTray::CSysTray(wxWindow* _parent,int _desktopMode) { gdk_rgb_init(); @@ -71,11 +73,11 @@ if(use_legacy) { status_docklet=gtk_window_new(GTK_WINDOW_TOPLEVEL); - gtk_window_set_title(GTK_WINDOW(status_docklet),_("xMule for Linux")); + gtk_window_set_title(GTK_WINDOW(status_docklet),GetAppTitle()); gtk_window_set_wmclass(GTK_WINDOW(status_docklet),"xmule_StatusDocklet","xmule"); gtk_widget_set_usize(status_docklet,22,22); } else { - status_docklet=GTK_WIDGET(egg_tray_icon_new(_("xMule for Linux"))); + status_docklet=GTK_WIDGET(egg_tray_icon_new(GetAppTitle())); if(status_docklet==NULL) { printf("**** WARNING: Can't create status docklet. Systray will not be created.\n"); desktopMode=4;