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/
|
42165
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
1 | /* |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
2 | * Pidgin - Internet Messenger |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
4 | * |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
5 | * Pidgin is the legal property of its developers, whose names are too numerous |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
7 | * source distribution. |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
8 | * |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
9 | * This program is free software; you can redistribute it and/or modify |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
10 | * it under the terms of the GNU General Public License as published by |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
11 | * the Free Software Foundation; either version 2 of the License, or |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
12 | * (at your option) any later version. |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
13 | * |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
14 | * This program is distributed in the hope that it will be useful, |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
17 | * GNU General Public License for more details. |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
18 | * |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
19 | * You should have received a copy of the GNU General Public License |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
20 | * along with this program; if not, see <https://www.gnu.org/licenses/>. |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
21 | */ |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
22 | |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
23 | #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION) |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
24 | # error "only <pidgin.h> may be included directly" |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
25 | #endif |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
26 | |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
27 | #ifndef PIDGIN_ACCOUNT_DISPLAY_H |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
28 | #define PIDGIN_ACCOUNT_DISPLAY_H |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
29 | |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
30 | #include <gtk/gtk.h> |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
31 | |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
32 | #include <purple.h> |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
33 | |
|
42465
b7d530551c1b
Tag declared Pidgin types with symbol visibility
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42165
diff
changeset
|
34 | #include "pidginversion.h" |
|
b7d530551c1b
Tag declared Pidgin types with symbol visibility
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42165
diff
changeset
|
35 | |
|
42165
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
36 | G_BEGIN_DECLS |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
37 | |
|
42649
6986f5428d30
Add a doc check unit test to Pidgin and fix the issues it found
Gary Kramlich <grim@reaperworld.com>
parents:
42620
diff
changeset
|
38 | /** |
|
6986f5428d30
Add a doc check unit test to Pidgin and fix the issues it found
Gary Kramlich <grim@reaperworld.com>
parents:
42620
diff
changeset
|
39 | * PidginAccountDisplay: |
|
6986f5428d30
Add a doc check unit test to Pidgin and fix the issues it found
Gary Kramlich <grim@reaperworld.com>
parents:
42620
diff
changeset
|
40 | * |
|
6986f5428d30
Add a doc check unit test to Pidgin and fix the issues it found
Gary Kramlich <grim@reaperworld.com>
parents:
42620
diff
changeset
|
41 | * A widget that is used to display a [class@Purple.Account]. |
|
6986f5428d30
Add a doc check unit test to Pidgin and fix the issues it found
Gary Kramlich <grim@reaperworld.com>
parents:
42620
diff
changeset
|
42 | * |
|
6986f5428d30
Add a doc check unit test to Pidgin and fix the issues it found
Gary Kramlich <grim@reaperworld.com>
parents:
42620
diff
changeset
|
43 | * Since: 3.0 |
|
6986f5428d30
Add a doc check unit test to Pidgin and fix the issues it found
Gary Kramlich <grim@reaperworld.com>
parents:
42620
diff
changeset
|
44 | */ |
|
6986f5428d30
Add a doc check unit test to Pidgin and fix the issues it found
Gary Kramlich <grim@reaperworld.com>
parents:
42620
diff
changeset
|
45 | |
|
42165
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
46 | #define PIDGIN_TYPE_ACCOUNT_DISPLAY (pidgin_account_display_get_type()) |
|
42465
b7d530551c1b
Tag declared Pidgin types with symbol visibility
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42165
diff
changeset
|
47 | |
|
b7d530551c1b
Tag declared Pidgin types with symbol visibility
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42165
diff
changeset
|
48 | PIDGIN_AVAILABLE_IN_3_0 |
|
42165
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
49 | G_DECLARE_FINAL_TYPE(PidginAccountDisplay, pidgin_account_display, PIDGIN, |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
50 | ACCOUNT_DISPLAY, GtkBox) |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
51 | |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
52 | /** |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
53 | * pidgin_account_display_new: |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
54 | * @account: The account to display. |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
55 | * |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
56 | * Creates a display for an account. |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
57 | * |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
58 | * Returns: (transfer full): The account display. |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
59 | * |
|
42620
72178a341eb8
Remove minor versions from Since tags in Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42466
diff
changeset
|
60 | * Since: 3.0 |
|
42165
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
61 | */ |
|
42466
ca3374c1cdba
Add visibility to all Pidgin symbols tagged with Since 3.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42465
diff
changeset
|
62 | PIDGIN_AVAILABLE_IN_3_0 |
|
42165
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
63 | GtkWidget *pidgin_account_display_new(PurpleAccount *account); |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
64 | |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
65 | /** |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
66 | * pidgin_account_display_get_account: |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
67 | * @display: The display. |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
68 | * |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
69 | * Gets the currently displayed account. |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
70 | * |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
71 | * Returns: (transfer none): Returns the [type@Purple.Account] that is |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
72 | * currently displayed. |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
73 | * |
|
42620
72178a341eb8
Remove minor versions from Since tags in Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42466
diff
changeset
|
74 | * Since: 3.0 |
|
42165
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
75 | */ |
|
42466
ca3374c1cdba
Add visibility to all Pidgin symbols tagged with Since 3.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42465
diff
changeset
|
76 | PIDGIN_AVAILABLE_IN_3_0 |
|
42165
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
77 | PurpleAccount *pidgin_account_display_get_account(PidginAccountDisplay *display); |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
78 | |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
79 | /** |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
80 | * pidgin_account_display_set_account: |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
81 | * @display: The display. |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
82 | * @account: The account to display. |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
83 | * |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
84 | * Sets the currently displayed account. |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
85 | * |
|
42620
72178a341eb8
Remove minor versions from Since tags in Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42466
diff
changeset
|
86 | * Since: 3.0 |
|
42165
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
87 | */ |
|
42466
ca3374c1cdba
Add visibility to all Pidgin symbols tagged with Since 3.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42465
diff
changeset
|
88 | PIDGIN_AVAILABLE_IN_3_0 |
|
42165
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
89 | void pidgin_account_display_set_account(PidginAccountDisplay *display, PurpleAccount *account); |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
90 | |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
91 | G_END_DECLS |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
92 | |
|
3c481d9cc840
Split account display from chooser into its own widget
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
diff
changeset
|
93 | #endif /* PIDGIN_ACCOUNT_DISPLAY_H */ |