summaryrefslogtreecommitdiff
path: root/src/procman_pkexec.cpp
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-04-17 09:58:36 +0200
committerraveit65 <[email protected]>2019-04-19 12:42:06 +0200
commitfe7adc8dd8c350e89677930b9efe9c6cc7dc8759 (patch)
tree145fe4b223f8841fb26e05931569b4a7908c3b0c /src/procman_pkexec.cpp
parent52532ffb9cea00d1bc8f29f4da14081d475b28ad (diff)
downloadmate-system-monitor-fe7adc8dd8c350e89677930b9efe9c6cc7dc8759.tar.bz2
mate-system-monitor-fe7adc8dd8c350e89677930b9efe9c6cc7dc8759.tar.xz
Show GPU info on the System tab
based on https://gitlab.gnome.org/GNOME/gnome-control-center/blob/master/panels/info/cc-info-overview-panel.c Close #150 Requires mate-desktop/mate-session-manager#203
Diffstat (limited to 'src/procman_pkexec.cpp')
-rw-r--r--src/procman_pkexec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/procman_pkexec.cpp b/src/procman_pkexec.cpp
index f67be6a..db83891 100644
--- a/src/procman_pkexec.cpp
+++ b/src/procman_pkexec.cpp
@@ -10,7 +10,7 @@ procman_pkexec_create_root_password_dialog (const char *command)
GError *error = NULL;
command_line = g_strdup_printf ("pkexec --disable-internal-agent %s/msm-%s",
- LIBEXEC_DIR, command);
+ PKGLIBEXECDIR, command);
success = g_spawn_command_line_sync (command_line, NULL, NULL, NULL, &error);
g_free (command_line);