]> spindle.queued.net Git - midori/commitdiff
Append "Private Browsing" to title in private mode
authorPaweł Forysiuk <tuxator@o2.pl>
Thu, 3 Feb 2011 16:04:20 +0000 (17:04 +0100)
committerChristian Dywan <christian@twotoasts.de>
Fri, 4 Feb 2011 00:43:06 +0000 (01:43 +0100)
Fixes: https://bugs.launchpad.net/midori/+bug/699969
midori/main.c

index 31276b01bdb941ee7f23e73b95b0b59d7a94f857..384ed302d812b78667b899aee951840054d7049a 100644 (file)
@@ -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)