Skip to content

Commit deecf80

Browse files
authored
Merge pull request #125 from demonpig/fix-transient_window
Fix warning message about transient window
2 parents 6e7ffd2 + 1f4675f commit deecf80

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Widgets/NewNotebookDialog.vala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public class ENotes.NotebookDialog : Gtk.Dialog {
3232

3333
public NotebookDialog (Notebook? notebook = null) {
3434
this.notebook = notebook;
35+
set_transient_for (window);
3536
build_ui ();
3637
connect_signals ();
3738

src/Widgets/PreferencesDialog.vala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public class ENotes.PreferencesDialog : Gtk.Dialog {
3333
private Gtk.Switch keep_sidebar_switch;
3434

3535
public PreferencesDialog () {
36+
set_transient_for (window);
3637
build_ui ();
3738
connect_signals ();
3839
}

0 commit comments

Comments
 (0)