update to release 0.48

This commit is contained in:
yeah_wang 2020-07-23 16:47:16 +08:00
parent 3455c28df3
commit d2ac2486c7
4 changed files with 2 additions and 23 deletions

Binary file not shown.

BIN
python-meh-0.48.tar.gz Normal file

Binary file not shown.

View File

@ -1,20 +0,0 @@
diff -uNrp a/meh/ui/gui.py b/meh/ui/gui.py
--- a/meh/ui/gui.py 2018-07-23 22:09:30.000000000 +0800
+++ b/meh/ui/gui.py 2019-09-19 15:14:30.788000000 +0800
@@ -99,7 +99,7 @@ class MainExceptionWindow(AbstractMainEx
self._response = MAIN_RESPONSE_QUIT
self._debug_button = builder.get_object("debugButton")
-
+ self._report_button = builder.get_object("reportButton")
allowDebug = kwargs.get("allowDebug", sys.stdout.isatty)
if allowDebug and not allowDebug():
@@ -114,6 +114,7 @@ class MainExceptionWindow(AbstractMainEx
def run(self, *args, **kwargs):
self._main_window.show_all()
+ self._report_button.hide()
# keep our window above dialogs
self._main_window.set_modal(True)
self._main_window.set_keep_above(True)

View File

@ -1,11 +1,10 @@
Name: python-meh
Version: 0.47
Release: 4
Version: 0.48
Release: 1
Summary: A python library for handling exceptions
License: GPLv2+
URL: https://github.com/rhinstaller/%{name}
Source0: https://github.com/rhinstaller/%{name}/archive/%{name}-%{version}.tar.gz
Patch9000: python-meh-hide-report-button.patch
BuildArch: noarch
BuildRequires: gettext intltool libreport-gtk libreport-cli python3-devel
BuildRequires: python3-setuptools python3-dbus python3-libreport git