[gnome-music] window: make loading notification appear after 1s
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] window: make loading notification appear after 1s
- Date: Tue, 17 Feb 2015 12:42:59 +0000 (UTC)
commit 2825a567fca3dc83b51cb41b9210e6b054453740
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Tue Feb 17 13:42:48 2015 +0100
window: make loading notification appear after 1s
gnomemusic/window.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index b262086..712ab6f 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -341,7 +341,7 @@ class Window(Gtk.ApplicationWindow):
grid.add(Gtk.Label.new(_("Loading")))
spinner.start()
self.notification.show_all()
- self._overlay.add_overlay(self.notification)
+ GLib.timeout_add(1000, self._overlay.add_overlay, self.notification)
@log
def _undo_deletion(self, widget):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]