914 |
); |
); |
915 |
menuMacro->append(*item); |
menuMacro->append(*item); |
916 |
item->set_accel_path("<Macros>/macro_" + ToString(iMacro)); |
item->set_accel_path("<Macros>/macro_" + ToString(iMacro)); |
917 |
|
Glib::ustring comment = macro.comment(); |
918 |
|
if (!comment.empty()) |
919 |
|
item->set_tooltip_text(comment); |
920 |
} |
} |
921 |
// if there are no macros configured at all, then show a dummy entry instead |
// if there are no macros configured at all, then show a dummy entry instead |
922 |
if (m_macros.empty()) { |
if (m_macros.empty()) { |