Skip to content

Commit

Permalink
gnome: Set pref window as transient for main
Browse files Browse the repository at this point in the history
  • Loading branch information
YaLTeR committed Apr 18, 2022
1 parent dd67c24 commit a1fe12d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plitki-gnome/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ mod imp {
self.playfield
.set_skin(Some(create_skin("/plitki-gnome/skin/arrows")));

self.pref_window.set_transient_for(Some(obj));

// Set up the drop target.
let drop_target = gtk::DropTarget::new(gio::File::static_type(), gdk::DragAction::COPY);
drop_target.connect_drop(
Expand Down

0 comments on commit a1fe12d

Please sign in to comment.