diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2018-11-10 18:23:44 +0000 |
|---|---|---|
| committer | Jabiertxof <jabier.arraiza@marker.es> | 2018-11-10 18:23:44 +0000 |
| commit | 1f4079145c240c43f9fb4a9ef86ecbe31fbbe4d0 (patch) | |
| tree | 788d424ae4af41a431ba8da55d544f649bcf2c39 /src/inkscape.cpp | |
| parent | fix compiling on macOS (diff) | |
| download | inkscape-1f4079145c240c43f9fb4a9ef86ecbe31fbbe4d0.tar.gz inkscape-1f4079145c240c43f9fb4a9ef86ecbe31fbbe4d0.zip | |
Fix a bug icons dont show if no dialog open
Diffstat (limited to 'src/inkscape.cpp')
| -rw-r--r-- | src/inkscape.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp index f68331f18..569e957d3 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -498,6 +498,10 @@ Application::Application(const char* argv, bool use_gui) : } if (use_gui) { + using namespace Inkscape::IO::Resource; + auto icon_theme = Gtk::IconTheme::get_default(); + icon_theme->prepend_search_path(get_path_ustring(SYSTEM, ICONS)); + icon_theme->prepend_search_path(get_path_ustring(USER, ICONS)); add_style_sheet(); /* Load the preferences and menus */ GtkSettings *settings = gtk_settings_get_default(); |
