annotate src/exceptions.py @ 380:ede26abf6ca1

primitivus: freedesktop notifications (if available) when somebody is talking to us and we have not focus, or our nick is pinged and we have not focus. This need python-Xlib to work, if it's not present, notification are silently ignored.
author Goffi <goffi@goffi.org>
date Sat, 27 Aug 2011 17:15:41 +0200
parents aac82dee6091
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
258
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
1 #!/usr/bin/python
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
2 # -*- coding: utf-8 -*-
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
3
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
4 """
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
5 SàT Exceptions
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
6 Copyright (C) 2011 Jérôme Poisson (goffi@goffi.org)
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
7
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
8 This program is free software: you can redistribute it and/or modify
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
9 it under the terms of the GNU General Public License as published by
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
10 the Free Software Foundation, either version 3 of the License, or
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
11 (at your option) any later version.
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
12
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
13 This program is distributed in the hope that it will be useful,
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
16 GNU General Public License for more details.
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
17
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
18 You should have received a copy of the GNU General Public License
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
20 """
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
21
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
22 class ProfileUnknownError(Exception):
aac82dee6091 Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff changeset
23 pass