python-meh/python-meh-hide-report-button.patch

21 lines
812 B
Diff
Raw Normal View History

2019-11-06 19:49:31 +08:00
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)