>       config_file = g_strconcat(geany->app->configdir,
>               G_DIR_SEPARATOR_S, "plugins", G_DIR_SEPARATOR_S,
>               "geanylipsum", G_DIR_SEPARATOR_S, "lipsum.conf", NULL);
>  
> +     #ifndef G_OS_WIN32
> +     /* We try only to move if we are on not Windows platform */
> +     config_dir_old = g_strconcat(geany->app->configdir, G_DIR_SEPARATOR_S,
> +             "plugins", G_DIR_SEPARATOR_S, "geanylipsum", NULL);
> +     config_file_old = g_strconcat(config_dir_old,  G_DIR_SEPARATOR_S,
> +             "lipsum.conf", NULL);
> +     config_dir = g_strconcat(geany->app->configdir, G_DIR_SEPARATOR_S,
> +             "plugins", G_DIR_SEPARATOR_S, "lipsum", NULL);
> +     if (g_file_test(config_file_old, G_FILE_TEST_EXISTS))
> +     {
> +             if (dialogs_show_question(
> +                     _("Renamed plugin detected!\n"
> +                       "\n"
> +                       "GeanyLipsum has been renamed to Lipsum -- you surely 
> have "

as you will have already recognised

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/472/files/a129fc448e74739c1b5fd7a0ce640bccb1cfdacc#r73810656

Reply via email to