gksu didn't have to be modified at all for the example. I just executed this to
simulate what it could do.
gksudo --title "Ubuntu Update Manager" --icon
/usr/share/pixmaps/update-manager.png --message "Ubuntu Update Manager requires
administrative privileges to run. Please enter your password."
I'm thinking about patching gksu like this. It'd be a lot shorter than above
and alleviate the translation issues. The following would be an example of
what's changed in update-manager.desktop:
gksu didn't have to be modified at all for the example. I just executed this to
simulate what it could do.
gksudo --title "Ubuntu Update Manager" --icon pixmaps/ update- manager. png --message "Ubuntu Update Manager requires
/usr/share/
administrative privileges to run. Please enter your password."
I'm thinking about patching gksu like this. It'd be a lot shorter than above manager. desktop:
and alleviate the translation issues. The following would be an example of
what's changed in update-
Exec=gksudo --desktop update- manager. desktop /usr/bin/ update- manager
So that it could read
a) the translated name of the program to display
b) the icon to show
The generic message would need to be changed in gksu and retranslated.
I'm more than open to other suggestions on how to implement this.