public void Store()
		{
			GconfSettingsStorage gconf = new GconfSettingsStorage();
			
			gconf.Store(SETTINGS_PATH + "UploadSlots", uploadSlots);
			gconf.Store(SETTINGS_PATH + "MaxConnections", maxConnections);
			gconf.Store(SETTINGS_PATH + "MaxDownloadSpeed", maxDownloadSpeed);
			gconf.Store(SETTINGS_PATH + "MaxUploadSpeed", maxUploadSpeed);
			gconf.Store(SETTINGS_PATH + "FastResumeEnabled", fastResumeEnabled);		
		}
Ejemplo n.º 2
0
        public void Store()
        {
            GconfSettingsStorage gconf = new GconfSettingsStorage();

            gconf.Store(SETTINGS_PATH + "enableNotifications", enableNotifications);
            gconf.Store(SETTINGS_PATH + "quitOnClose", quitOnClose);
            gconf.Store(SETTINGS_PATH + "enableTray", enableTray);
            gconf.Store(SETTINGS_PATH + "torrentStorageLocation", torrentStorageLocation);
            gconf.Store(SETTINGS_PATH + "startNewTorrents", startNewTorrents);
            gconf.Store(SETTINGS_PATH + "importLocation", importLocation);
            gconf.Store(SETTINGS_PATH + "upnpEnabled", upnpEnabled);
            gconf.Store(SETTINGS_PATH + "importEnabled", importEnabled);
            gconf.Store(SETTINGS_PATH + "removeOnImport", removeOnImport);
        }
Ejemplo n.º 3
0
        public void Store()
        {
            GconfSettingsStorage gconf = new GconfSettingsStorage();

            gconf.Store(SETTINGS_PATH + "AllowLegacyConnections", allowLegacyConnections);
            gconf.Store(SETTINGS_PATH + "GlobalMaxConnections", globalMaxConnections);
            gconf.Store(SETTINGS_PATH + "GlobalMaxDownloadSpeed", globalMaxDownloadSpeed);
            gconf.Store(SETTINGS_PATH + "GlobalMaxHalfOpenConnections", globalMaxHalfOpenConnections);
            gconf.Store(SETTINGS_PATH + "GlobalMaxUploadSpeed", globalMaxUploadSpeed);
            gconf.Store(SETTINGS_PATH + "ListenPort", listenPort);
            //gconf.Store(SETTINGS_PATH + "MinEncryptionLevel", minEncryptionLevel);
            gconf.Store(SETTINGS_PATH + "SavePath", savePath);
        }
Ejemplo n.º 4
0
		public void Store()
		{
			GconfSettingsStorage gconf = new GconfSettingsStorage();
			
			gconf.Store(SETTINGS_PATH + "showDetails", showDetails);
			gconf.Store(SETTINGS_PATH + "showLabels", showLabels);
			
			gconf.Store(SETTINGS_PATH + "windowHeight", windowHeight);
			gconf.Store(SETTINGS_PATH + "windowWidth", windowWidth);
			gconf.Store(SETTINGS_PATH + "vPaned", vPaned);
			gconf.Store(SETTINGS_PATH + "hPaned", hPaned);
			gconf.Store(SETTINGS_PATH + "windowXPos", windowXPos);
			gconf.Store(SETTINGS_PATH + "windowYPos", windowYPos);
			
			// Columns
			gconf.Store(SETTINGS_PATH + "Columns/Name/Width", nameColumnWidth);
			gconf.Store(SETTINGS_PATH + "Columns/Name/Visible", nameColumnVisible);
			gconf.Store(SETTINGS_PATH + "Columns/Status/Width", statusColumnWidth);
			gconf.Store(SETTINGS_PATH + "Columns/Status/Visible", statusColumnVisible);
			gconf.Store(SETTINGS_PATH + "Columns/Done/Width", doneColumnWidth);
			gconf.Store(SETTINGS_PATH + "Columns/Done/Visible", doneColumnVisible);
			gconf.Store(SETTINGS_PATH + "Columns/Seeds/Width", seedsColumnWidth);
			gconf.Store(SETTINGS_PATH + "Columns/Seeds/Visible", seedsColumnVisible);
			gconf.Store(SETTINGS_PATH + "Columns/Peers/Width", seedsColumnWidth);
			gconf.Store(SETTINGS_PATH + "Columns/Peers/Visible", peersColumnVisible);
			gconf.Store(SETTINGS_PATH + "Columns/DLSpeed/Width", dlSpeedColumnWidth);
			gconf.Store(SETTINGS_PATH + "Columns/DLSpeed/Visible", dlSpeedColumnVisible);
			gconf.Store(SETTINGS_PATH + "Columns/UPSpeed/Width", upSpeedColumnWidth);
			gconf.Store(SETTINGS_PATH + "Columns/UPSpeed/Visible", upSpeedColumnVisible);
			gconf.Store(SETTINGS_PATH + "Columns/Ratio/Width", ratioColumnWidth);
			gconf.Store(SETTINGS_PATH + "Columns/Ratio/Visible", ratioColumnVisible);
			gconf.Store(SETTINGS_PATH + "Columns/Size/Width", sizeColumnWidth);
			gconf.Store(SETTINGS_PATH + "Columns/Size/Visible", sizeColumnVisible);
		}
		public void Store()
		{
			GconfSettingsStorage gconf = new GconfSettingsStorage();
			
			gconf.Store(SETTINGS_PATH + "enableNotifications", enableNotifications);
			gconf.Store(SETTINGS_PATH + "quitOnClose", quitOnClose);
			gconf.Store(SETTINGS_PATH + "enableTray", enableTray);
			gconf.Store(SETTINGS_PATH + "torrentStorageLocation", torrentStorageLocation);
			gconf.Store(SETTINGS_PATH + "startNewTorrents", startNewTorrents);
			gconf.Store(SETTINGS_PATH + "importLocation", importLocation);
			gconf.Store(SETTINGS_PATH + "upnpEnabled", upnpEnabled);
			gconf.Store(SETTINGS_PATH + "importEnabled", importEnabled);
			gconf.Store(SETTINGS_PATH + "removeOnImport", removeOnImport);
		}
