All pastes #124259 Raw Edit

Stuff

public text v1 · immutable
·published 2006-08-09 22:42 UTC
rendered paste body
        public PreferencesDialog () {
            Console.WriteLine ("You called me!");
            this.Title = "Last Exit Preferences";
            this.HasSeparator = false;
            this.Modal = true;

            Glade.XML glade_xml = new Glade.XML (null, "Preferences.glade", "preferences_contents", null);
            glade_xml.Autoconnect (this);
            this.VBox.Add (preferences_contents);

            //this.AddButton ("Quit", ResponseType.Reject);
            //this.AddButton ("Start Player", ResponseType.Ok);

            //signup_button = new Gnome.HRef ("http://www.last.fm/signup.php",
            //              "Sign up for Last.fm");
            //signup_container.Add (signup_button);
            //signup_button.Visible = true;

            //password_entry = new IconEntry ();
            //password_entry.Visibility = false;
            //password_entry.Visible = true;
            // This is the bullet char...
            //password_entry.InvisibleChar = '•';
            //password_entry.SetIcon (IconEntryPosition.Primary,
            //          new Image (null, "secure.png"));

            //password_container.Add (password_entry);

            Console.WriteLine ("Down here!");
            preferences_contents.Visible = true;
        }