Fixes markup in Load/save/copy/paste Profile button tooltips, issue 1388

This commit is contained in:
DrSlony
2012-06-03 02:33:02 +01:00
parent 115e3910e3
commit f7940df636

View File

@@ -81,10 +81,10 @@ ProfilePanel::ProfilePanel (bool readOnly) {
old = profiles->get_active_text();
changeconn = profiles->signal_changed().connect( sigc::mem_fun(*this, &ProfilePanel::selection_changed) );
load->set_tooltip_text (M("PROFILEPANEL_TOOLTIPLOAD"));
if (!readOnly) save->set_tooltip_text (M("PROFILEPANEL_TOOLTIPSAVE"));
if (!readOnly) copy->set_tooltip_text (M("PROFILEPANEL_TOOLTIPCOPY"));
paste->set_tooltip_text (M("PROFILEPANEL_TOOLTIPPASTE"));
load->set_tooltip_markup (M("PROFILEPANEL_TOOLTIPLOAD"));
if (!readOnly) save->set_tooltip_markup (M("PROFILEPANEL_TOOLTIPSAVE"));
if (!readOnly) copy->set_tooltip_markup (M("PROFILEPANEL_TOOLTIPCOPY"));
paste->set_tooltip_markup (M("PROFILEPANEL_TOOLTIPPASTE"));
show_all_children ();
}