[gnome-terminal/f20-gnome-3-12] Specify the range for background-transparency-percent

Debarshi Ray rishi at fedoraproject.org
Thu May 15 12:50:11 UTC 2014


commit 804c45e7e8e611b721ae268462cc74e3d97967a2
Author: Debarshi Ray <debarshir at gnome.org>
Date:   Thu May 15 14:48:14 2014 +0200

    Specify the range for background-transparency-percent
    
    I don't think that this merits an update. We can club it with a later
    build.

 gnome-terminal.spec                                |    2 +-
 ...-gnome-3-12.patch => restore-transparency.patch |   30 ++++++++++++++++++-
 2 files changed, 29 insertions(+), 3 deletions(-)
---
diff --git a/gnome-terminal.spec b/gnome-terminal.spec
index 8d29cde..6a06737 100644
--- a/gnome-terminal.spec
+++ b/gnome-terminal.spec
@@ -15,7 +15,7 @@ URL: http://www.gnome.org/
 #VCS: git:git://git.gnome.org/gnome-terminal
 Source0: http://download.gnome.org/sources/gnome-terminal/3.12/gnome-terminal-%{version}.tar.xz
 
-Patch0: 0001-Restore-transparency-gnome-3-12.patch
+Patch0: restore-transparency.patch
 
 BuildRequires: glib2-devel >= %{glib2_version}
 BuildRequires: GConf2-devel
diff --git a/0001-Restore-transparency-gnome-3-12.patch b/restore-transparency.patch
similarity index 93%
rename from 0001-Restore-transparency-gnome-3-12.patch
rename to restore-transparency.patch
index e245998..cd2451b 100644
--- a/0001-Restore-transparency-gnome-3-12.patch
+++ b/restore-transparency.patch
@@ -1,7 +1,7 @@
-From cd92f2088377bd2b5145ec56f4dab50adcf29881 Mon Sep 17 00:00:00 2001
+From 0c654a989609557edc89a6fbce8fc474b51cea60 Mon Sep 17 00:00:00 2001
 From: Debarshi Ray <debarshir at gnome.org>
 Date: Mon, 12 May 2014 14:57:18 +0200
-Subject: [PATCH] Restore transparency
+Subject: [PATCH 1/2] Restore transparency
 
 The transparency settings were removed as a side effect of
 2bff4b63ed3ceef6055e35563e9b0b33ad57349d
@@ -259,3 +259,29 @@ index db06b3f..2adcba8 100644
 -- 
 1.9.0
 
+
+From c006eb3942fcad51a76ba26ad83bb261b51e62b1 Mon Sep 17 00:00:00 2001
+From: Debarshi Ray <debarshir at gnome.org>
+Date: Thu, 15 May 2014 11:57:31 +0200
+Subject: [PATCH 2/2] schemas: Specify the range for
+ background-transparency-percent
+
+---
+ src/org.gnome.Terminal.gschema.xml | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/org.gnome.Terminal.gschema.xml b/src/org.gnome.Terminal.gschema.xml
+index ab7e914..53118ce 100644
+--- a/src/org.gnome.Terminal.gschema.xml
++++ b/src/org.gnome.Terminal.gschema.xml
+@@ -332,6 +332,7 @@
+     </key>
+     <key name="background-transparency-percent" type="i">
+       <default>50</default>
++      <range min="0" max="100"/>
+       <summary>Adjust the amount of transparency</summary>
+       <description>A value between 0 and 100, where 0 is opaque and 100 is fully transparent.</description>
+     </key>
+-- 
+1.9.0
+


More information about the scm-commits mailing list