]> spindle.queued.net Git - midori/commitdiff
Don't encode config hash in app name for socket
authorChristian Dywan <christian@twotoasts.de>
Tue, 10 Jan 2012 00:42:37 +0000 (01:42 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 10 Jan 2012 00:42:37 +0000 (01:42 +0100)
midori/midori-app.c

index 0666e6f0bb9fc33859195c3eddab218889c95989..99b10013cb3af61874de8430128bdeb7f63a27b4 100644 (file)
@@ -722,12 +722,16 @@ midori_app_create_instance (MidoriApp* app)
 
     if (!app->name)
     {
+        #if HAVE_UNIQUE
         const gchar* config = sokoke_set_config_dir (NULL);
         gchar* name_hash;
         name_hash = g_compute_checksum_for_string (G_CHECKSUM_MD5, config, -1);
         app->name = g_strconcat ("midori", "_", name_hash, NULL);
         g_free (name_hash);
         g_object_notify (G_OBJECT (app), "name");
+        #else
+        app->name = g_strdup (PACKAGE_NAME);
+        #endif
     }
 
     if (!(display = gdk_display_get_default ()))