From fafbf6e87b3051851c8a93065b09c016ddbbb585 Mon Sep 17 00:00:00 2001 From: fgerlits Date: Thu, 30 Nov 2006 11:51:41 +0000 Subject: [PATCH] undo of [2678] --- .../include/LiveSupport/Widgets/ComboBoxText.h | 13 ------------- .../src/products/gLiveSupport/src/BrowseEntry.h | 16 +--------------- .../src/products/gLiveSupport/src/BrowseItem.h | 13 ------------- .../products/gLiveSupport/src/SearchWindow.cxx | 2 -- 4 files changed, 1 insertion(+), 43 deletions(-) diff --git a/campcaster/src/modules/widgets/include/LiveSupport/Widgets/ComboBoxText.h b/campcaster/src/modules/widgets/include/LiveSupport/Widgets/ComboBoxText.h index ed4702998..a1d83bd68 100644 --- a/campcaster/src/modules/widgets/include/LiveSupport/Widgets/ComboBoxText.h +++ b/campcaster/src/modules/widgets/include/LiveSupport/Widgets/ComboBoxText.h @@ -355,19 +355,6 @@ class ComboBoxText : public Gtk::ComboBoxText */ sigc::signal 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); - } }; diff --git a/campcaster/src/products/gLiveSupport/src/BrowseEntry.h b/campcaster/src/products/gLiveSupport/src/BrowseEntry.h index 0d527bcbb..ad897b4a2 100644 --- a/campcaster/src/products/gLiveSupport/src/BrowseEntry.h +++ b/campcaster/src/products/gLiveSupport/src/BrowseEntry.h @@ -132,24 +132,10 @@ class BrowseEntry : public Gtk::HBox, * @return the signalSelectionChanged() of the last browse item */ sigc::signal - signalSelectionChanged(void) throw () + signalSelectionChanged(void) throw () { 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); - } }; diff --git a/campcaster/src/products/gLiveSupport/src/BrowseItem.h b/campcaster/src/products/gLiveSupport/src/BrowseItem.h index 76e67375b..d0e159356 100644 --- a/campcaster/src/products/gLiveSupport/src/BrowseItem.h +++ b/campcaster/src/products/gLiveSupport/src/BrowseItem.h @@ -251,19 +251,6 @@ class BrowseItem : public Gtk::VBox, { 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); - } }; diff --git a/campcaster/src/products/gLiveSupport/src/SearchWindow.cxx b/campcaster/src/products/gLiveSupport/src/SearchWindow.cxx index c4975e736..6b77397cc 100644 --- a/campcaster/src/products/gLiveSupport/src/SearchWindow.cxx +++ b/campcaster/src/products/gLiveSupport/src/SearchWindow.cxx @@ -1093,10 +1093,8 @@ void SearchWindow :: onSearchWhereChanged(void) throw () { if (searchIsLocal()) { - browseEntry->setSensitive(true); searchResultsTreeView->set_model(localSearchResults); } else { - browseEntry->setSensitive(false); searchResultsTreeView->set_model(remoteSearchResults); }