[gcalctool] Fix missing license text in about dialog (Robert Ancell, Bug #579174)
- From: Robert Ancell <rancell src gnome org>
- To: svn-commits-list gnome org
- Subject: [gcalctool] Fix missing license text in about dialog (Robert Ancell, Bug #579174)
- Date: Mon, 20 Apr 2009 02:07:16 -0400 (EDT)
commit cfaac0929c25df8a9464d22aac56e46e477641e4
Author: Robert Ancell <robert ancell gmail com>
Date: Mon Apr 20 16:03:50 2009 +1000
Fix missing license text in about dialog (Robert Ancell, Bug #579174)
---
ChangeLog | 4 ++++
gcalctool/gtk.c | 4 +++-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5b6819e..81a01f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,10 @@
gcalctool change history.
=========================
+2009-04-20 Robert Ancell <robert ancell gmail com>
+
+ * Fix missing license text in about dialog (Robert Ancell, Bug #579174)
+
2009-04-06 Robert Ancell <robert ancell gmail com>
* Replace MP number arrays with an MPNumber structure (Robert Ancell)
diff --git a/gcalctool/gtk.c b/gcalctool/gtk.c
index 04f0a1b..90706d1 100644
--- a/gcalctool/gtk.c
+++ b/gcalctool/gtk.c
@@ -1211,7 +1211,8 @@ about_cb(GtkWidget *widget)
"\n"
"You should have received a copy of the GNU General Public License\n"
"along with Gcalctool; if not, write to the Free Software Foundation, Inc.,\n"
- "51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\n")
+ "51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\n"),
+ NULL
};
gtk_show_about_dialog(GTK_WINDOW(X.kframe),
@@ -2452,6 +2453,7 @@ create_kframe()
/* Translators: Title of the error dialog when unable to load the UI files */
N_("Error loading user interface"));
// FIXME: Use error->message
+ g_warning("Unable to load file %s: %s\n", UI_FILE, error->message);
gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog),
/* Translators: Description in UI error dialog when unable to load the UI files. %s is replaced with the path of the missing file */
N_("The user interface file %s is missing or unable to be loaded. Please check your installation."), UI_FILE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]