summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-16 11:46:58 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-16 11:46:58 +0100
commitd6b3f383a94a8022427824568cbb383caa7c8773 (patch)
tree550487a1681751a6ea6fcf3b5effbebbc62bedd5
parent00dc07c35ba63cccff1a5b7578784351a8a753b8 (diff)
Rename update_sensitivity to setup_sensitivity for consistency.
-rw-r--r--src/wx/fonts_dialog.cc6
-rw-r--r--src/wx/fonts_dialog.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/fonts_dialog.cc b/src/wx/fonts_dialog.cc
index de53a3c28..ff5b107c9 100644
--- a/src/wx/fonts_dialog.cc
+++ b/src/wx/fonts_dialog.cc
@@ -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);
diff --git a/src/wx/fonts_dialog.h b/src/wx/fonts_dialog.h
index c29a982c9..26c2a5eaa 100644
--- a/src/wx/fonts_dialog.h
+++ b/src/wx/fonts_dialog.h
@@ -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);