Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r145 - trunk/java/ch/idok/qtgui

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r145 - trunk/java/ch/idok/qtgui


Chronological Thread 
  • From: "Apache" <apache AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r145 - trunk/java/ch/idok/qtgui
  • Date: Wed, 16 Jul 2008 11:02:57 +0200
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: huebner AT PSI.CH
Date: Wed Jul 16 11:02:57 2008
New Revision: 145

Log:
Changed the window behavior in case of an exception.

Modified:
trunk/java/ch/idok/qtgui/AuthorizationController.java

Modified: trunk/java/ch/idok/qtgui/AuthorizationController.java
==============================================================================
--- trunk/java/ch/idok/qtgui/AuthorizationController.java (original)
+++ trunk/java/ch/idok/qtgui/AuthorizationController.java Wed Jul 16
11:02:57 2008
@@ -269,7 +269,7 @@
QMessageBox.warning(null, tr("iDok Warning"), String.format(
tr("Unable to retrieve info about access rights \n
%1$s"),
e.getLogMessage()));
-
+ asd_.raise();
}

asd_.show();
@@ -305,6 +305,7 @@
} catch (DmsException e) {
QMessageBox.warning(null, tr("iDok Warning"), String.format(
tr("Unable to remove User \n %1$s"), e.getLogMessage()));
+ asd_.raise();
}
}

@@ -318,6 +319,7 @@
} catch (DmsException e) {
QMessageBox.warning(null, tr("iDok Warning"), String.format(
tr("Unable to remove group \n %1$s"),
e.getLogMessage()));
+ asd_.raise();
}

}
@@ -338,6 +340,7 @@
QMessageBox.warning(null, tr("iDok Warning"), String.format(
tr("Unable to add principal to group \n %1$s"), e
.getLogMessage()));
+ asd_.raise();
}

}
@@ -354,6 +357,7 @@
QMessageBox.warning(null, tr("iDok Warning"), String.format(
tr("Unable to remove user from group \n %1$s"), e
.getLogMessage()));
+ asd_.raise();
}
}

@@ -381,6 +385,7 @@
} catch (DmsException e) {
QMessageBox.warning(null, tr("iDok Warning"), String.format(
tr("Unable to add user \n %1$s"), e.getLogMessage()));
+ asd_.raise();
}

}
@@ -403,6 +408,7 @@
QMessageBox.warning(null, tr("iDok Warning"), String.format(
tr("Unable to retrieve list of available groups \n
%1$s"),
e.getLogMessage()));
+ asd_.raise();
}

String principal = askForChoice(tr("Select group to add"), choices);
@@ -429,6 +435,7 @@
} catch (DmsException e) {
QMessageBox.warning(null, tr("iDok Warning"), String.format(
tr("Unable to add group \n %1$s"), e.getLogMessage()));
+ asd_.raise();
}

}
@@ -449,6 +456,7 @@
QMessageBox.warning(null, tr("iDok Warning"), String
.format(tr("Unable to create new group \n %1$s"), e
.getLogMessage()));
+ asd_.raise();
}
}

@@ -509,6 +517,7 @@
QMessageBox.warning(null, tr("iDok Warning"), String.format(
tr("Unable to retrieve group members \n %1$s"), e
.getLogMessage()));
+ asd_.raise();
}
}
}
@@ -580,6 +589,7 @@
.format(
tr("Unable to apply
changes of access rights \n %1$s"),
e.getLogMessage()));
+ asd_.raise();
}
}
}



  • [idok-commit] idok commit r145 - trunk/java/ch/idok/qtgui, Apache, 07/16/2008

Archive powered by MHonArc 2.6.19.

Top of Page