🪲 Fix support dialog on GTK4
This commit is contained in:
@@ -410,7 +410,7 @@ var PreferencesDialog = class PreferencesDialog {
|
||||
this._settings.set_boolean('show-support-dialog', false);
|
||||
}
|
||||
|
||||
if (!utils.isGTK4()) {
|
||||
if (!utils.isADW()) {
|
||||
dialog.close();
|
||||
}
|
||||
});
|
||||
|
||||
+27
-31
@@ -38,40 +38,36 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
<property name="text">Do you want to support Burn-My-Windows?</property>
|
||||
<property name="secondary-text">If only one out of ten users would support this project with 1$ / month, I could work full-time on open-source projects!</property>
|
||||
<property name="modal">true</property>
|
||||
<child internal-child="vbox">
|
||||
<child internal-child="message_area">
|
||||
<object class="GtkBox">
|
||||
<child internal-child="message_area">
|
||||
<object class="GtkBox">
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="hexpand">true</property>
|
||||
<property name="halign">start</property>
|
||||
<property name="use-markup">true</property>
|
||||
<property name="label">Support me on Ko-fi: <a href='https://ko-fi.com/schneegans'>https://ko-fi.com/schneegans</a></property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="hexpand">true</property>
|
||||
<property name="halign">start</property>
|
||||
<property name="use-markup">true</property>
|
||||
<property name="label">Support me on GitHub: <a href='https://github.com/sponsors/schneegans'>https://github.com/sponsors/schneegans</a></property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="hexpand">true</property>
|
||||
<property name="halign">start</property>
|
||||
<property name="use-markup">true</property>
|
||||
<property name="label">Support me on Ko-fi: <a href='https://ko-fi.com/schneegans'>https://ko-fi.com/schneegans</a></property>
|
||||
</object>
|
||||
</child>
|
||||
<child internal-child="action_area">
|
||||
<object class="GtkHButtonBox">
|
||||
<child>
|
||||
<object class="GtkButton" id="support_never_button">
|
||||
<property name="label">Do not show this again!</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="support_later_button">
|
||||
<property name="label">Maybe later...</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="hexpand">true</property>
|
||||
<property name="halign">start</property>
|
||||
<property name="use-markup">true</property>
|
||||
<property name="label">Support me on GitHub: <a href='https://github.com/sponsors/schneegans'>https://github.com/sponsors/schneegans</a></property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child internal-child="action_area">
|
||||
<object class="GtkBox">
|
||||
<child>
|
||||
<object class="GtkButton" id="support_never_button">
|
||||
<property name="label">Do not show this again!</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="support_later_button">
|
||||
<property name="label">Maybe later...</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
||||
Reference in New Issue
Block a user