Ejemplo n.º 6
0
        public void Store()
        {
            GconfSettingsStorage gconf = new GconfSettingsStorage();

            gconf.Store(SETTINGS_PATH + "showDetails", showDetails);
            gconf.Store(SETTINGS_PATH + "showLabels", showLabels);

            gconf.Store(SETTINGS_PATH + "windowHeight", windowHeight);
            gconf.Store(SETTINGS_PATH + "windowWidth", windowWidth);
            gconf.Store(SETTINGS_PATH + "vPaned", vPaned);
            gconf.Store(SETTINGS_PATH + "hPaned", hPaned);
            gconf.Store(SETTINGS_PATH + "windowXPos", windowXPos);
            gconf.Store(SETTINGS_PATH + "windowYPos", windowYPos);

            // Columns
            gconf.Store(SETTINGS_PATH + "Columns/Name/Width", nameColumnWidth);
            gconf.Store(SETTINGS_PATH + "Columns/Name/Visible", nameColumnVisible);
            gconf.Store(SETTINGS_PATH + "Columns/Status/Width", statusColumnWidth);
            gconf.Store(SETTINGS_PATH + "Columns/Status/Visible", statusColumnVisible);
            gconf.Store(SETTINGS_PATH + "Columns/Done/Width", doneColumnWidth);
            gconf.Store(SETTINGS_PATH + "Columns/Done/Visible", doneColumnVisible);
            gconf.Store(SETTINGS_PATH + "Columns/Seeds/Width", seedsColumnWidth);
            gconf.Store(SETTINGS_PATH + "Columns/Seeds/Visible", seedsColumnVisible);
            gconf.Store(SETTINGS_PATH + "Columns/Peers/Width", seedsColumnWidth);
            gconf.Store(SETTINGS_PATH + "Columns/Peers/Visible", peersColumnVisible);
            gconf.Store(SETTINGS_PATH + "Columns/DLSpeed/Width", dlSpeedColumnWidth);
            gconf.Store(SETTINGS_PATH + "Columns/DLSpeed/Visible", dlSpeedColumnVisible);
            gconf.Store(SETTINGS_PATH + "Columns/UPSpeed/Width", upSpeedColumnWidth);
            gconf.Store(SETTINGS_PATH + "Columns/UPSpeed/Visible", upSpeedColumnVisible);
            gconf.Store(SETTINGS_PATH + "Columns/Ratio/Width", ratioColumnWidth);
            gconf.Store(SETTINGS_PATH + "Columns/Ratio/Visible", ratioColumnVisible);
            gconf.Store(SETTINGS_PATH + "Columns/Size/Width", sizeColumnWidth);
            gconf.Store(SETTINGS_PATH + "Columns/Size/Visible", sizeColumnVisible);
        }