[gnome-sound-recorder/ebassi/experiments: 1/3] Remove unnecessary help-overlay creation
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder/ebassi/experiments: 1/3] Remove unnecessary help-overlay creation
- Date: Sat, 3 Sep 2022 15:23:23 +0000 (UTC)
commit fdaf6e59033d07d895856b8a9f879c881c1d4b69
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Aug 15 17:51:16 2022 +0100
Remove unnecessary help-overlay creation
GtkApplicationWindow will handle the help overlay automatically if one
is found at the right place in the UI definition file.
src/window.js | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/window.js b/src/window.js
index 8d2d054..d224d47 100644
--- a/src/window.js
+++ b/src/window.js
@@ -69,10 +69,6 @@ var Window = GObject.registerClass({
this.sendNotification(_('"%s" deleted').format(recording.name), recording, index);
});
- const builder = Gtk.Builder.new_from_resource('/org/gnome/SoundRecorder/gtk/help-overlay.ui');
- const dialog = builder.get_object('help_overlay');
- this.set_help_overlay(dialog);
-
this.toastUndo = false;
this.undoSignalID = null;
this.undoAction = new Gio.SimpleAction({ name: 'undo' });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]