summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/layer-properties.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-01-01 13:59:51 +0000
committerJabiertxof <jtx@jtx>2017-01-01 13:59:51 +0000
commit6d4adfb2fce437335a6c5226624a24c44164974d (patch)
tree087a8b83f59ca89a8ddd9d82b1da6749e7d4cef6 /src/ui/dialog/layer-properties.cpp
parentUpdate to trunk (diff)
parentFix bug/add feature on #1653380 on rotate copies (diff)
downloadinkscape-6d4adfb2fce437335a6c5226624a24c44164974d.tar.gz
inkscape-6d4adfb2fce437335a6c5226624a24c44164974d.zip
Update to trunk
(bzr r15295.1.40)
Diffstat (limited to 'src/ui/dialog/layer-properties.cpp')
-rw-r--r--src/ui/dialog/layer-properties.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ui/dialog/layer-properties.cpp b/src/ui/dialog/layer-properties.cpp
index f28f8336a..c8c42ef90 100644
--- a/src/ui/dialog/layer-properties.cpp
+++ b/src/ui/dialog/layer-properties.cpp
@@ -14,7 +14,6 @@
*/
#include "layer-properties.h"
-#include <gtkmm/stock.h>
#include <glibmm/i18n.h>
#include <glibmm/main.h>
@@ -36,7 +35,11 @@ namespace UI {
namespace Dialogs {
LayerPropertiesDialog::LayerPropertiesDialog()
-: _strategy(NULL), _desktop(NULL), _layer(NULL), _position_visible(false)
+ : _strategy(NULL),
+ _desktop(NULL),
+ _layer(NULL),
+ _position_visible(false),
+ _close_button(_("_Cancel"), true)
{
auto mainVBox = get_content_area();
_layout_table.set_row_spacing(4);
@@ -59,8 +62,6 @@ LayerPropertiesDialog::LayerPropertiesDialog()
mainVBox->pack_start(_layout_table, true, true, 4);
// Buttons
- _close_button.set_use_stock(true);
- _close_button.set_label(Gtk::Stock::CANCEL.id);
_close_button.set_can_default();
_apply_button.set_use_underline(true);