Update main.py

This commit is contained in:
Alperen İsa Nalbant 2022-05-15 16:14:36 +03:00 committed by GitHub
parent 94819e94d1
commit 8b9c936516
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

10
main.py
View file

@ -8,10 +8,10 @@ Handy.init()
class MyWindow(Handy.Window): class MyWindow(Handy.Window):
def __init__(self): def __init__(self):
super().__init__(title="TeTeOS.Net") super().__init__(title="Tarayıcı")
self.set_title("TeTeOS.Net") self.set_title("Tarayıcı")
GLib.set_application_name("TeTeOS.Net") GLib.set_application_name("Tarayıcı")
GLib.set_prgname('TeTeOS.net') GLib.set_prgname('Tarayıcı')
self.main_box = Gtk.Box( self.main_box = Gtk.Box(
spacing = 6, spacing = 6,
@ -69,4 +69,4 @@ class MyWindow(Handy.Window):
win = MyWindow() win = MyWindow()
win.connect("destroy", Gtk.main_quit) win.connect("destroy", Gtk.main_quit)
win.show_all() win.show_all()
Gtk.main() Gtk.main()