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 690650 - run-program: Default to Yes in "The program is already running" dialog.
run-program: Default to Yes in "The program is already running" dialog.
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: plugins: run-program
unspecified
Other All
: Normal normal
: ---
Assigned To: Sébastien Granjoux
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2012-12-22 19:33 UTC by Carl-Anton Ingmarsson
Modified: 2012-12-22 21:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
run-program: Default to Yes in "The program is already running" dialog. (8.37 KB, patch)
2012-12-22 19:33 UTC, Carl-Anton Ingmarsson
committed Details | Review

Description Carl-Anton Ingmarsson 2012-12-22 19:33:03 UTC
See attached patch.
Comment 1 Carl-Anton Ingmarsson 2012-12-22 19:33:05 UTC
Created attachment 232131 [details] [review]
run-program: Default to Yes in "The program is already running" dialog.

It's in my opinion more common that you want to close the previous instance when you try
to run a new one.

Fix this by adding a boolean default_to_yes paramaeter to
anjuta_util_dialog_boolean_question().
Comment 2 Sébastien Granjoux 2012-12-22 21:28:08 UTC
Review of attachment 232131 [details] [review]:

Thanks for your patch, I have just committed it.