From b8ed0c1980ea6de930c227a907b706cf8b66793c 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 ------------------ Branch: ni/coolstream 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 ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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)