After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 392972 - External Tools: Save Before Running
External Tools: Save Before Running
Status: RESOLVED FIXED
Product: gedit-plugins
Classification: Other
Component: General
2.16.x
Other All
: Normal enhancement
: ---
Assigned To: Gedit maintainers
Gedit maintainers
: 483402 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-01-05 01:07 UTC by Jan Niklas Hasse (Account disabled)
Modified: 2019-03-23 20:42 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Adds Save combobox (5.28 KB, patch)
2008-01-21 15:34 UTC, Przemysław Grzegorczyk
needs-work Details | Review

Description Jan Niklas Hasse (Account disabled) 2007-01-05 01:07:06 UTC
It would be great if you could add an option to save the document before building it. So you just have to press F8 and don't have to press strg + s first.
Also an option to save all documents first because they might depend on the current document.
Comment 1 Przemysław Grzegorczyk 2008-01-21 15:34:51 UTC
Created attachment 103346 [details] [review]
Adds Save combobox

Patch adds option to save current document or all unsaved documents.
Comment 2 Steve Frécinaux 2008-01-22 08:14:49 UTC
While the patch looks good for the most part, I'm unsure about that:

> document.save(0)

Given the current way the gedit code works, I think using the save() method directly from the document would not update document status, etc (like: not removing the '*' in the tab, etc.)

I think what should be done is to rename 'save_file' in gedit-commands-file.c into 'gedit_commands_save_document' and bind it into python as gedit.commands.save_document(doc), like it has been done previously for gedit_commands_load_uri.
Comment 3 Steve Frécinaux 2008-01-22 08:15:10 UTC
*** Bug 483402 has been marked as a duplicate of this bug. ***
Comment 4 jessevdk@gmail.com 2009-05-22 02:07:15 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.