diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/devicewidget.cc | 6 | ||||
-rw-r--r-- | src/devicewidget.h | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/devicewidget.cc b/src/devicewidget.cc index d03450f..b9b3b3c 100644 --- a/src/devicewidget.cc +++ b/src/devicewidget.cc @@ -281,14 +281,12 @@ RenameWindow::RenameWindow(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Buil auto renameAction = Gio::SimpleAction::create("rename"); renameAction->set_enabled(true); - renameAction->signal_activate().connect(sigc::mem_fun(*this, &RenameWindow::renamePopup)); + renameAction->signal_activate().connect(sigc::mem_fun(*this, &RenameWindow::doRename)); add_action(renameAction); } - - -void RenameWindow::renamePopup(const Glib::VariantBase& parameter){ +void RenameWindow::doRename(const Glib::VariantBase& parameter) { pa_operation* o; auto name = renameText->get_text(); diff --git a/src/devicewidget.h b/src/devicewidget.h index bd6f317..4fceda2 100644 --- a/src/devicewidget.h +++ b/src/devicewidget.h @@ -119,7 +119,7 @@ public: Gtk::Entry* renameText; const gchar* deviceKey; private: - void renamePopup(const Glib::VariantBase& parameter); + void doRename(const Glib::VariantBase& parameter); }; #endif |