Mon, 14 Sep 2020 20:49:00 -0500
Cleanup pidginabout.[ch] and add the plugin searchs paths to it
Clean up the about dialog and add the plugin search paths to it.
Testing Done:
Compiled, ran, viewed the about dialog.
Reviewed at https://reviews.imfreedom.org/r/96/
| 39223 | 1 | /* pidgin |
| 2 | * | |
| 3 | * Pidgin is the legal property of its developers, whose names are too numerous | |
| 4 | * to list here. Please refer to the COPYRIGHT file distributed with this | |
| 5 | * source distribution. | |
| 6 | * | |
| 7 | * This program is free software; you can redistribute it and/or modify | |
| 8 | * it under the terms of the GNU General Public License as published by | |
| 9 | * the Free Software Foundation; either version 2 of the License, or | |
| 10 | * (at your option) any later version. | |
| 11 | * | |
| 12 | * This program is distributed in the hope that it will be useful, | |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | * GNU General Public License for more details. | |
| 16 | * | |
| 17 | * You should have received a copy of the GNU General Public License | |
| 18 | * along with this program; if not, write to the Free Software | |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA | |
| 20 | */ | |
| 21 | ||
|
40502
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40360
diff
changeset
|
22 | #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION) |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40360
diff
changeset
|
23 | # error "only <pidgin.h> may be included directly" |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40360
diff
changeset
|
24 | #endif |
|
875489636847
pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents:
40360
diff
changeset
|
25 | |
| 39223 | 26 | #ifndef PIDGIN_TALKATU_H |
| 27 | #define PIDGIN_TALKATU_H | |
| 28 | ||
| 29 | /** | |
| 30 | * SECTION:pidgintalkatu | |
| 31 | * @section_id: pidgin-talkatu | |
| 32 | * @short_description: <filename>pidgintalkatu.h</filename> | |
| 33 | * @title: Talkatu Helpers | |
| 34 | */ | |
| 35 | ||
| 36 | #include <gtk/gtk.h> | |
| 37 | ||
| 38 | #include <talkatu.h> | |
| 39 | ||
|
40360
e21f3bbcc2a5
Update all of the pidgin code to include purple.h
Gary Kramlich <grim@reaperworld.com>
parents:
39397
diff
changeset
|
40 | #include <purple.h> |
| 39223 | 41 | |
| 42 | G_BEGIN_DECLS | |
| 43 | ||
|
39394
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
44 | /** |
|
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
45 | * pidgin_talkatu_editor_new_for_connection: |
|
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
46 | * @pc: The connection for which the editor should be created |
|
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
47 | * |
|
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
48 | * Creates a new #TalkatuEditor appropriate for use with @pc. |
|
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
49 | * |
|
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
50 | * Returns: (transfer full): the new #TalkatuEditor |
|
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
51 | */ |
| 39223 | 52 | GtkWidget *pidgin_talkatu_editor_new_for_connection(PurpleConnection *pc); |
|
39394
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
53 | |
|
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
54 | /** |
|
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
55 | * pidgin_talkatu_buffer_new_for_connection: |
|
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
56 | * @pc: The connection for which the buffer should be created |
|
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
57 | * |
|
39397
ed156296b47a
pidgin: Improve pidgin_talkatu_buffer_new_for_connection() docstring
Mike Ruprecht <cmaiku@gmail.com>
parents:
39394
diff
changeset
|
58 | * Creates a new #TalkatuBuffer. Depending on @pc's #PurpleConnectionFlags, |
|
ed156296b47a
pidgin: Improve pidgin_talkatu_buffer_new_for_connection() docstring
Mike Ruprecht <cmaiku@gmail.com>
parents:
39394
diff
changeset
|
59 | * it will create a plain, HTML, or markdown buffer. |
|
39394
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
60 | * |
|
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
61 | * Returns: (transfer full): the new #TalkatuBuffer |
|
837a999f0ee3
pidgin: Add documentation for functions in pidgintalkatu.h
Mike Ruprecht <cmaiku@gmail.com>
parents:
39223
diff
changeset
|
62 | */ |
| 39223 | 63 | GtkTextBuffer *pidgin_talkatu_buffer_new_for_connection(PurpleConnection *pc); |
| 64 | ||
| 65 | G_END_DECLS | |
| 66 | ||
| 67 | #endif /* PIDGIN_TALKATU_H */ |