From 5858675c2c06ade266ca2527b64f5fac3f42813e Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 6 Nov 2014 12:34:39 +0100 Subject: [PATCH] plugins: allow empty menu hints Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/95eab2a48d2b58e1fae67af60f6ec58e4dcd3c72 Author: vanhofen Date: 2014-11-06 (Thu, 06 Nov 2014) Origin message was: ------------------ - plugins: allow empty menu hints --- src/gui/plugins.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/plugins.cpp b/src/gui/plugins.cpp index 2588117b9..3611d377b 100644 --- a/src/gui/plugins.cpp +++ b/src/gui/plugins.cpp @@ -213,6 +213,7 @@ bool CPlugins::parseCfg(plugin *plugin_data) plugin_data->type = CPlugins::P_TYPE_DISABLED; plugin_data->integration = CPlugins::I_TYPE_DISABLED; plugin_data->hinticon = NEUTRINO_ICON_HINT_PLUGIN; + plugin_data->description = " "; //FIXME: To show empty desc as a menu hint the string may not be empty std::string _hintIcon = plugin_data->plugindir + "/" + plugin_data->filename + "_hint.png"; if (access(_hintIcon.c_str(), F_OK) == 0)