summaryrefslogtreecommitdiff
path: root/x11/tint2/patches/patch-ab
blob: dbdc665cda3676e6c9eb1b42fb6760eef6aca0cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ab,v 1.3 2010/07/05 08:06:15 tnn Exp $

--- src/tint2conf/main.c.orig	2010-06-16 15:11:43.000000000 +0000
+++ src/tint2conf/main.c
@@ -417,7 +417,7 @@ static void menuApply()
 		copy_file(g_default_theme, g_path_config);
 
 		// restart panel
-		system("killall -SIGUSR1 tint2");
+		system("pkill -SIGUSR1 tint2");
 	}
 }
 
@@ -580,7 +580,7 @@ void read_config()
 	}
 	g_width = 500;
 	g_height = 350;
-	g_cmd_property = g_strconcat( "python ", INSTALL_PREFIX, "/bin/tintwizard.py", (void*)0 );
+	g_cmd_property = g_strconcat(INSTALL_PREFIX, "/bin/tintwizard.py", (void*)0 );
 
 	// load config
 	path = g_build_filename (g_get_user_config_dir(), "tint2", "tint2confrc", NULL);