Beispiel #1
0
        // Bindings...

        private void SetFieldsFromConfig(IJIRAConfiguration config)
        {
            config.Load();

            _entryBaseUrl.Text  = config.BaseUrl;
            _entryUsername.Text = config.Username;
            _entryPassword.Text = config.Password;
            _entryProjects.Text = string.Join(",", config.Projects);
        }
Beispiel #2
0
        /// <summary>
        /// Constructor (preloads config)
        /// </summary>
        public JIRAIssueSource()
        {
            _config = new JIRAConfiguration();

            // Do the migration if need be
            if (((JIRAConfiguration)_config).DoMigrate())
            {
                Log("Migrated credentials to gnome keyring");
            }

            // Run the initial query
            UpdateItems();
        }
Beispiel #3
0
        /// <summary>
        /// Constructor (preloads config)
        /// </summary>
        public JIRAIssueSource()
        {
            _config= new JIRAConfiguration();

            // Do the migration if need be
            if( ( (JIRAConfiguration) _config ).DoMigrate() )
            {
                Log( "Migrated credentials to gnome keyring" );
            }

            // Run the initial query
            UpdateItems();
        }