gnome-extra/gnome-tweak-tool: remove unused patches

Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger (asterix)
2016-11-27 11:24:57 +01:00
committed by Pacho Ramos
parent 8d71b9cf72
commit f1927fdf18
2 changed files with 0 additions and 52 deletions

View File

@@ -1,41 +0,0 @@
From 0335e0edd652542ab6b995dc3e4334251b582b5d Mon Sep 17 00:00:00 2001
From: Rui Matos <tiagomatos@gmail.com>
Date: Sun, 17 Jan 2016 19:48:51 +0100
Subject: egowrapper: Port to new Soup.Session API
This also allows us to stop using SoupGNOME since Soup.Session now
uses the system's default proxy by default.
https://bugzilla.gnome.org/show_bug.cgi?id=759951
---
gtweak/egowrapper.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/gtweak/egowrapper.py b/gtweak/egowrapper.py
index 738172a..9657c9b 100644
--- a/gtweak/egowrapper.py
+++ b/gtweak/egowrapper.py
@@ -20,9 +20,8 @@ import logging
import gi
gi.require_version("Soup", "2.4")
-gi.require_version("SoupGNOME", "2.4")
from gi.repository import GObject
-from gi.repository import Soup, SoupGNOME
+from gi.repository import Soup
class ExtensionsDotGnomeDotOrg(GObject.GObject):
@@ -35,8 +34,7 @@ class ExtensionsDotGnomeDotOrg(GObject.GObject):
def __init__(self, shell_version_tuple):
GObject.GObject.__init__(self)
- self._session = Soup.SessionAsync.new()
- self._session.add_feature_by_type(SoupGNOME.ProxyResolverGNOME)
+ self._session = Soup.Session.new()
self._shell_version_tuple = shell_version_tuple
self._extensions = {}
--
cgit v0.12

View File

@@ -1,11 +0,0 @@
--- gtweak/gsettings.py.old 2013-11-16 09:00:44.863767301 +0100
+++ gtweak/gsettings.py 2013-11-16 09:01:18.873393932 +0100
@@ -34,6 +34,8 @@
def __init__(self, schema_name, schema_dir=None, schema_filename=None, **options):
if not schema_dir:
schema_dir = gtweak.GSETTINGS_SCHEMA_DIR
+ if schema_name == "org.gnome.desktop.wm.preferences":
+ schema_filename = schema_name + ".gschema.xml"
if not schema_filename:
schema_filename = schema_name + ".gschema.xml"