From 4f7a5b19dfad2b7712f189201f6b71040d51203b Mon Sep 17 00:00:00 2001 From: trigg Date: Sat, 23 Apr 2022 22:25:23 +0000 Subject: [PATCH] - Remove last remnants of warning message --- discover_overlay/about_settings.py | 9 --------- discover_overlay/discover_overlay.py | 3 --- 2 files changed, 12 deletions(-) diff --git a/discover_overlay/about_settings.py b/discover_overlay/about_settings.py index dcad1e7..d1b57a1 100644 --- a/discover_overlay/about_settings.py +++ b/discover_overlay/about_settings.py @@ -39,7 +39,6 @@ class AboutSettingsWindow(Gtk.Grid): def __init__(self, discover): Gtk.Grid.__init__(self) self.discover = discover - self.warning = None self.create_gui() def create_gui(self): @@ -69,11 +68,6 @@ class AboutSettingsWindow(Gtk.Grid): blurb.set_line_wrap(True) self.attach(blurb, 1, 3, 1, 1) - self.warning = Gtk.Label.new(None) - self.warning.set_markup("") - self.warning.set_line_wrap(True) - self.attach(self.warning, 1, 4, 1, 1) - killapp = Gtk.Button.new_with_label(_("Close overlay")) killapp.connect("pressed", self.close_app) self.attach(killapp, 1, 5, 1, 1) @@ -86,6 +80,3 @@ class AboutSettingsWindow(Gtk.Grid): def present_settings(self): self.show_all() - - def set_warning(self, message): - self.warning.set_markup(message) diff --git a/discover_overlay/discover_overlay.py b/discover_overlay/discover_overlay.py index d6a2687..8db3ab7 100755 --- a/discover_overlay/discover_overlay.py +++ b/discover_overlay/discover_overlay.py @@ -98,9 +98,6 @@ class Discover: Gtk.main() - def set_about_warning(self, message): - self.settings.about_settings.set_warning(message) - def set_dbus_notifications(self, enabled=False): if not dbus: return