Skip to content

Commit

Permalink
fix #1224
Browse files Browse the repository at this point in the history
  • Loading branch information
alainm23 committed May 11, 2024
1 parent 28b2498 commit 7a9fcf9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Layouts/SectionRow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,7 @@ public class Layouts.SectionRow : Gtk.ListBoxRow {
}

var edit_gesture = new Gtk.GestureClick ();
edit_gesture.set_button (1);
handle_grid.add_controller (edit_gesture);

name_editable.add_controller (edit_gesture);
edit_gesture.pressed.connect (() => {
Timeout.add (Constants.DRAG_TIMEOUT, () => {
if (!on_drag) {
Expand Down Expand Up @@ -417,13 +415,11 @@ public class Layouts.SectionRow : Gtk.ListBoxRow {
sectionrow_grid.add_controller (motion_gesture);

motion_gesture.enter.connect (() => {
// actions_box_revealer.reveal_child = true;
name_editable.show_edit = true;
});

motion_gesture.leave.connect (() => {
if (!menu_button.active) {
// actions_box_revealer.reveal_child = false;
name_editable.show_edit = false;
}
});
Expand Down

0 comments on commit 7a9fcf9

Please sign in to comment.