- fixed editor forced minimum size issue
- fixed thinko in selectable - fixed incorrect virtual method signature in fft_graph git-svn-id: svn://localhost/ardour2/trunk@665 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -2184,7 +2184,6 @@ Editor::set_state (const XMLNode& node)
|
||||
yoff = atoi(geometry->property("y_off")->value());
|
||||
}
|
||||
|
||||
set_geometry_hints (vpacker, g, Gdk::HINT_BASE_SIZE);
|
||||
set_default_size (g.base_width, g.base_height);
|
||||
move (x, y);
|
||||
|
||||
|
||||
@@ -384,7 +384,7 @@ FFTGraph::on_size_request(Gtk::Requisition* requisition)
|
||||
}
|
||||
|
||||
void
|
||||
FFTGraph::on_size_allocate(Gtk::Allocation alloc)
|
||||
FFTGraph::on_size_allocate(Gtk::Allocation & alloc)
|
||||
{
|
||||
width = alloc.get_width();
|
||||
height = alloc.get_height();
|
||||
|
||||
@@ -51,7 +51,7 @@ class FFTGraph : public Gtk::DrawingArea
|
||||
bool on_expose_event (GdkEventExpose* event);
|
||||
|
||||
void on_size_request(Gtk::Requisition* requisition);
|
||||
void on_size_allocate(Gtk::Allocation alloc);
|
||||
void on_size_allocate(Gtk::Allocation & alloc);
|
||||
FFTResult *prepareResult(Gdk::Color color, std::string trackname);
|
||||
|
||||
private:
|
||||
|
||||
@@ -34,7 +34,7 @@ class Selectable : public virtual sigc::trackable
|
||||
|
||||
virtual void set_selected (bool yn) {
|
||||
if (yn != _selected) {
|
||||
_selected = true;
|
||||
_selected = yn;
|
||||
Selected (_selected); /* EMIT_SIGNAL */
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user