Package: software-properties-gtk
Version: 0.80.6debian1
Severity: wishlist
Tags: patch


software-properties-gtk already supports GTK3.
It only needs to by enabled when creating the package.

Now that gir1.2-gtk-3.0 is in testing, we can probably use the GTK3 version.

Providing basic patch which updates the GI required version to 3.0, and
the dependency from gir1.2-gtk-2.0 to gir1.2-gtk-3.0.

Cheers,
Aurélien
diff --git a/debian/control b/debian/control
index 7bf4ff3..8def2ad 100644
--- a/debian/control
+++ b/debian/control
@@ -24,7 +24,7 @@ Package: software-properties-gtk
 Architecture: all
 Replaces: update-manager (<< 0.55)
 Conflicts: update-manager (<< 0.55)
-Depends: ${python:Depends}, ${misc:Depends}, python, synaptic (>= 0.57.8), gksu, python-software-properties, python-gobject (>= 2.27.91), gir1.2-gtk-2.0 (>= 2.23.90-0ubuntu3)
+Depends: ${python:Depends}, ${misc:Depends}, python, synaptic (>= 0.57.8), gksu, python-software-properties, python-gobject (>= 2.27.91), gir1.2-gtk-3.0 (>= 3.0.8-1)
 Description: manage the repositories that you install software from
  This software provides an abstraction of the used apt repositories.
  It allows you to easily manage your distribution and independent software
diff --git a/software-properties-gtk b/software-properties-gtk
index 12a4d50..7b9604c 100755
--- a/software-properties-gtk
+++ b/software-properties-gtk
@@ -23,7 +23,7 @@
 #  USA
 
 import gi
-gi.require_version('Gtk', '2.0')
+gi.require_version('Gtk', '3.0')
 from gi.repository import Gtk
 import gobject
 import gettext

Reply via email to