1 |
/* |
/* |
2 |
* Copyright (C) 2006-2009 Andreas Persson |
* Copyright (C) 2006-2010 Andreas Persson |
3 |
* |
* |
4 |
* This program is free software; you can redistribute it and/or |
* This program is free software; you can redistribute it and/or |
5 |
* modify it under the terms of the GNU General Public License as |
* modify it under the terms of the GNU General Public License as |
267 |
addHeader(_("Mandatory Settings")); |
addHeader(_("Mandatory Settings")); |
268 |
addString(_("Sample"), lSample, wSample); |
addString(_("Sample"), lSample, wSample); |
269 |
//TODO: the following would break drag&drop: wSample->property_editable().set_value(false); or this: wSample->set_editable(false); |
//TODO: the following would break drag&drop: wSample->property_editable().set_value(false); or this: wSample->set_editable(false); |
270 |
|
#ifdef OLD_TOOLTIPS |
271 |
tooltips.set_tip(*wSample, _("Drop a sample here")); |
tooltips.set_tip(*wSample, _("Drop a sample here")); |
272 |
|
#else |
273 |
|
wSample->set_tooltip_text(_("Drop a sample here")); |
274 |
|
#endif |
275 |
addProp(eUnityNote); |
addProp(eUnityNote); |
276 |
addHeader(_("Optional Settings")); |
addHeader(_("Optional Settings")); |
277 |
addProp(eSampleStartOffset); |
addProp(eSampleStartOffset); |