undo of [2678]
This commit is contained in:
parent
79723bc653
commit
fafbf6e87b
campcaster/src
modules/widgets/include/LiveSupport/Widgets
products/gLiveSupport/src
|
@ -355,19 +355,6 @@ class ComboBoxText : public Gtk::ComboBoxText
|
||||||
*/
|
*/
|
||||||
sigc::signal<void>
|
sigc::signal<void>
|
||||||
signalSelectionChanged(void) throw ();
|
signalSelectionChanged(void) throw ();
|
||||||
|
|
||||||
/**
|
|
||||||
* Enable or disable the widget.
|
|
||||||
*
|
|
||||||
* @param sensitive if true, the widget is enabled (default);
|
|
||||||
* if false, the widget is disabled.
|
|
||||||
*/
|
|
||||||
virtual void
|
|
||||||
set_sensitive(bool sensitive = true) throw ()
|
|
||||||
{
|
|
||||||
label->set_sensitive(sensitive);
|
|
||||||
Gtk::ComboBoxText::set_sensitive(sensitive);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -132,24 +132,10 @@ class BrowseEntry : public Gtk::HBox,
|
||||||
* @return the signalSelectionChanged() of the last browse item
|
* @return the signalSelectionChanged() of the last browse item
|
||||||
*/
|
*/
|
||||||
sigc::signal<void>
|
sigc::signal<void>
|
||||||
signalSelectionChanged(void) throw ()
|
signalSelectionChanged(void) throw ()
|
||||||
{
|
{
|
||||||
return browseItemThree->signalSelectionChanged();
|
return browseItemThree->signalSelectionChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Enable or disable the widget.
|
|
||||||
*
|
|
||||||
* @param sensitive if true, the widget is enabled (default);
|
|
||||||
* if false, the widget is disabled.
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
setSensitive(bool sensitive = true) throw ()
|
|
||||||
{
|
|
||||||
browseItemOne->setSensitive(sensitive);
|
|
||||||
browseItemTwo->setSensitive(sensitive);
|
|
||||||
browseItemThree->setSensitive(sensitive);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -251,19 +251,6 @@ class BrowseItem : public Gtk::VBox,
|
||||||
{
|
{
|
||||||
return signalSelectionChangedObject;
|
return signalSelectionChangedObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Enable or disable the widget.
|
|
||||||
*
|
|
||||||
* @param sensitive if true, the widget is enabled (default);
|
|
||||||
* if false, the widget is disabled.
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
setSensitive(bool sensitive = true) throw ()
|
|
||||||
{
|
|
||||||
metadataEntry->set_sensitive(sensitive);
|
|
||||||
metadataValues->set_sensitive(sensitive);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1093,10 +1093,8 @@ void
|
||||||
SearchWindow :: onSearchWhereChanged(void) throw ()
|
SearchWindow :: onSearchWhereChanged(void) throw ()
|
||||||
{
|
{
|
||||||
if (searchIsLocal()) {
|
if (searchIsLocal()) {
|
||||||
browseEntry->setSensitive(true);
|
|
||||||
searchResultsTreeView->set_model(localSearchResults);
|
searchResultsTreeView->set_model(localSearchResults);
|
||||||
} else {
|
} else {
|
||||||
browseEntry->setSensitive(false);
|
|
||||||
searchResultsTreeView->set_model(remoteSearchResults);
|
searchResultsTreeView->set_model(remoteSearchResults);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue