Accepting request 163686 from home:dimstar:branches:GNOME:Factory
- Add gnome-sudoku-numberbox-events.patch: Fix NumberBox envents configuration with latest pygobject. OBS-URL: https://build.opensuse.org/request/show/163686 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-sudoku?expand=0&rev=5
This commit is contained in:
parent
3a97345fe6
commit
354878714e
26
gnome-sudoku-numberbox-events.patch
Normal file
26
gnome-sudoku-numberbox-events.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From c82fc3131802f4fe1f069facb9aae833cc6cdc5f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Yanko Kaneti <yaneti@declera.com>
|
||||||
|
Date: Wed, 13 Feb 2013 21:15:13 +0200
|
||||||
|
Subject: [PATCH] Fix NumberBox envents configuration with latest pygobject
|
||||||
|
|
||||||
|
---
|
||||||
|
src/lib/number_box.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/lib/number_box.py b/src/lib/number_box.py
|
||||||
|
index 4087de1..60b255a 100644
|
||||||
|
--- a/src/lib/number_box.py
|
||||||
|
+++ b/src/lib/number_box.py
|
||||||
|
@@ -130,7 +130,7 @@ class NumberBox (Gtk.DrawingArea):
|
||||||
|
self.bottom_note_list = []
|
||||||
|
self.tinfo = tracker_info.TrackerInfo()
|
||||||
|
self.set_property('can-focus', True)
|
||||||
|
- self.set_property('events', Gdk.EventMask.ALL_EVENTS_MASK)
|
||||||
|
+ self.add_events(Gdk.EventMask.ALL_EVENTS_MASK)
|
||||||
|
self.connect('button-press-event', self.button_press_cb)
|
||||||
|
self.connect('key-release-event', self.key_press_cb)
|
||||||
|
self.connect('enter-notify-event', self.pointer_enter_cb)
|
||||||
|
--
|
||||||
|
1.8.1.2
|
||||||
|
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 11 18:05:27 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Add gnome-sudoku-numberbox-events.patch: Fix NumberBox envents
|
||||||
|
configuration with latest pygobject.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 27 07:39:44 UTC 2013 - dimstar@opensuse.org
|
Wed Mar 27 07:39:44 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -24,6 +24,8 @@ License: GPL-2.0+
|
|||||||
Group: Amusements/Games/Logic
|
Group: Amusements/Games/Logic
|
||||||
Url: https://live.gnome.org/GnomeSudoku
|
Url: https://live.gnome.org/GnomeSudoku
|
||||||
Source: http://download.gnome.org/sources/gnome-sudoku/3.8/%{name}-%{version}.tar.xz
|
Source: http://download.gnome.org/sources/gnome-sudoku/3.8/%{name}-%{version}.tar.xz
|
||||||
|
# PATCH-FIX-UPSTREAM gnome-sudoku-numberbox-events.patch bgo#693736 dimstar@opensuse.org -- Fix NumberBox envents configuration with latest pygobject
|
||||||
|
Patch0: gnome-sudoku-numberbox-events.patch
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: intltool >= 0.35.0
|
BuildRequires: intltool >= 0.35.0
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
@ -40,6 +42,7 @@ with the correct digits.
|
|||||||
%lang_package
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
|
Loading…
Reference in New Issue
Block a user