[tasks] Call g_set_application_name in the right place to set the translated name
- From: Ross Burton <rburton src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasks] Call g_set_application_name in the right place to set the translated name
- Date: Fri, 20 Aug 2010 09:24:52 +0000 (UTC)
commit 7625d13c8aa3dc203efe361c843364ffbc2a9e1e
Author: Ross Burton <ross linux intel com>
Date: Fri Aug 20 10:24:06 2010 +0100
Call g_set_application_name in the right place to set the translated name
src/gtk/main.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/gtk/main.c b/src/gtk/main.c
index 74b4126..530a5cf 100644
--- a/src/gtk/main.c
+++ b/src/gtk/main.c
@@ -459,7 +459,6 @@ on_about_action (GtkAction *action, gpointer user_data)
};
gtk_show_about_dialog (GTK_WINDOW (window),
- "name", _("Tasks"),
"version", VERSION,
"logo-icon-name", "tasks",
"copyright", "Copyright \302\251 2007-2008 OpenedHand Ltd",
@@ -641,9 +640,9 @@ main (int argc, char **argv)
textdomain(GETTEXT_PACKAGE);
#endif
- g_set_application_name (_("Tasks"));
gtk_init_with_args (&argc, &argv, _(" - a to do list"),
entries, GETTEXT_PACKAGE, &error);
+ g_set_application_name (_("Tasks"));
if (error) {
g_printerr ("%s\n", error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]