diff options
author | Translations <translations@dino.im> | 2020-05-17 20:07:48 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-05-17 20:07:48 +0200 |
commit | 82ce2426c14d05b1f6b8b5863f50651a21deb10c (patch) | |
tree | a406229e8995a0efb2c2c1b080afeaa6da42135a /main/src/ui/main_window.vala | |
parent | c6cf90a923027f4fed734b85356fa7e21c2d3896 (diff) | |
download | dino-82ce2426c14d05b1f6b8b5863f50651a21deb10c.tar.gz dino-82ce2426c14d05b1f6b8b5863f50651a21deb10c.zip |
Update translations
Diffstat (limited to 'main/src/ui/main_window.vala')
-rw-r--r-- | main/src/ui/main_window.vala | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/main/src/ui/main_window.vala b/main/src/ui/main_window.vala index afa16645..28e2bbd9 100644 --- a/main/src/ui/main_window.vala +++ b/main/src/ui/main_window.vala @@ -15,7 +15,6 @@ public class MainWindow : Gtk.Window { public WelcomePlceholder welcome_placeholder = new WelcomePlceholder() { visible=true }; public NoAccountsPlaceholder accounts_placeholder = new NoAccountsPlaceholder() { visible=true }; - public NoConversationsPlaceholder conversations_placeholder = new NoConversationsPlaceholder() { visible=true }; public ConversationView conversation_view; public ConversationSelector conversation_selector; public ConversationTitlebar conversation_titlebar; @@ -102,7 +101,6 @@ public class MainWindow : Gtk.Window { stack.add_named(box, "main"); stack.add_named(welcome_placeholder, "welcome_placeholder"); stack.add_named(accounts_placeholder, "accounts_placeholder"); - stack.add_named(conversations_placeholder, "conversations_placeholder"); add(stack); } @@ -215,17 +213,6 @@ public class NoAccountsPlaceholder : MainWindowPlaceholder { } } -public class NoConversationsPlaceholder : MainWindowPlaceholder { - public NoConversationsPlaceholder() { - title_label.label = _("No active conversations"); - primary_button.label = _("Start Conversation"); - secondary_button.label = _("Join Channel"); - title_label.visible = true; - label.visible = false; - secondary_button.visible = true; - } -} - [GtkTemplate (ui = "/im/dino/Dino/unified_window_placeholder.ui")] public class MainWindowPlaceholder : Box { [GtkChild] public Label title_label; |