diff options
author | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2005-12-01 15:48:39 +0000 |
---|---|---|
committer | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2005-12-01 15:48:39 +0000 |
commit | 564dd13d7ae1b54964710052a0ee275703ddd853 (patch) | |
tree | 209e590a904ff084a025f5acc5c6792518941d83 /vncviewer/OptionsDialog.cxx | |
parent | baa71192bef100f7d2d3eec381116a45f4e5d67e (diff) | |
download | tigervnc-564dd13d7ae1b54964710052a0ee275703ddd853.tar.gz tigervnc-564dd13d7ae1b54964710052a0ee275703ddd853.zip |
Added implementation of the vnc viewer options parameter "Show toolbar by default".
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@425 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/OptionsDialog.cxx')
-rw-r--r-- | vncviewer/OptionsDialog.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vncviewer/OptionsDialog.cxx b/vncviewer/OptionsDialog.cxx index 8655dc70..0985f5b1 100644 --- a/vncviewer/OptionsDialog.cxx +++ b/vncviewer/OptionsDialog.cxx @@ -165,6 +165,7 @@ public: enableItem(IDC_PROTOCOL_3_3, (!dlg->view) || (dlg->view->state() != CConnection::RFBSTATE_NORMAL)); setItemChecked(IDC_PROTOCOL_3_3, dlg->options.protocol3_3); setItemChecked(IDC_ACCEPT_BELL, dlg->options.acceptBell); + setItemChecked(IDC_SHOW_TOOLBAR, dlg->options.showToolbar); } virtual bool onOk() { dlg->options.shared = isItemChecked(IDC_CONN_SHARED); @@ -173,6 +174,7 @@ public: dlg->options.useDesktopResize = isItemChecked(IDC_DESKTOP_RESIZE); dlg->options.protocol3_3 = isItemChecked(IDC_PROTOCOL_3_3); dlg->options.acceptBell = isItemChecked(IDC_ACCEPT_BELL); + dlg->options.showToolbar = isItemChecked(IDC_SHOW_TOOLBAR); ((VNCviewerOptions*)propSheet)->setChanged(); return true; } |