Skip to content

Commit

Permalink
feat: save position
Browse files Browse the repository at this point in the history
  • Loading branch information
alainm23 committed Oct 12, 2024
1 parent 5cf8c4a commit de9b5d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Widgets/MainView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public class Widgets.MainView : Gtk.Widget {
shrink_end_child = false
};
main_widget.set_parent (this);

var settings = new Settings ("io.elementary.settings");
settings.bind ("sidebar-position", main_widget, "position", DEFAULT);
}

~MainView () {
Expand Down

0 comments on commit de9b5d4

Please sign in to comment.