diff options
| author | Dana Jansens <danakj@orodu.net> | 2013-08-10 22:24:08 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2013-08-10 22:24:08 -0400 |
| commit | b73f419001740e8f9fd37f88f3df205f66404d18 (patch) | |
| tree | 67a37700767974c0f8f80cc3bc03f18e0a98b389 /openbox/config.c | |
| parent | 4e6c0086a657399d989f2e4849f7b397d7d4efbc (diff) | |
Change the message about no icons in menus.
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.
Diffstat (limited to 'openbox/config.c')
| -rw-r--r-- | openbox/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/config.c b/openbox/config.c index 03fc96b3..49fc29bc 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -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 } |
