aboutsummaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorhwspeedy <ns@bigbear.dk>2024-04-28 20:58:03 +0200
committerhwspeedy <ns@bigbear.dk>2024-04-28 20:58:03 +0200
commitac0492fae37edb527f5730fa49895ebb217c5c55 (patch)
tree9c8acc562d0d415d6a8eafeebb4120ed3cc52b18 /includes
parent73334e01c47a37c4c0f9c3d3778be2a8df826ba1 (diff)
FIX Theme disabled for GTK3<3.20, Fix refresh abort status msg
Diffstat (limited to 'includes')
-rw-r--r--includes/uidefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/uidefs.h b/includes/uidefs.h
index 42587519..ebf21d9c 100644
--- a/includes/uidefs.h
+++ b/includes/uidefs.h
@@ -23,6 +23,7 @@ char *uidefs_str =
" <menu name=\"ViewMenu\" action=\"ViewMenuAction\">"
" <menuitem name=\"SidePane\" action=\"SidePaneAction\"/>"
" <menuitem name=\"Toolbar\" action=\"ToolbarAction\"/>"
+#if GTK_CHECK_VERSION(3, 20, 0)
" <menu name=\"ThemeMenu\" action=\"ThemeMenuAction\">"
" <menuitem name=\"DisableTheme\" action=\"DisableThemeAction\"/>"
" <menuitem name=\"Theme1\" action=\"Theme1Action\"/>"
@@ -32,6 +33,7 @@ char *uidefs_str =
" <menuitem name=\"Theme5\" action=\"Theme5Action\"/>"
" <menuitem name=\"Theme6\" action=\"Theme6Action\"/>"
" </menu>"
+#endif
" <separator/>"
" <separator name=\"LastSep\"/>"
" <menuitem name=\"Refresh\" action=\"RefreshAction\"/>"