| 194 /* Link the PluginsMenu into its proper location. */ |
194 /* Link the PluginsMenu into its proper location. */ |
| 195 model = pidgin_plugins_menu_new(); |
195 model = pidgin_plugins_menu_new(); |
| 196 target = gtk_application_get_menu_by_id(GTK_APPLICATION(application), |
196 target = gtk_application_get_menu_by_id(GTK_APPLICATION(application), |
| 197 "plugins-menu"); |
197 "plugins-menu"); |
| 198 g_menu_append_section(target, NULL, model); |
198 g_menu_append_section(target, NULL, model); |
| |
199 } |
| |
200 |
| |
201 static void |
| |
202 pidgin_application_setup_debug(G_GNUC_UNUSED PidginApplication *application) { |
| |
203 pidgin_debug_init_handler(); |
| |
204 |
| |
205 if(purple_strequal(PURPLE_BUILD_BUILDTYPE, "debug") || |
| |
206 purple_strequal(PURPLE_BUILD_BUILDTYPE, "debugoptimized")) |
| |
207 { |
| |
208 pidgin_debug_set_print_enabled(TRUE); |
| |
209 } else { |
| |
210 pidgin_debug_set_print_enabled(opt_debug); |
| |
211 } |
| 199 } |
212 } |
| 200 |
213 |
| 201 /****************************************************************************** |
214 /****************************************************************************** |
| 202 * Actions |
215 * Actions |
| 203 *****************************************************************************/ |
216 *****************************************************************************/ |