[Xfce4-commits] <midori:master> Make the license in the about dialogue localizable

Christian Dywan noreply at xfce.org
Sat Apr 10 01:00:01 CEST 2010


Updating branch refs/heads/master
         to 130eb0e46aaf5af673b12d0eff3fe8e7b58c5699 (commit)
       from 2148576a9b0692aca500792d29ec6643f4988525 (commit)

commit 130eb0e46aaf5af673b12d0eff3fe8e7b58c5699
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Apr 9 22:56:21 2010 +0200

    Make the license in the about dialogue localizable

 midori/midori-browser.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 18a2c37..d8216e8 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -4973,12 +4973,6 @@ static const gchar* credits_documenters[] =
 static const gchar* credits_artists[] =
     { "Nancy Runge <nancy at twotoasts.de>", NULL };
 
-static const gchar* license =
-    "This library is free software; you can redistribute it and/or\n"
-    "modify it under the terms of the GNU Lesser General Public\n"
-    "License as published by the Free Software Foundation; either\n"
-    "version 2.1 of the License, or (at your option) any later version.\n";
-
 static void
 _action_about_activate_link (GtkAboutDialog* about,
                              const gchar*    uri,
@@ -5014,6 +5008,11 @@ _action_about_activate (GtkAction*     action,
         GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION,
         WEBKIT_MAJOR_VERSION, WEBKIT_MINOR_VERSION, WEBKIT_MICRO_VERSION,
         _("A lightweight web browser."));
+    const gchar* license =
+    _("This library is free software; you can redistribute it and/or "
+    "modify it under the terms of the GNU Lesser General Public "
+    "License as published by the Free Software Foundation; either "
+    "version 2.1 of the License, or (at your option) any later version.");
 
     gtk_about_dialog_set_email_hook (_action_about_activate_email, NULL, NULL);
     gtk_about_dialog_set_url_hook (_action_about_activate_link, browser, NULL);
@@ -5031,6 +5030,7 @@ _action_about_activate (GtkAction*     action,
         "wrap-license", TRUE,
         "translator-credits", _("translator-credits"),
         NULL);
+    g_free (comments);
 }
 
 static void



More information about the Xfce4-commits mailing list