Mercurial > audlegacy-plugins
comparison src/cdaudio-ng/cdaudio-ng.c @ 2192:e5401b6c4665
the same thing in many plugins
author | Eugene Zagidullin <e.asphyx@gmail.com> |
---|---|
date | Wed, 28 Nov 2007 03:51:34 +0300 |
parents | 04421592e6a3 |
children | dc92a550179e |
comparison
equal
deleted
inserted
replaced
2191:329267b09658 | 2192:e5401b6c4665 |
---|---|
204 CDDEBUG("cdaudio_about()\n"); | 204 CDDEBUG("cdaudio_about()\n"); |
205 | 205 |
206 static GtkWidget* about_window = NULL; | 206 static GtkWidget* about_window = NULL; |
207 | 207 |
208 if (about_window) { | 208 if (about_window) { |
209 gdk_window_raise(about_window->window); | 209 gtk_window_present(GTK_WINDOW(about_window)); |
210 } | 210 } else { |
211 about_window = audacious_info_dialog(_("About CD Audio Plugin NG"), | 211 about_window = audacious_info_dialog(_("About CD Audio Plugin NG"), |
212 _("Copyright (c) 2007, by Calin Crisan <ccrisan@gmail.com> and The Audacious Team.\n\n" | 212 _("Copyright (c) 2007, by Calin Crisan <ccrisan@gmail.com> and The Audacious Team.\n\n" |
213 "Many thanks to libcdio developers <http://www.gnu.org/software/libcdio/>\n" | 213 "Many thanks to libcdio developers <http://www.gnu.org/software/libcdio/>\n" |
214 "\tand to libcddb developers <http://libcddb.sourceforge.net/>.\n\n" | 214 "\tand to libcddb developers <http://libcddb.sourceforge.net/>.\n\n" |
215 "Also thank you Tony Vroon for mentoring & guiding me.\n\n" | 215 "Also thank you Tony Vroon for mentoring & guiding me.\n\n" |
216 "This was a Google Summer of Code 2007 project."), _("OK"), FALSE, NULL, NULL); | 216 "This was a Google Summer of Code 2007 project."), _("OK"), FALSE, NULL, NULL); |
217 | 217 |
218 g_signal_connect(G_OBJECT(about_window), "destroy", | 218 g_signal_connect(G_OBJECT(about_window), "destroy", G_CALLBACK(gtk_widget_destroyed), &about_window); |
219 G_CALLBACK(gtk_widget_destroyed), &about_window); | 219 } |
220 } | 220 } |
221 | 221 |
222 static void cdaudio_configure() | 222 static void cdaudio_configure() |
223 { | 223 { |
224 CDDEBUG("cdaudio_configure()\n"); | 224 CDDEBUG("cdaudio_configure()\n"); |