gnome-control-center/gnome-control-center-hide-region-system-tab.patch

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;