[easytag] Set parent window of about dialog to main window



commit 0a9d538e438361f835f9d6fc6a57f9412616b00f
Author: David King <amigadave amigadave com>
Date:   Fri Jan 11 21:35:37 2013 +0000

    Set parent window of about dialog to main window

 src/about.c |   29 +++++++++++++++--------------
 1 files changed, 15 insertions(+), 14 deletions(-)
---
diff --git a/src/about.c b/src/about.c
index b0f594f..6f5353b 100644
--- a/src/about.c
+++ b/src/about.c
@@ -24,6 +24,7 @@
 #include <glib/gi18n-lib.h>
 
 #include "about.h"
+#include "easytag.h"
 
 void Show_About_Window (void)
 {
@@ -108,18 +109,18 @@ void Show_About_Window (void)
         translators = NULL;
     }
 
-    gtk_show_about_dialog(NULL,/* TODO: GTK_WINDOW(MainWindow), */
-                          "artists",artists,
-                          "authors",authors,
-                          "comments",_("View and edit tags in audio files"),
-                          "copyright",copyright,
-                          "documenters",documenters,
-                          "license",license,
-                          "logo-icon-name",PACKAGE_TARNAME,
-                          "program-name",PACKAGE_NAME,
-                          "translator-credits",translators,
-                          "version",PACKAGE_VERSION,
-                          "website",PACKAGE_URL,
-                          "wrap-license",TRUE,
-                          NULL);
+    gtk_show_about_dialog (GTK_WINDOW (MainWindow),
+                           "artists", artists,
+                           "authors", authors,
+                           "comments", _("View and edit tags in audio files"),
+                           "copyright", copyright,
+                           "documenters", documenters,
+                           "license", license,
+                           "logo-icon-name", PACKAGE_TARNAME,
+                           "program-name", PACKAGE_NAME,
+                           "translator-credits", translators,
+                           "version", PACKAGE_VERSION,
+                           "website", PACKAGE_URL,
+                           "wrap-license", TRUE,
+                           NULL);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]