summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/panel.cpp
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2017-06-29 12:35:19 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2017-06-29 12:35:19 +0000
commit2380b3e055e1fb4167d2aff01a79b1d06f1d10f7 (patch)
treeadc5683e882c8a04bb8177350deb0072491c8edc /src/ui/widget/panel.cpp
parentAdd replacements for themedir for osx and win32 (diff)
parentAdd missing icon (diff)
downloadinkscape-2380b3e055e1fb4167d2aff01a79b1d06f1d10f7.tar.gz
inkscape-2380b3e055e1fb4167d2aff01a79b1d06f1d10f7.zip
Hackfest icon work: restore selected menu icons and make theming easier
Diffstat (limited to 'src/ui/widget/panel.cpp')
-rw-r--r--src/ui/widget/panel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widget/panel.cpp b/src/ui/widget/panel.cpp
index dff92594b..9332fe0f9 100644
--- a/src/ui/widget/panel.cpp
+++ b/src/ui/widget/panel.cpp
@@ -46,7 +46,7 @@ static const int PANEL_SETTING_NEXTFREE = 5;
void Panel::prep() {
GtkIconSize sizes[] = {
- Inkscape::getRegisteredIconSize(Inkscape::ICON_SIZE_DECORATION),
+ GTK_ICON_SIZE_MENU,
GTK_ICON_SIZE_MENU,
GTK_ICON_SIZE_SMALL_TOOLBAR,
GTK_ICON_SIZE_BUTTON,
@@ -270,7 +270,7 @@ void Panel::_init()
gint height = 0;
gtk_image_set_from_icon_name(_temp_arrow.gobj(),
"pan-start-symbolic",
- Inkscape::getRegisteredIconSize(Inkscape::ICON_SIZE_SMALL_TOOLBAR));
+ GTK_ICON_SIZE_SMALL_TOOLBAR);
_menu_popper.add(_temp_arrow);
_menu_popper.signal_button_press_event().connect_notify(sigc::mem_fun(*this, &Panel::_popper));
}