# HG changeset patch # User nenolod # Date 1162327532 28800 # Node ID 34b6f9d5633a7dda7fc326b9a26acb5c5added6f # Parent f52e866d7d8e80c276c5212e66c2ebf823185edc [svn] - use xmms_show_message() here. diff -r f52e866d7d8e -r 34b6f9d5633a ChangeLog --- a/ChangeLog Tue Oct 31 12:35:04 2006 -0800 +++ b/ChangeLog Tue Oct 31 12:45:32 2006 -0800 @@ -1,3 +1,11 @@ +2006-10-31 20:35:04 +0000 William Pitcock + revision [312] + - use user-friendly names in most places + + trunk/src/paranormal/cfg.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + + 2006-10-31 20:07:32 +0000 William Pitcock revision [310] - user-friendly names (UI side unimplemented still) diff -r f52e866d7d8e -r 34b6f9d5633a src/paranormal/plugin.c --- a/src/paranormal/plugin.c Tue Oct 31 12:35:04 2006 -0800 +++ b/src/paranormal/plugin.c Tue Oct 31 12:45:32 2006 -0800 @@ -242,24 +242,9 @@ static void pn_xmms_about (void) { - static GtkWidget *window=NULL; - GtkWidget *vbox, *buttonbox, *close, *label; - - if(window) - return; - - window=gtk_window_new(GTK_WINDOW_TOPLEVEL); - gtk_window_set_title(GTK_WINDOW(window), "Paranormal Visualization Studio " VERSION); - gtk_window_set_policy(GTK_WINDOW(window), FALSE, FALSE, FALSE); - - vbox=gtk_vbox_new(FALSE, 4); - gtk_container_add(GTK_CONTAINER(window), vbox); - gtk_container_set_border_width(GTK_CONTAINER(vbox), 8); - gtk_widget_show(vbox); - - label=gtk_label_new("\n\n Paranormal Visualization Studio " VERSION "\n\n\ -Copyright (C) 2006, William Pitcock. \n\ -Copyright (C) 2001, Jamie Gennis. (jgennis@mindspring.com)\n\ + xmms_show_message("Paranormal Visualization Studio " VERSION "\n\n\ +Copyright (C) 2006, William Pitcock \n\ +Portions Copyright (C) 2001, Jamie Gennis \n\ \n\ This program is free software; you can redistribute it and/or modify\n\ it under the terms of the GNU General Public License as published by\n\ @@ -274,26 +259,7 @@ You should have received a copy of the GNU General Public License\n\ along with this program; if not, write to the Free Software\n\ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307\n\ -USA"); - - gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 8); - gtk_widget_show(label); - - buttonbox=gtk_hbutton_box_new(); - gtk_box_pack_end(GTK_BOX(vbox), buttonbox, FALSE, FALSE,8); - gtk_widget_show(buttonbox); - - close=gtk_button_new_with_label("Close"); - GTK_WIDGET_SET_FLAGS(close, GTK_CAN_DEFAULT); - gtk_window_set_default(GTK_WINDOW(window), close); - gtk_hbutton_box_set_layout_default(GTK_BUTTONBOX_END); - gtk_box_pack_end(GTK_BOX(buttonbox), close, FALSE, FALSE,8); - gtk_widget_show(close); - - gtk_signal_connect(GTK_OBJECT(close), "clicked", GTK_SIGNAL_FUNC(about_close_clicked), &window); - gtk_signal_connect(GTK_OBJECT(window), "delete-event", GTK_SIGNAL_FUNC(about_closed), &window); - - gtk_widget_show(window); +USA", _("Ok"), FALSE, NULL, NULL); } static void