Mercurial > pidgin.yaz
comparison finch/finch.c @ 30909:25e200cb3532
propagate from branch 'im.pidgin.pidgin' (head dca20e09164518b0f7a773edd7e9649f41d8873d)
to branch 'im.pidgin.cpw.malu.xmpp.google_refactor' (head 7823c556f2d1bbca43f5ef9f0fea30cabc5d313f)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Tue, 31 Aug 2010 18:28:10 +0000 |
parents | f30a02140f74 |
children | a8cc50c2279f |
comparison
equal
deleted
inserted
replaced
30908:c44ec533a48c | 30909:25e200cb3532 |
---|---|
250 gboolean opt_help = FALSE; | 250 gboolean opt_help = FALSE; |
251 gboolean opt_nologin = FALSE; | 251 gboolean opt_nologin = FALSE; |
252 gboolean opt_version = FALSE; | 252 gboolean opt_version = FALSE; |
253 char *opt_config_dir_arg = NULL; | 253 char *opt_config_dir_arg = NULL; |
254 gboolean debug_enabled = FALSE; | 254 gboolean debug_enabled = FALSE; |
255 struct stat st; | |
255 | 256 |
256 struct option long_options[] = { | 257 struct option long_options[] = { |
257 {"config", required_argument, NULL, 'c'}, | 258 {"config", required_argument, NULL, 'c'}, |
258 {"debug", no_argument, NULL, 'd'}, | 259 {"debug", no_argument, NULL, 'd'}, |
259 {"help", no_argument, NULL, 'h'}, | 260 {"help", no_argument, NULL, 'h'}, |
359 purple_core_set_ui_ops(gnt_core_get_ui_ops()); | 360 purple_core_set_ui_ops(gnt_core_get_ui_ops()); |
360 purple_eventloop_set_ui_ops(gnt_eventloop_get_ui_ops()); | 361 purple_eventloop_set_ui_ops(gnt_eventloop_get_ui_ops()); |
361 purple_idle_set_ui_ops(finch_idle_get_ui_ops()); | 362 purple_idle_set_ui_ops(finch_idle_get_ui_ops()); |
362 | 363 |
363 path = g_build_filename(purple_user_dir(), "plugins", NULL); | 364 path = g_build_filename(purple_user_dir(), "plugins", NULL); |
365 if (!g_stat(path, &st)) | |
366 g_mkdir(path, S_IRUSR | S_IWUSR | S_IXUSR); | |
364 purple_plugins_add_search_path(path); | 367 purple_plugins_add_search_path(path); |
365 g_free(path); | 368 g_free(path); |
366 | 369 |
367 purple_plugins_add_search_path(LIBDIR); | 370 purple_plugins_add_search_path(LIBDIR); |
368 | 371 |