aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/application.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-02-21 03:06:27 +0100
committerfiaxh <git@lightrise.org>2020-02-22 02:58:36 +0100
commitf282ef68a44d6b1924869160b4ddcb88d8d8e715 (patch)
tree4c1ea9383a6c27f0adb062a27547ca6ddbd80785 /main/src/ui/application.vala
parentd550fc905c79dccd51adb2d296140810ddc694fb (diff)
downloaddino-f282ef68a44d6b1924869160b4ddcb88d8d8e715.tar.gz
dino-f282ef68a44d6b1924869160b4ddcb88d8d8e715.zip
Rename UnifiedWindow -> MainWindow
Diffstat (limited to 'main/src/ui/application.vala')
-rw-r--r--main/src/ui/application.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/src/ui/application.vala b/main/src/ui/application.vala
index 2b4b2d3e..9b6763fa 100644
--- a/main/src/ui/application.vala
+++ b/main/src/ui/application.vala
@@ -6,8 +6,8 @@ using Xmpp;
public class Dino.Ui.Application : Gtk.Application, Dino.Application {
private Notifications notifications;
- private UnifiedWindow window;
- public UnifiedWindowController controller;
+ private MainWindow window;
+ public MainWindowController controller;
public Database db { get; set; }
public Dino.Entities.Settings settings { get; set; }
@@ -35,9 +35,9 @@ public class Dino.Ui.Application : Gtk.Application, Dino.Application {
activate.connect(() => {
if (window == null) {
- controller = new UnifiedWindowController(this, stream_interactor, db);
+ controller = new MainWindowController(this, stream_interactor, db);
config = new Config(db);
- window = new UnifiedWindow(this, stream_interactor, db, config);
+ window = new MainWindow(this, stream_interactor, db, config);
controller.set_window(window);
if ((get_flags() & ApplicationFlags.IS_SERVICE) == ApplicationFlags.IS_SERVICE) window.delete_event.connect(window.hide_on_delete);