Code

Cleanup of named icon background rendering and added pref for workaround
[inkscape.git] / src / ui / dialog / inkscape-preferences.cpp
index 8a2a44ccc5f1543488c5994c57cdbad07296c3aa..62c8750e2b46b1293ac38e8767de2da6d1b64aad 100644 (file)
@@ -1065,6 +1065,9 @@ void InkscapePreferences::initPageMisc()
     _page_misc.add_line( false, _("Latency skew:"), _misc_latency_skew, _("(requires restart)"),
                            _("Factor by which the event clock is skewed from the actual time (0.9766 on some systems)."), false);
 
+    _misc_namedicon_delay.init( _("Pre-render named icons"), "options.iconrender", "named_nodelay", false);
+    _page_misc.add_line( false, "", _misc_namedicon_delay, "",
+                           _("When on, named icons will be rendered before displaying the ui. This is for working around bugs in GTK+ named icon notification"), true);
 
     this->AddPage(_page_misc, _("Misc"), PREFS_PAGE_MISC);
 }