Hide the 'export decryption chain' button in the advanced page of preferences.
[dcpomatic.git] / src / wx / config_dialog.h
index b76f8bc355fa9d597b2dbc4b217d19615122d4e4..896b463d819d01af0c889035bc41559f90b9ef6a 100644 (file)
@@ -135,6 +135,7 @@ private:
        void update_private_key ();
        void import_private_key ();
        void export_private_key ();
+       void export_chain ();
 
        wxListCtrl* _certificates;
        wxButton* _add_certificate;
@@ -144,6 +145,7 @@ private:
        wxStaticText* _private_key;
        wxButton* _import_private_key;
        wxButton* _export_private_key;
+       wxButton* _export_chain;
        wxStaticText* _private_key_bad;
        wxSizer* _sizer;
        wxBoxSizer* _button_sizer;
@@ -155,9 +157,8 @@ private:
 class KeysPage : public StandardPage
 {
 public:
-       KeysPage (wxSize panel_size, int border, bool sign)
+       KeysPage (wxSize panel_size, int border)
                : StandardPage (panel_size, border)
-               , _sign (sign)
        {}
 
        wxString GetName () const;
@@ -174,15 +175,12 @@ private:
        void setup ();
 
        void export_decryption_certificate ();
-       void export_decryption_chain ();
        void config_changed () {}
        bool nag_remake_decryption_chain ();
        void decryption_advanced ();
        void signing_advanced ();
        void export_decryption_chain_and_key ();
        void import_decryption_chain_and_key ();
-
-       bool _sign;
 };