diff --git a/Linux/PreferencesWindow.py b/Linux/PreferencesWindow.py new file mode 100644 index 0000000..bf628bd --- /dev/null +++ b/Linux/PreferencesWindow.py @@ -0,0 +1,15 @@ +from gi.repository import Gtk + +class PreferencesWindow(Gtk.Window): + + def __init__(self, app): + + self.app = app + Gtk.Window.__init__(self, title="Preferences") + + self.login_button = Gtk.Button(label="Login") + self.login_button.connect("clicked", self.on_login_button_clicked) + self.add(self.login_button) + + def on_login_button_clicked(self, widget): + print "Login" \ No newline at end of file diff --git a/Linux/PreferencesWindow.pyc b/Linux/PreferencesWindow.pyc new file mode 100644 index 0000000..b06a4fb Binary files /dev/null and b/Linux/PreferencesWindow.pyc differ diff --git a/Linux/Tentia.glade b/Linux/Tentia.glade new file mode 100644 index 0000000..e4233f8 --- /dev/null +++ b/Linux/Tentia.glade @@ -0,0 +1,80 @@ + + + + + 300 + 193 + False + Preferences + False + center + notification + True + True + False + perferences + + + True + False + 488 + 270 + + + 100 + 100 + True + False + Icon.png + + + 18 + 24 + + + + + 159 + 21 + True + False + Add you entity to log in: + + + 142 + 25 + + + + + 366 + 31 + True + True + + https://example.tent.is + url + + + 141 + 53 + + + + + button + 100 + 30 + True + True + True + + + 404 + 92 + + + + + + diff --git a/Linux/Tentia.py b/Linux/Tentia.py new file mode 100755 index 0000000..2364c28 --- /dev/null +++ b/Linux/Tentia.py @@ -0,0 +1,20 @@ +#!/usr/bin/env python +from gi.repository import Gtk +import PreferencesWindow + +class Tentia: + + def __init__(self): + self.setup_preferences_window() + self.preferences_window.show_all() + Gtk.main() + + def quit(self): + Gtk.main_quit + + def setup_preferences_window(self): + self.preferences_window = PreferencesWindow(self) + + +if __name__ == "__main__": + Tentia() \ No newline at end of file