Rename update_sensitivity to setup_sensitivity for consistency.
authorCarl Hetherington <cth@carlh.net>
Wed, 16 Sep 2015 10:46:58 +0000 (11:46 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 16 Sep 2015 10:46:58 +0000 (11:46 +0100)
src/wx/fonts_dialog.cc
src/wx/fonts_dialog.h

index de53a3c2830a83849ea1d41a1ba813d42c98baa8..ff5b107c9f8f336653382d45f5c54ef8d97042c8 100644 (file)
@@ -110,7 +110,7 @@ FontsDialog::setup ()
                ++n;
        }
 
-       update_sensitivity ();
+       setup_sensitivity ();
 }
 
 void
@@ -185,11 +185,11 @@ FontsDialog::set_selected_font_file (boost::filesystem::path file)
 void
 FontsDialog::selection_changed ()
 {
-       update_sensitivity ();
+       setup_sensitivity ();
 }
 
 void
-FontsDialog::update_sensitivity ()
+FontsDialog::setup_sensitivity ()
 {
        int const item = _fonts->GetNextItem (-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
        _set_from_file->Enable (item != -1);
index c29a982c932ee318a9d5550fa157304542463bc7..26c2a5eaa1848247152674e1abb9708bbbcce69a 100644 (file)
@@ -34,7 +34,7 @@ private:
        void setup ();
        void set_from_file_clicked ();
        void set_from_system_clicked ();
-       void update_sensitivity ();
+       void setup_sensitivity ();
        void selection_changed ();
        void set_selected_font_file (boost::filesystem::path file);