forked from pool/gnome-control-center
26c678f2c3
Disable system tab in region panel OBS-URL: https://build.opensuse.org/request/show/88815 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=123
15 lines
798 B
Diff
15 lines
798 B
Diff
Index: gnome-control-center-3.2.1/panels/region/gnome-region-panel-system.c
|
|
===================================================================
|
|
--- gnome-control-center-3.2.1.orig/panels/region/gnome-region-panel-system.c
|
|
+++ gnome-control-center-3.2.1/panels/region/gnome-region-panel-system.c
|
|
@@ -415,7 +415,8 @@ setup_system (GtkBuilder *dialog)
|
|
GDBusConnection *bus;
|
|
GtkWidget *button;
|
|
|
|
- localed_permission = polkit_permission_new_sync ("org.freedesktop.locale1.set-locale", NULL, NULL, NULL);
|
|
+ //localed_permission = polkit_permission_new_sync ("org.freedesktop.locale1.set-locale", NULL, NULL, NULL);
|
|
+ localed_permission = NULL;
|
|
if (localed_permission == NULL) {
|
|
GtkWidget *tab_widget, *notebook;
|
|
int num;
|