Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:adrianSuSE:PL
mate-system-monitor
mate-system-monitor-xdgsu.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mate-system-monitor-xdgsu.patch of Package mate-system-monitor
--- a/src/procman_gksu.cpp +++ b/src/procman_gksu.cpp @@ -10,18 +10,18 @@ procman_gksu_create_root_password_dialog gboolean success; GError *error = NULL; - command_line = g_strdup_printf ("gksu '%s'", command); + command_line = g_strdup_printf ("xdg-su -c '%s'", command); success = g_spawn_command_line_sync (command_line, NULL, NULL, NULL, &error); g_free (command_line); if (!success) { - g_critical ("Could not run gksu '%s' : %s\n", + g_critical ("Could not run xdg-su -c '%s') : %s\n", command, error->message); g_error_free (error); return FALSE; } - g_debug ("gksu did fine\n"); + g_debug ("xdg-su did fine\n"); return TRUE; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor