From 9d332a0d1d913cd547a88e95d26bcd5f48c24c4d Mon Sep 17 00:00:00 2001 From: jeffser Date: Sun, 23 Jun 2024 21:47:54 -0600 Subject: [PATCH] Removed leftover code --- src/window.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/window.py b/src/window.py index 7395492..68e69e4 100644 --- a/src/window.py +++ b/src/window.py @@ -981,27 +981,6 @@ class AlpacaWindow(Adw.ApplicationWindow): child = chat_box, name = chat_name ) - - - """ - button_delete = Gtk.Button( - icon_name = "user-trash-symbolic", - vexpand = False, - valign = 3, - css_classes = ["error", "flat"] - ) - button_delete.connect("clicked", lambda button, chat_name=chat_name: dialogs.delete_chat(self, chat_name)) - button_rename = Gtk.Button( - icon_name = "document-edit-symbolic", - vexpand = False, - valign = 3, - css_classes = ["accent", "flat"] - ) - - button_rename.connect("clicked", lambda button, label_element=chat_label: dialogs.rename_chat(self, label_element)) - chat_content.append(button_delete) - chat_content.append(button_rename) - """ gesture = Gtk.GestureClick(button=3) gesture.connect("pressed", lambda gesture, n_press, x, y, chat_label=chat_label, popover=popover : self.chat_click_handler(gesture, n_press, x, y, chat_label, popover)) chat_row.add_controller(gesture)