Removed unnecessary method, PR #4796
This commit is contained in:
@@ -917,11 +917,6 @@ bool MyExpander::on_enabled_change(GdkEventButton* event)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MyExpander::setSensitive(bool makeSensitive)
|
|
||||||
{
|
|
||||||
set_sensitive(makeSensitive);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* Derived class of some widgets to properly handle the scroll wheel ;
|
* Derived class of some widgets to properly handle the scroll wheel ;
|
||||||
|
@@ -268,9 +268,6 @@ public:
|
|||||||
/// Set the collapsed/expanded state of the expander
|
/// Set the collapsed/expanded state of the expander
|
||||||
void set_expanded( bool expanded );
|
void set_expanded( bool expanded );
|
||||||
|
|
||||||
// Set whether the expander should be grayed-out.
|
|
||||||
void setSensitive(bool makeSensitive);
|
|
||||||
|
|
||||||
/// Get the collapsed/expanded state of the expander
|
/// Get the collapsed/expanded state of the expander
|
||||||
bool get_expanded();
|
bool get_expanded();
|
||||||
|
|
||||||
|
@@ -151,9 +151,9 @@ void FoldableToolPanel::setGrayedOut(bool doGrayOut)
|
|||||||
if (doGrayOut) {
|
if (doGrayOut) {
|
||||||
exp->setEnabled(false);
|
exp->setEnabled(false);
|
||||||
exp->set_expanded(false);
|
exp->set_expanded(false);
|
||||||
exp->setSensitive(false);
|
exp->set_sensitive(false);
|
||||||
} else {
|
} else {
|
||||||
exp->setSensitive(true);
|
exp->set_sensitive(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user