Mercurial > audlegacy
comparison Plugins/Input/modplug/gui/main.cpp @ 864:9d393eabf984 trunk
[svn] now modplug uses xmms_show_message for its aboutbox
| author | giacomo |
|---|---|
| date | Fri, 24 Mar 2006 07:02:57 -0800 |
| parents | 37316876ef6e |
| children | 5ef13028e42d |
comparison
equal
deleted
inserted
replaced
| 863:25f42f39c44c | 864:9d393eabf984 |
|---|---|
| 7 # include <config.h> | 7 # include <config.h> |
| 8 #endif | 8 #endif |
| 9 | 9 |
| 10 #include <gtk/gtk.h> | 10 #include <gtk/gtk.h> |
| 11 #include <libintl.h> | 11 #include <libintl.h> |
| 12 #include "libaudacious/util.c" | |
| 12 | 13 |
| 13 #include "interface.h" | 14 #include "interface.h" |
| 14 #include "support.h" | 15 #include "support.h" |
| 15 #include "main.h" | 16 #include "main.h" |
| 16 | 17 |
| 36 GtkWidget *InfoWin = NULL; | 37 GtkWidget *InfoWin = NULL; |
| 37 | 38 |
| 38 void ShowAboutWindow() | 39 void ShowAboutWindow() |
| 39 { | 40 { |
| 40 if(!AboutWin) | 41 if(!AboutWin) |
| 41 AboutWin = create_About(); | 42 { |
| 43 gchar * about_text = g_strjoin( "" , _("Modplug Input Plugin for Audacious ver") , | |
| 44 VERSION , _("\nModplug sound engine written by Olivier Lapicque.\nXMMS interface for Modplug by Kenton Varda.\n(c)2000 Olivier Lapicque and Kenton Varda.\nUpdates and Maintainance by Konstanty Bialkowski.\nPorted to BMP by Theofilos Intzoglou.") , NULL ); | |
| 45 AboutWin = xmms_show_message( _("About Modplug") , about_text , _("Ok") , FALSE , NULL , NULL ); | |
| 46 gtk_signal_connect( GTK_OBJECT(AboutWin) , "destroy" , | |
| 47 GTK_SIGNAL_FUNC(gtk_widget_destroyed), &AboutWin); | |
| 48 g_free( about_text ); | |
| 49 } | |
| 42 gtk_widget_show(AboutWin); | 50 gtk_widget_show(AboutWin); |
| 43 } | 51 } |
| 44 | 52 |
| 45 void ShowConfigureWindow(const ModplugXMMS::Settings& aProps) | 53 void ShowConfigureWindow(const ModplugXMMS::Settings& aProps) |
| 46 { | 54 { |
