]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/FormUrl.h
Clean-up of the button controller.
[lyx.git] / src / frontends / gnome / FormUrl.h
index eeca5b50a77fdb4db1d56a9533105995f68ea841..0ee41de96fe143497f51dbc151c4b14507873a8c 100644 (file)
 #include "ControlUrl.h"
 #include "GnomeBase.h"
 
-//#include <gnome--/dialog.h>
-namespace Gnome {
-class Dialog;
-}
-
 namespace Gtk {
 class Button;
 class CheckButton;
@@ -43,8 +38,6 @@ public:
        ~FormUrl();
 
        void apply();
-       void hide();
-       void show();
        void update();
        
 private:
@@ -65,8 +58,6 @@ private:
        void RestoreClicked() { RestoreButton(); }
        void InputChanged() { bc().valid(validate()); }
        
-       /// Get the dialog
-       Gnome::Dialog * dialog();
        /// The url entry
        Gtk::Entry * url() const;
        /// The name entry
@@ -82,10 +73,6 @@ private:
        /// The restore button
        Gtk::Button * restore_btn() const;
 
-       // Hold the dialog.
-       //boost::shared_ptr<Gnome::Dialog> dialog_;
-       Gnome::Dialog * dialog_;
-
        /// Keeps the connection to the input validator.
        SigC::Connection slot_url_;
        SigC::Connection slot_name_;