projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new trim cursors from chrisg, fix up hotspots for said cursors, make Editor cursors...
[ardour.git]
/
gtk2_ardour
/
location_ui.cc
diff --git
a/gtk2_ardour/location_ui.cc
b/gtk2_ardour/location_ui.cc
index eebec3556eff01f2cd347d3b23303ae571a72ab2..5a2e11038c482c87c8a4e88c5baecd945b3fe509 100644
(file)
--- a/
gtk2_ardour/location_ui.cc
+++ b/
gtk2_ardour/location_ui.cc
@@
-21,7
+21,6
@@
#include <cstdlib>
#include <gtkmm2ext/utils.h>
#include <cstdlib>
#include <gtkmm2ext/utils.h>
-#include <gtkmm2ext/stop_signal.h>
#include "ardour/utils.h"
#include "ardour/configuration.h"
#include "ardour/utils.h"
#include "ardour/configuration.h"
@@
-226,7
+225,7
@@
LocationEditRow::set_location (Location *loc)
item_table.attach (remove_button, 6, 7, 0, 1, FILL, FILL, 4, 0);
}
item_table.attach (remove_button, 6, 7, 0, 1, FILL, FILL, 4, 0);
}
- if (location->is_
end() || location->is_start
()) {
+ if (location->is_
session_range
()) {
remove_button.set_sensitive (false);
}
remove_button.set_sensitive (false);
}
@@
-671,7
+670,7
@@
LocationUI::do_location_remove (ARDOUR::Location *loc)
cannot be removed.
*/
cannot be removed.
*/
- if (loc->is_
end
()) {
+ if (loc->is_
session_range
()) {
return FALSE;
}
return FALSE;
}
@@
-896,9
+895,8
@@
LocationUI::session_going_away()
/*------------------------*/
LocationUIWindow::LocationUIWindow ()
/*------------------------*/
LocationUIWindow::LocationUIWindow ()
- : ArdourDialog (
"locations dialog"
)
+ : ArdourDialog (
_("Locations")
)
{
{
- set_title (_("Locations"));
set_wmclass(X_("ardour_locations"), "Ardour");
set_name ("LocationWindow");
set_wmclass(X_("ardour_locations"), "Ardour");
set_name ("LocationWindow");