2013-10-03 Disable Gimp Save&Export
Материал из YourcmcWiki
My post about gimp Save and Export to http://www.gimpusers.com/forums/gimp-user/14339-hate-the-new-save-vs-export-behavior#message74677
I want to say two things:
- The new behaviour is a TOTAL PIECE OF SHIT. And the authors are just MORONS because they argue that if you dislike it, you are an idiot, "misuse" gimp and should only use MSPAINT because of a low IQ. Just like it was with the single-window mode, yeah.
- But - Good news, everyone! That bevaviour really fucked me up and I got to the code and patched it. And the patch to DISABLE that piece of shit is very simple - you just need to comment out two if()'s in app/plug-in/gimppluginmanager-file.c (see below or get it from http://svn.yourcmc.ru/viewvc.py/vitalif/trunk/scripts/patch-gimp-unite-save_export.diff?view=co).
After patching, Gimp still suggests you to save the opened *.png or anything in XCF on Ctrl-S, but it does so only the FIRST time, and ALLOWS to actually select any other format.
Patch source:
Gimp authors are MORONS! Shame on you all for splitting "Save" and "Export" features and for arguing that everyone who dislikes the new behaviour is an idiot and should use MSPAINT instead of their super-duper GIMP! --- gimp-2.8.6.orig/app/plug-in/gimppluginmanager-file.c +++ gimp-2.8.6/app/plug-in/gimppluginmanager-file.c @@ -136,13 +136,13 @@ gimp_plug_in_manager_register_save_handl gimp_plug_in_procedure_set_file_proc (file_proc, extensions, prefixes, NULL); - if (file_procedure_in_group (file_proc, FILE_PROCEDURE_GROUP_SAVE)) + //if (file_procedure_in_group (file_proc, FILE_PROCEDURE_GROUP_SAVE)) { if (! g_slist_find (manager->save_procs, file_proc)) manager->save_procs = g_slist_prepend (manager->save_procs, file_proc); } - if (file_procedure_in_group (file_proc, FILE_PROCEDURE_GROUP_EXPORT)) + //if (file_procedure_in_group (file_proc, FILE_PROCEDURE_GROUP_EXPORT)) { if (! g_slist_find (manager->export_procs, file_proc)) manager->export_procs = g_slist_prepend (manager->export_procs, file_proc);
[ Хронологический вид ]Комментарии
Войдите, чтобы комментировать.