aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_list_titlebar.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2024-09-15 20:04:52 +0200
committerfiaxh <git@lightrise.org>2024-09-15 20:15:14 +0200
commite8f82fd328697542d2ee0233635b694827a5cc79 (patch)
treeb3fe7981ded0f9d570c64a09494734711035b09c /main/src/ui/conversation_list_titlebar.vala
parent63ba0bc93636de557ced29c19b2b61eeeab57bf8 (diff)
downloaddino-e8f82fd328697542d2ee0233635b694827a5cc79.tar.gz
dino-e8f82fd328697542d2ee0233635b694827a5cc79.zip
Code cleanup: Remove broken disable CSD code
Diffstat (limited to 'main/src/ui/conversation_list_titlebar.vala')
-rw-r--r--main/src/ui/conversation_list_titlebar.vala15
1 files changed, 2 insertions, 13 deletions
diff --git a/main/src/ui/conversation_list_titlebar.vala b/main/src/ui/conversation_list_titlebar.vala
index 7daab5e5..51dbdcf6 100644
--- a/main/src/ui/conversation_list_titlebar.vala
+++ b/main/src/ui/conversation_list_titlebar.vala
@@ -4,19 +4,8 @@ using Dino.Entities;
namespace Dino.Ui {
-[GtkTemplate (ui = "/im/dino/Dino/conversation_list_titlebar.ui")]
-public class ConversationListTitlebar : Gtk.Box {
-
- [GtkChild] private unowned MenuButton add_button;
- [GtkChild] private unowned MenuButton menu_button;
-
- public ConversationListTitlebar() {
- create_add_menu(add_button, menu_button);
- }
-}
-
-public static Adw.HeaderBar get_conversation_list_titlebar_csd() {
- Builder builder = new Builder.from_resource("/im/dino/Dino/conversation_list_titlebar_csd.ui");
+public static Adw.HeaderBar get_conversation_list_titlebar() {
+ Builder builder = new Builder.from_resource("/im/dino/Dino/conversation_list_titlebar.ui");
MenuButton add_button = (MenuButton) builder.get_object("add_button");
MenuButton menu_button = (MenuButton) builder.get_object("menu_button");
create_add_menu(add_button, menu_button);