From e627bda26a1f0c24b8193d0e6f72435400cd503e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alperen=20=C4=B0sa=20Nalbant?= Date: Sun, 28 Nov 2021 16:13:18 +0100 Subject: [PATCH] Added application name --- handy/2-headerbar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handy/2-headerbar.py b/handy/2-headerbar.py index 19fe301..3bcbcff 100644 --- a/handy/2-headerbar.py +++ b/handy/2-headerbar.py @@ -3,13 +3,14 @@ selamun = "aleyküm" import gi, os gi.require_version("Gtk", "3.0") gi.require_version("Handy", "1") -from gi.repository import Gtk, Handy +from gi.repository import Gtk, Handy, GLib Handy.init() class MyWindow(Handy.Window): def __init__(self): super().__init__(title="Hello World") + GLib.set_application_name("Hello world") self.set_default_size(500, 300) # WindowHandle