[Xfce4-commits] <midori:master> Use application name rather than literal Midori string
Christian Dywan
noreply at xfce.org
Wed May 8 03:00:04 CEST 2013
Updating branch refs/heads/master
to c9962943157798075613db721d6f1d5d4112dc11 (commit)
from 71de7fbc96bb9a2a0391b6975950a8b10bee6fd5 (commit)
commit c9962943157798075613db721d6f1d5d4112dc11
Author: Christian Dywan <christian at twotoasts.de>
Date: Wed May 8 02:30:42 2013 +0200
Use application name rather than literal Midori string
midori/midori-app.c | 2 +-
midori/midori-view.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/midori/midori-app.c b/midori/midori-app.c
index f25c78a..25ba4c4 100644
--- a/midori/midori-app.c
+++ b/midori/midori-app.c
@@ -1456,7 +1456,7 @@ void
midori_error (const gchar* format,
...)
{
- g_printerr ("%s - ", _("Midori"));
+ g_printerr ("%s - ", g_get_application_name ());
va_list args;
va_start (args, format);
g_vfprintf (stderr, format, args);
diff --git a/midori/midori-view.c b/midori/midori-view.c
index 0d45de2..75b4fe4 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -4064,7 +4064,7 @@ midori_view_list_versions (GString* markup,
gboolean html)
{
midori_view_add_version (markup, html, g_strdup_printf ("%s %s (%s)",
- _("Midori"), PACKAGE_VERSION, midori_app_get_name (NULL)));
+ g_get_application_name (), PACKAGE_VERSION, midori_app_get_name (NULL)));
midori_view_add_version (markup, html, g_strdup_printf ("GTK+ %s (%u.%u.%u)\tGlib %s (%u.%u.%u)",
GTK_VERSION, gtk_major_version, gtk_minor_version, gtk_micro_version,
GIO_VERSION, glib_major_version, glib_minor_version, glib_micro_version));
More information about the Xfce4-commits
mailing list