Hello community, here is the log from the commit of package gramps for openSUSE:Factory checked in at 2013-08-16 12:28:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gramps (Old) and /work/SRC/openSUSE:Factory/.gramps.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gramps" Changes: -------- --- /work/SRC/openSUSE:Factory/gramps/gramps.changes 2013-06-29 19:42:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gramps.new/gramps.changes 2013-08-16 12:28:16.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jun 30 17:22:19 UTC 2013 - dimstar@opensuse.org + +- Add gramps-4_0-gtk-3_8.patch: Fix execution with GTK+ 3.8. + +------------------------------------------------------------------- New: ---- gramps-4_0-gtk-3_8.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gramps.spec ++++++ --- /var/tmp/diff_new_pack.S3378P/_old 2013-08-16 12:28:16.000000000 +0200 +++ /var/tmp/diff_new_pack.S3378P/_new 2013-08-16 12:28:16.000000000 +0200 @@ -28,6 +28,8 @@ Group: Productivity/Other Url: http://www.gramps-project.org/ Source: http://downloads.sourceforge.net/project/gramps/Stable/4.0.1/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM gramps-4_0-gtk-3_8.patch dimstar@opensuse.org -- Fix compatibility with GTK+ >= 3.8; svn rev 22630 +Patch0: gramps-4_0-gtk-3_8.patch BuildRequires: fdupes BuildRequires: intltool # For directory ownership @@ -58,6 +60,7 @@ %lang_package %prep %setup -q +%patch0 -p0 %build python setup.py build ++++++ gramps-4_0-gtk-3_8.patch ++++++ Index: gramps/gui/widgets/validatedmaskedentry.py =================================================================== --- gramps/gui/widgets/validatedmaskedentry.py (revision 22630) +++ gramps/gui/widgets/validatedmaskedentry.py (revision 22631) @@ -235,6 +235,7 @@ __gtype_name__ = 'MaskedEntry' def __init__(self): + self._block_changed = False UndoableEntry.__init__(self) # connect in UndoableEntry: @@ -253,7 +254,6 @@ self._completion = None self._exact_completion = False - self._block_changed = False self.hasicon = False ## self._icon = IconEntry(self) @@ -1157,10 +1157,10 @@ self.data_type = None self.mandatory = False self.error_icon = error_icon + self._block_changed = False MaskedEntry.__init__(self) - self._block_changed = False self._valid = True self._def_error_msg = None self._fade = FadeOut(self, err_color) @@ -1171,7 +1171,8 @@ # Virtual methods def do_changed(self): - if self._block_changed: + block_changed = getattr(self, '_block_changed', True) + if block_changed: self.emit_stop_by_name('changed') return self.emit('content-changed') -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org