LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File gnome-control-center-hide-region-system-tab.patch of Package gnome-control-center (Project GNOME:Factory)

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;