[gnome-music/wip/mschraal/gtk4: 21/66] notificationspopup: Remove show_all()
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4: 21/66] notificationspopup: Remove show_all()
- Date: Mon, 4 Nov 2019 14:50:45 +0000 (UTC)
commit a4438752863271685b26a11bdcdb87b3f3c290da
Author: Marinus Schraal <mschraal gnome org>
Date: Thu Oct 31 13:22:00 2019 +0100
notificationspopup: Remove show_all()
gnomemusic/widgets/notificationspopup.py | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/gnomemusic/widgets/notificationspopup.py b/gnomemusic/widgets/notificationspopup.py
index b9befcdd..c899fbed 100644
--- a/gnomemusic/widgets/notificationspopup.py
+++ b/gnomemusic/widgets/notificationspopup.py
@@ -64,7 +64,6 @@ class NotificationsPopup(Gtk.Revealer):
self._loading_notification.connect('invisible', self._set_visibility)
self._grid.add(self._loading_notification)
- self.show_all()
self._loading_notification.hide()
@log
@@ -167,7 +166,6 @@ class LoadingNotification(Gtk.Grid):
label = Gtk.Label(
label=_("Loading"), halign=Gtk.Align.START, hexpand=True)
self.add(label)
- self.show_all()
@log
def pop(self):
@@ -186,7 +184,6 @@ class LoadingNotification(Gtk.Grid):
def push(self):
"""Increase the counter. Start notification if necessary."""
def callback():
- self.show_all()
self.emit('visible')
if self._counter == 0:
@@ -241,7 +238,6 @@ class PlaylistNotification(Gtk.Grid):
undo_button = Gtk.Button.new_with_mnemonic(_("_Undo"))
undo_button.connect("clicked", self._undo_deletion)
self.add(undo_button)
- self.show_all()
if self.type_ == PlaylistNotification.Type.PLAYLIST:
self._coremodel.stage_playlist_deletion(self._playlist)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]