1 diff -Nur libgksu-1.9.8/libgksu/libgksu.c libgksu-1.9.8.new/libgksu/libgksu.c
2 --- libgksu-1.9.8/libgksu/libgksu.c 2006-10-09 19:16:41.000000000 +0200
3 +++ libgksu-1.9.8.new/libgksu/libgksu.c 2006-10-09 19:17:16.000000000 +0200
7 context->sudo_mode = gconf_client_get_bool (gconf_client, BASE_PATH "sudo-mode",
10 + // UBUNTU specific - if the sudo mode is not set, check if we actualy have
11 + // a registered schema for it, upgrades sometimes blew it away (lp: #59079)
12 + if(context->sudo_mode == FALSE) {
13 + GConfValue* v = gconf_client_get_default_from_schema(gconf_client, BASE_PATH "sudo-mode", NULL);
15 + context->sudo_mode = TRUE;
16 + gconf_value_free(v);