[gnome-tweak-tool] app: Make the about dialog modal and transient



commit 05e2bd10bbaf0a69fc4626eb9f354a3ebfdb0a97
Author: Rui Matos <tiagomatos gmail com>
Date:   Mon May 29 16:19:23 2017 +0200

    app: Make the about dialog modal and transient

 gtweak/app.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtweak/app.py b/gtweak/app.py
index 2bb848b..a66b418 100644
--- a/gtweak/app.py
+++ b/gtweak/app.py
@@ -91,7 +91,7 @@ class GnomeTweakTool(Gtk.Application):
         ds.disable()
 
     def about_cb(self, action, parameter):
-        aboutdialog = Gtk.AboutDialog()
+        aboutdialog = Gtk.AboutDialog(modal=True, transient_for=self.win)
 
         _shell = GnomeShellFactory().get_shell()
         if _shell is not None:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]