summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/panel.cpp
diff options
context:
space:
mode:
authorStefano Facchini <stefano.facchini@gmail.com>2017-10-21 12:38:11 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-01-16 20:46:09 +0000
commitb3e192e3afdf498e64141a679e6aa525d6509063 (patch)
tree2b0980aab11c026bf220155becc3d9fb266d8ef5 /src/ui/widget/panel.cpp
parentRemove obsolete build defines (diff)
downloadinkscape-b3e192e3afdf498e64141a679e6aa525d6509063.tar.gz
inkscape-b3e192e3afdf498e64141a679e6aa525d6509063.zip
panel: remove the "apply_label" API
It was used only by the Memory dialog, which can very well add the "Recalculate" button itself.
Diffstat (limited to 'src/ui/widget/panel.cpp')
-rw-r--r--src/ui/widget/panel.cpp8
1 files changed, 1 insertions, 7 deletions
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;