]> Dogcows Code - chaz/openbox/commitdiff
Change the message about no icons in menus.
authorDana Jansens <danakj@orodu.net>
Sun, 11 Aug 2013 02:24:08 +0000 (22:24 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 11 Aug 2013 02:24:08 +0000 (22:24 -0400)
The message used to mention Imlib2, but now there are two libraries
that can be used to support icons. So make the message more generic
and show it only when both libraries are not present.

openbox/config.c

index 03fc96b35bafc937f8fef9e4caf7411af1f03a7a..49fc29bcb7becf219f4a201373d98d987e84d0f9 100644 (file)
@@ -930,9 +930,9 @@ static void parse_menu(xmlNodePtr node, gpointer d)
         config_menu_manage_desktops = obt_xml_node_bool(n);
     if ((n = obt_xml_find_node(node, "showIcons"))) {
         config_menu_show_icons = obt_xml_node_bool(n);
-#ifndef USE_IMLIB2
+#if !defined(USE_IMLIB2) && !defined(USE_LIBRSVG)
         if (config_menu_show_icons)
-            g_message(_("Openbox was compiled without Imlib2 image loading support. Icons in menus will not be loaded."));
+            g_message(_("Openbox was compiled without image loading support. Icons in menus will not be loaded."));
 #endif
     }
 
This page took 0.020887 seconds and 4 git commands to generate.