Skip to content

Commit e2d0ea3

Browse files
authored
Merge branch 'master' into jeremypw/gtk4prep/replace-dialog-run
2 parents 4cc1a7e + c598e76 commit e2d0ea3

612 files changed

Lines changed: 36106 additions & 39256 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

plugins/spell/spell.vala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,18 @@ public class Scratch.Plugins.Spell: Peas.ExtensionBase, Scratch.Services.Activat
7474
if (language_list.length () == 0) {
7575
// This fallback to the LC used but might fail.
7676
spell.set_language (null);
77+
7778
var dialog = new Granite.MessageDialog (
7879
_("No Suitable Dictionaries Were Found"),
7980
_("Please install at least one [aspell] dictionary."),
8081
new ThemedIcon ("dialog-warning"),
8182
Gtk.ButtonsType.CLOSE
8283
);
83-
8484
dialog.response.connect (() => {
8585
dialog.destroy ();
8686
});
87+
// The following code does not depend on the dialog response
88+
//so we can just show the dialog
8789
dialog.show ();
8890
} else if (!exist_language) {
8991
this.lang_dict = language_list.first ().data;

0 commit comments

Comments
 (0)