openbsd-ports/x11/tint/patches/patch-src_tint2conf_main_c
2010-07-19 15:13:19 +00:00

22 lines
729 B
Plaintext

$OpenBSD: patch-src_tint2conf_main_c,v 1.2 2010/07/19 15:13:19 edd Exp $
--- src/tint2conf/main.c.orig Wed Jun 16 16:11:43 2010
+++ src/tint2conf/main.c Mon Jul 19 16:10:31 2010
@@ -417,7 +417,7 @@ static void menuApply()
copy_file(g_default_theme, g_path_config);
// restart panel
- system("killall -SIGUSR1 tint2");
+ system("pkill -SIGUSR1 -x 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);