[Github-comments] [geany/geany] Add reload all keybinding (#2859)

David Yang notifications at xxxxx
Tue Aug 10 14:09:45 UTC 2021


@Davidy22 commented on this pull request.



> @@ -335,6 +335,21 @@ void on_toolbutton_reload_clicked(GtkAction *action, gpointer user_data)
 	document_reload_prompt(doc, NULL);
 }
 
+/* reload all files */
+void on_toolbutton_reload_all_clicked(GtkAction *action, gpointer user_data)
+{
+	guint i;
+	gint cur_page = gtk_notebook_get_current_page(GTK_NOTEBOOK(main_widgets.notebook));
+	
+	foreach_document(i)
+	{
+		if (! (documents[i]->file_name == NULL))

Single dialog should be less annoying, I feel like this is still circumventing the spirit of the setting a bit but I don't see why people would willingly have the setting on anyways so I'll put it togethor sometime.

-- 
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/pull/2859#discussion_r686056953
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210810/40ae1cc3/attachment.htm>


More information about the Github-comments mailing list