Sun, 03 Nov 2024 00:05:44 -0500
remove purple3-url-handler.desktop.in.in
The application that did the launching was removed long ago. Also this should
be implemented by the user interfaces and they might provide separate files to
groups schemas as well.
Testing Done:
Called in the turtles.
Reviewed at https://reviews.imfreedom.org/r/3640/
|
42986
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
1 | /* |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
2 | * Pidgin - Internet Messenger |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | * |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
5 | * Pidgin is the legal property of its developers, whose names are too numerous |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
7 | * source distribution. |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
8 | * |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
9 | * This program is free software; you can redistribute it and/or modify |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
10 | * it under the terms of the GNU General Public License as published by |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
11 | * the Free Software Foundation; either version 2 of the License, or |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
12 | * (at your option) any later version. |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
13 | * |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
14 | * This program is distributed in the hope that it will be useful, |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
17 | * GNU General Public License for more details. |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
18 | * |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
19 | * You should have received a copy of the GNU General Public License |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
20 | * along with this program; if not, see <https://www.gnu.org/licenses/>. |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
21 | */ |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
22 | |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
23 | #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION) |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
24 | # error "only <pidgin.h> may be included directly" |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
25 | #endif |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
26 | |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
27 | #ifndef PIDGIN_NOTIFICATION_CONNECTION_ERROR_H |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
28 | #define PIDGIN_NOTIFICATION_CONNECTION_ERROR_H |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
29 | |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
30 | #include <glib.h> |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
31 | |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
32 | #include <gtk/gtk.h> |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
33 | |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
34 | #include <adwaita.h> |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
35 | |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
36 | #include <purple.h> |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
37 | |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
38 | #include "pidginnotification.h" |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
39 | #include "pidginversion.h" |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
40 | |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
41 | G_BEGIN_DECLS |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
42 | |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
43 | /** |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
44 | * PidginNotificationConnectionError: |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
45 | * |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
46 | * #PidginNotificationConnectionError is a widget that displays |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
47 | * notifications from [class@Purple.NotificationManager] for |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
48 | * connection errors on [class@Purple.Account]'s. |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
49 | * |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
50 | * Since: 3.0 |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
51 | */ |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
52 | |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
53 | #define PIDGIN_TYPE_NOTIFICATION_CONNECTION_ERROR (pidgin_notification_connection_error_get_type()) |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
54 | |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
55 | PIDGIN_AVAILABLE_IN_3_0 |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
56 | G_DECLARE_FINAL_TYPE(PidginNotificationConnectionError, |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
57 | pidgin_notification_connection_error, |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
58 | PIDGIN, NOTIFICATION_CONNECTION_ERROR, PidginNotification) |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
59 | |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
60 | /** |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
61 | * pidgin_notification_connection_error_new: |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
62 | * @notification: The [class@Purple.NotificationConnectionError] instance. |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
63 | * |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
64 | * Creates a new #PidginNotificationConnectionError instance that will display |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
65 | * @notification. |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
66 | * |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
67 | * Returns: (transfer full): The new instance. |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
68 | * |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
69 | * Since: 3.0 |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
70 | */ |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
71 | PIDGIN_AVAILABLE_IN_3_0 |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
72 | GtkWidget *pidgin_notification_connection_error_new(PurpleNotificationConnectionError *notification); |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
73 | |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
74 | G_END_DECLS |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
75 | |
|
f535fef9f727
Create Pidgin.NotificationConnectionError
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
76 | #endif /* PIDGIN_NOTIFICATION_CONNECTION_ERROR_H */ |