// ============================================
        // PUBLIC Constructors
        // ============================================
        /// Create New Proxy Settings Dialog
        public ProxySettings() : base("dialog", "ProxySettingsDialog.glade")
        {
            // Add Proxy Settings Box
            proxy = new Niry.GUI.Gtk2.ProxySettings();
            this.vbox.PackStart(proxy, true, true, 2);
            proxy.ShowAll();

            // Initialize Dialog Image
            this.image.Pixbuf = StockIcons.GetPixbuf("Proxy", 48);
        }
        /// Create New Proxy Settings Dialog
        public ProxySettings()
        {
            XML xml = new XML(null, "ProxySettingsDialog.glade", "dialog", null);
            xml.Autoconnect(this);
            this.image.Pixbuf = StockIcons.GetPixbuf("Proxy");

            proxy = new Niry.GUI.Gtk2.ProxySettings();
            this.vbox.PackStart(proxy, true, true, 2);

            this.dialog.ShowAll();
        }
        // ============================================
        // PUBLIC Constructors
        // ============================================
        /// Create New Proxy Settings Dialog
        public ProxySettings()
            : base("dialog", "ProxySettingsDialog.glade")
        {
            // Add Proxy Settings Box
            proxy = new Niry.GUI.Gtk2.ProxySettings();
            this.vbox.PackStart(proxy, true, true, 2);
            proxy.ShowAll();

            // Initialize Dialog Image
            this.image.Pixbuf = StockIcons.GetPixbuf("Proxy", 48);
        }
Exemplo n.º 4
0
        public ProxySettings()
        {
            XML xml = new XML(null, "ProxySettingsDialog.glade", "dialog", null);

            xml.Autoconnect(this);
            this.image.Pixbuf = StockIcons.GetPixbuf("NyIVProxy");

            proxy = new Niry.GUI.Gtk2.ProxySettings();
            this.vbox.PackStart(proxy, true, true, 2);

            this.dialog.ShowAll();
        }