mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
rename close action
This commit is contained in:
parent
f23a54c58a
commit
5868ed822f
11 changed files with 42 additions and 35 deletions
|
|
@ -3,10 +3,10 @@
|
|||
using namespace app::browser::main::tab;
|
||||
|
||||
Label::Label(
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__CLOSE
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__CLOSE_ACTIVE
|
||||
) {
|
||||
// Init actions
|
||||
action__close = ACTION__CLOSE;
|
||||
action__close_active = ACTION__CLOSE_ACTIVE;
|
||||
|
||||
// Setup label controller
|
||||
auto GtkGestureClick = Gtk::GestureClick::create();
|
||||
|
|
@ -21,7 +21,7 @@ Label::Label(
|
|||
{
|
||||
if (n == 2) // double click
|
||||
{
|
||||
action__close->activate();
|
||||
action__close_active->activate();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue