🔧 Add separate ui files for adw and gtk4
This commit is contained in:
@@ -125,7 +125,8 @@ var SnapOfDisintegration = class {
|
||||
getPreferences(dialog) {
|
||||
|
||||
// Add the settings page to the builder.
|
||||
dialog.getBuilder().add_from_resource('/ui/gtk4/SnapOfDisintegration.ui');
|
||||
dialog.getBuilder().add_from_resource(
|
||||
`/ui/${utils.getUIDir()}/SnapOfDisintegration.ui`);
|
||||
|
||||
// Bind all properties.
|
||||
dialog.bindAdjustment('snap-animation-time');
|
||||
|
||||
Reference in New Issue
Block a user