[Xfce4-commits] <midori:master> Append "Private Browsing" to title in private mode

Christian Dywan noreply at xfce.org
Fri Feb 4 01:46:01 CET 2011


Updating branch refs/heads/master
         to 9ab46a3daa2ef5628152d82e50b625898c9bdefd (commit)
       from 7504edaa11d87691279a53e8e9caf2bf1207c916 (commit)

commit 9ab46a3daa2ef5628152d82e50b625898c9bdefd
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Thu Feb 3 17:04:20 2011 +0100

    Append "Private Browsing" to title in private mode
    
    Fixes: https://bugs.launchpad.net/midori/+bug/699969

 midori/main.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/midori/main.c b/midori/main.c
index 31276b0..384ed30 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -1722,7 +1722,10 @@ main (int    argc,
     /* libSoup uses threads, so we need to initialize threads. */
     if (!g_thread_supported ()) g_thread_init (NULL);
     sokoke_register_stock_items ();
-    g_set_application_name (_("Midori"));
+    if (webapp && config)
+        g_set_application_name (_("Midori (Private Browsing)"));
+    else
+        g_set_application_name (_("Midori"));
 
     #ifdef G_ENABLE_DEBUG
     if (startup_timer)



More information about the Xfce4-commits mailing list