updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libgksu-ubuntu / patches / 14_polish_startup.patch
blobe81e0b4e6cac6cf77b60b1d9ddfb12ddd8576da2
1 === modified file 'libgksu/libgksu.c'
2 diff -Nur libgksu-2.0.3/libgksu/libgksu.c libgksu-2.0.3.new/libgksu/libgksu.c
3 --- libgksu-2.0.3/libgksu/libgksu.c 2007-03-08 10:14:31.000000000 +0100
4 +++ libgksu-2.0.3.new/libgksu/libgksu.c 2007-03-08 10:14:32.000000000 +0100
5 @@ -1360,6 +1360,13 @@
6 NULL, NULL);
7 context->sn_context = sn_launcher_context_new (sn_display, gdk_screen_get_number (gdk_display_get_default_screen (gdk_display_get_default ())));
8 sn_launcher_context_set_description (context->sn_context, _("Granting Rights"));
9 + if (context->sudo_mode)
10 + {
11 + sn_launcher_context_set_description (context->sn_context,
12 + _("Starting Administrative Application"));
13 + sn_launcher_context_set_icon_name (context->sn_context,
14 + "applications-system");
15 + }
16 sn_launcher_context_set_name (context->sn_context, g_get_prgname ());