| 49 #include "pidgincore.h" |
49 #include "pidgincore.h" |
| 50 #include "pidgindebug.h" |
50 #include "pidgindebug.h" |
| 51 #include "pidgininactiveaccountsmenu.h" |
51 #include "pidgininactiveaccountsmenu.h" |
| 52 #include "pidginmooddialog.h" |
52 #include "pidginmooddialog.h" |
| 53 #include "pidginpluginsdialog.h" |
53 #include "pidginpluginsdialog.h" |
| |
54 #include "pidginpluginsmenu.h" |
| 54 #include "pidginstatusmanager.h" |
55 #include "pidginstatusmanager.h" |
| 55 #include "pidginprefs.h" |
56 #include "pidginprefs.h" |
| 56 |
57 |
| 57 struct _PidginApplication { |
58 struct _PidginApplication { |
| 58 GtkApplication parent; |
59 GtkApplication parent; |
| 131 /* Link the AccountsEnabledMenu into its proper location. */ |
132 /* Link the AccountsEnabledMenu into its proper location. */ |
| 132 source = pidgin_accounts_enabled_menu_new(); |
133 source = pidgin_accounts_enabled_menu_new(); |
| 133 target = gtk_application_get_menu_by_id(GTK_APPLICATION(application), |
134 target = gtk_application_get_menu_by_id(GTK_APPLICATION(application), |
| 134 "enabled-accounts"); |
135 "enabled-accounts"); |
| 135 g_menu_append_section(target, NULL, G_MENU_MODEL(source)); |
136 g_menu_append_section(target, NULL, G_MENU_MODEL(source)); |
| |
137 |
| |
138 /* Link the PluginsMenu into its proper location. */ |
| |
139 model = pidgin_plugins_menu_new(); |
| |
140 target = gtk_application_get_menu_by_id(GTK_APPLICATION(application), |
| |
141 "plugins-menu"); |
| |
142 g_menu_append_section(target, NULL, model); |
| 136 } |
143 } |
| 137 |
144 |
| 138 /****************************************************************************** |
145 /****************************************************************************** |
| 139 * Actions |
146 * Actions |
| 140 *****************************************************************************/ |
147 *****************************************************************************/ |