From b3e192e3afdf498e64141a679e6aa525d6509063 Mon Sep 17 00:00:00 2001 From: Stefano Facchini Date: Sat, 21 Oct 2017 14:38:11 +0200 Subject: panel: remove the "apply_label" API It was used only by the Memory dialog, which can very well add the "Recalculate" button itself. --- src/ui/widget/panel.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/ui/widget/panel.cpp') diff --git a/src/ui/widget/panel.cpp b/src/ui/widget/panel.cpp index cc17262af..2d0a75d2b 100644 --- a/src/ui/widget/panel.cpp +++ b/src/ui/widget/panel.cpp @@ -56,13 +56,12 @@ void Panel::prep() { } Panel::Panel(Glib::ustring const &label, gchar const *prefs_path, - int verb_num, Glib::ustring const &apply_label, + int verb_num, bool menu_desired) : _prefs_path(prefs_path), _menu_desired(menu_desired), _desktop(SP_ACTIVE_DESKTOP), _label(label), - _apply_label(apply_label), _verb_num(verb_num), _temp_arrow(), _menu(0), @@ -543,11 +542,6 @@ int const &Panel::getVerb() const return _verb_num; } -Glib::ustring const &Panel::getApplyLabel() const -{ - return _apply_label; -} - void Panel::setDesktop(SPDesktop *desktop) { _desktop = desktop; -- cgit v1.2.3