Moving back to trunk!

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1602 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-01-24 19:24:36 +00:00
commit 8d458998a1
332 changed files with 17647 additions and 9466 deletions

View file

@ -19,16 +19,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Windows.Forms;
using GreenshotPlugin.Controls;
using GreenshotPlugin.Core;
using IniFile;
using Jira;
namespace GreenshotJiraPlugin {
@ -51,7 +47,7 @@ namespace GreenshotJiraPlugin {
changeModus(false);
try {
if (!jiraConnector.isLoggedIn()) {
if (!jiraConnector.isLoggedIn) {
jiraConnector.login();
}
} catch (Exception e) {
@ -69,7 +65,7 @@ namespace GreenshotJiraPlugin {
}
private void updateForm() {
if (jiraConnector.isLoggedIn()) {
if (jiraConnector.isLoggedIn) {
JiraFilter[] filters = jiraConnector.getFilters();
if (filters.Length > 0) {
foreach (JiraFilter filter in filters) {
@ -127,8 +123,8 @@ namespace GreenshotJiraPlugin {
}
private void jiraFilterBox_SelectedIndexChanged(object sender, EventArgs e) {
if (jiraConnector.isLoggedIn()) {
BackgroundForm backgroundForm = BackgroundForm.ShowAndWait(JiraPlugin.JiraPluginAttributes.Name, language.GetString(LangKey.communication_wait));
if (jiraConnector.isLoggedIn) {
BackgroundForm backgroundForm = BackgroundForm.ShowAndWait(JiraPlugin.Instance.JiraPluginAttributes.Name, language.GetString(LangKey.communication_wait));
try {
uploadButton.Enabled = false;
JiraFilter filter = (JiraFilter)jiraFilterBox.SelectedItem;