http://bugzilla.novell.com/show_bug.cgi?id=476158
User bili@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=476158#c6
--- Comment #6 from Li Bin 2009-07-08 02:47:36 MDT ---
Pavol,
Vincent wirte a patch for bnc#379332, so we just need these two at the same
time.
+ if (g_key_file_get_boolean (key_file, G_KEY_FILE_DESKTOP_GROUP,
+ "X-KDE-SubstituteUID", NULL) &&
+ g_key_file_get_boolean (key_file, G_KEY_FILE_DESKTOP_GROUP,
+ "X-KDE-RootOnly", NULL))
+ {
+ char *real_exec;
+ real_exec = g_key_file_get_string (key_file, G_KEY_FILE_DESKTOP_GROUP,
G_KEY_FILE_DESKTOP_KEY_EXEC, NULL);
+ info->exec = g_strdup_printf ("gnomesu -- %s", real_exec);
+ g_free (real_exec);
+ }
+ else
+ {
+ info->exec = g_key_file_get_string (key_file, G_KEY_FILE_DESKTOP_GROUP,
G_KEY_FILE_DESKTOP_KEY_EXEC, NULL);
+ }
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.