From: Pierre Ossman Date: Fri, 10 Dec 2021 09:22:54 +0000 (+0100) Subject: Rename "Screen" tab to "Display" X-Git-Tag: v1.12.90~78^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=82cb269f9f1258b8188a7f8e64bf1e7a07b50677;p=tigervnc.git Rename "Screen" tab to "Display" This is what pretty much everyone else calls these kind of settings, so let's change so users feel familiar. --- diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx index d7c545da..b2eedc94 100644 --- a/vncviewer/OptionsDialog.cxx +++ b/vncviewer/OptionsDialog.cxx @@ -72,7 +72,7 @@ OptionsDialog::OptionsDialog() createCompressionPage(tx, ty, tw, th); createSecurityPage(tx, ty, tw, th); createInputPage(tx, ty, tw, th); - createScreenPage(tx, ty, tw, th); + createDisplayPage(tx, ty, tw, th); createMiscPage(tx, ty, tw, th); } @@ -281,7 +281,7 @@ void OptionsDialog::loadOptions(void) if (!strcmp(getMenuKeySymbols()[i].name, menuKeyBuf)) menuKeyChoice->value(i + 1); - /* Screen */ + /* Display */ if (!fullScreen) { windowedButton->setonly(); } else { @@ -391,7 +391,7 @@ void OptionsDialog::storeOptions(void) menuKey.setParam(menuKeyChoice->text()); } - /* Screen */ + /* Display */ if (windowedButton->value()) { fullScreen.setParam(false); } else { @@ -752,9 +752,9 @@ void OptionsDialog::createInputPage(int tx, int ty, int tw, int th) } -void OptionsDialog::createScreenPage(int tx, int ty, int tw, int th) +void OptionsDialog::createDisplayPage(int tx, int ty, int tw, int th) { - Fl_Group *group = new Fl_Group(tx, ty, tw, th, _("Screen")); + Fl_Group *group = new Fl_Group(tx, ty, tw, th, _("Display")); tx += OUTER_MARGIN; ty += OUTER_MARGIN; diff --git a/vncviewer/OptionsDialog.h b/vncviewer/OptionsDialog.h index b3375fba..de1e0173 100644 --- a/vncviewer/OptionsDialog.h +++ b/vncviewer/OptionsDialog.h @@ -54,7 +54,7 @@ protected: void createCompressionPage(int tx, int ty, int tw, int th); void createSecurityPage(int tx, int ty, int tw, int th); void createInputPage(int tx, int ty, int tw, int th); - void createScreenPage(int tx, int ty, int tw, int th); + void createDisplayPage(int tx, int ty, int tw, int th); void createMiscPage(int tx, int ty, int tw, int th); static void handleAutoselect(Fl_Widget *widget, void *data); @@ -120,7 +120,7 @@ protected: Fl_Check_Button *systemKeysCheckbox; Fl_Choice *menuKeyChoice; - /* Screen */ + /* Display */ Fl_Round_Button *windowedButton; Fl_Round_Button *currentMonitorButton; Fl_Round_Button *allMonitorsButton; diff --git a/vncviewer/parameters.cxx b/vncviewer/parameters.cxx index 7eb9cb15..40c525f7 100644 --- a/vncviewer/parameters.cxx +++ b/vncviewer/parameters.cxx @@ -193,7 +193,7 @@ static VoidParameter* parameterArray[] = { &compressLevel, &noJpeg, &qualityLevel, - /* Screen */ + /* Display */ &fullScreen, &fullScreenMode, &fullScreenSelectedMonitors,