| 22 |
22 |
| 23 #include <glib/gi18n-lib.h> |
23 #include <glib/gi18n-lib.h> |
| 24 |
24 |
| 25 #include <purple.h> |
25 #include <purple.h> |
| 26 |
26 |
| 27 #include <handy.h> |
27 #include <adwaita.h> |
| 28 #include <talkatu.h> |
28 #include <talkatu.h> |
| 29 |
29 |
| 30 #include "pidginconversationprefs.h" |
30 #include "pidginconversationprefs.h" |
| 31 #include "pidgincore.h" |
31 #include "pidgincore.h" |
| 32 #include "pidginprefsinternal.h" |
32 #include "pidginprefsinternal.h" |
| 33 |
33 |
| 34 struct _PidginConversationPrefs { |
34 struct _PidginConversationPrefs { |
| 35 HdyPreferencesPage parent; |
35 AdwPreferencesPage parent; |
| 36 |
36 |
| 37 GtkWidget *show_incoming_formatting; |
37 GtkWidget *show_incoming_formatting; |
| 38 struct { |
38 struct { |
| 39 GtkWidget *send_typing; |
39 GtkWidget *send_typing; |
| 40 } im; |
40 } im; |
| 46 GtkTextBuffer *format_buffer; |
46 GtkTextBuffer *format_buffer; |
| 47 GtkWidget *format_view; |
47 GtkWidget *format_view; |
| 48 }; |
48 }; |
| 49 |
49 |
| 50 G_DEFINE_TYPE(PidginConversationPrefs, pidgin_conversation_prefs, |
50 G_DEFINE_TYPE(PidginConversationPrefs, pidgin_conversation_prefs, |
| 51 HDY_TYPE_PREFERENCES_PAGE) |
51 ADW_TYPE_PREFERENCES_PAGE) |
| 52 |
52 |
| 53 /****************************************************************************** |
53 /****************************************************************************** |
| 54 * Helpers |
54 * Helpers |
| 55 *****************************************************************************/ |
55 *****************************************************************************/ |
| 56 static void |
56 static void |