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/
|
42443
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
1 | /* |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
2 | * Pidgin - Internet Messenger |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | * |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
5 | * Pidgin is the legal property of its developers, whose names are too numerous |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
7 | * source distribution. |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
8 | * |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
9 | * This program is free software; you can redistribute it and/or modify |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
10 | * it under the terms of the GNU General Public License as published by |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
11 | * the Free Software Foundation; either version 2 of the License, or |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
12 | * (at your option) any later version. |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
13 | * |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
14 | * This program is distributed in the hope that it will be useful, |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
17 | * GNU General Public License for more details. |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
18 | * |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
19 | * You should have received a copy of the GNU General Public License |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
20 | * along with this program; if not, see <https://www.gnu.org/licenses/>. |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
21 | */ |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
22 | |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
23 | #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION) |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
24 | # error "only <pidgin.h> may be included directly" |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
25 | #endif |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
26 | |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
27 | #ifndef PIDGIN_AUTO_ADJUSTMENT_H |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
28 | #define PIDGIN_AUTO_ADJUSTMENT_H |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
29 | |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
30 | #include <glib.h> |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
31 | #include <glib-object.h> |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
32 | |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
33 | #include <gtk/gtk.h> |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
34 | |
|
42465
b7d530551c1b
Tag declared Pidgin types with symbol visibility
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42443
diff
changeset
|
35 | #include "pidginversion.h" |
|
b7d530551c1b
Tag declared Pidgin types with symbol visibility
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42443
diff
changeset
|
36 | |
|
42443
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
37 | G_BEGIN_DECLS |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
38 | |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
39 | /** |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
40 | * PidginAutoAdjustment: |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
41 | * |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
42 | * This is a simple subclass of [class@Gtk.Adjustment] that has helpers for |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
43 | * keyboard navigation as well as the ability to automatically scroll to the |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
44 | * max when new items are added if the widget was already scrolled all the |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
45 | * way to the bottom. |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
46 | * |
|
42620
72178a341eb8
Remove minor versions from Since tags in Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42466
diff
changeset
|
47 | * Since: 3.0 |
|
42443
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
48 | */ |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
49 | |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
50 | #define PIDGIN_TYPE_AUTO_ADJUSTMENT (pidgin_auto_adjustment_get_type()) |
|
42465
b7d530551c1b
Tag declared Pidgin types with symbol visibility
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42443
diff
changeset
|
51 | |
|
b7d530551c1b
Tag declared Pidgin types with symbol visibility
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42443
diff
changeset
|
52 | PIDGIN_AVAILABLE_IN_3_0 |
|
42443
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
53 | G_DECLARE_FINAL_TYPE(PidginAutoAdjustment, pidgin_auto_adjustment, PIDGIN, |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
54 | AUTO_ADJUSTMENT, GtkAdjustment) |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
55 | |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
56 | /** |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
57 | * pidgin_auto_adjustment_new: |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
58 | * |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
59 | * Creates a new #PidginAutoAdjustment. |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
60 | * |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
61 | * Returns: (transfer full): The new #PidginAutoAdjustment instance. |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
62 | * |
|
42620
72178a341eb8
Remove minor versions from Since tags in Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42466
diff
changeset
|
63 | * Since: 3.0 |
|
42443
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
64 | */ |
|
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
|
65 | PIDGIN_AVAILABLE_IN_3_0 |
|
42443
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
66 | GtkAdjustment *pidgin_auto_adjustment_new(void); |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
67 | |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
68 | /** |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
69 | * pidgin_auto_adjustment_decrement: |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
70 | * @auto_scroller: The #PidginAutoAdjustment instance. |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
71 | * |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
72 | * Decrements the value of @auto_scroller by a page increment. |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.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 |
|
42443
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.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 |
|
42443
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
77 | void pidgin_auto_adjustment_decrement(PidginAutoAdjustment *auto_scroller); |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
78 | |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
79 | /** |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
80 | * pidgin_auto_adjustment_increment: |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
81 | * @auto_scroller: The #PidginAutoAdjustment instance. |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
82 | * |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
83 | * Increments the value of @auto_scroller by a page increment. |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
84 | * |
|
42620
72178a341eb8
Remove minor versions from Since tags in Pidgin
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42466
diff
changeset
|
85 | * Since: 3.0 |
|
42443
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
86 | */ |
|
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
|
87 | PIDGIN_AVAILABLE_IN_3_0 |
|
42443
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
88 | void pidgin_auto_adjustment_increment(PidginAutoAdjustment *auto_scroller); |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
89 | |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
90 | G_END_DECLS |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
91 | |
|
ba2a26d44c0e
Port TalkatuAutoScroller to PidginAutoAdjustment
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
92 | #endif /* PIDGIN_AUTO_ADJUSTMENT_H */ |