Skip to content
Snippets Groups Projects
Verified Commit 9a31a6b3 authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Set preference window to modal

parent 27668c7b
No related branches found
No related tags found
No related merge requests found
Pipeline #3185 failed
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
SPDX-FileCopyrightText: 2020-2021 Bruce Cowan <bruce@bcowan.me.uk> SPDX-FileCopyrightText: 2020-2022 Bruce Cowan <bruce@bcowan.me.uk>
SPDX-License-Identifier: GPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later
--> -->
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
</object> </object>
<template class="RugbyPrefWindow" parent="GtkWindow"> <template class="RugbyPrefWindow" parent="GtkWindow">
<property name="title">Preferences</property> <property name="title">Preferences</property>
<property name="modal">True</property>
<child> <child>
<object class="GtkBox"> <object class="GtkBox">
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
......
/* /*
* SPDX-FileCopyrightText: 2012-2021 Bruce Cowan <bruce@bcowan.me.uk> * SPDX-FileCopyrightText: 2012-2022 Bruce Cowan <bruce@bcowan.me.uk>
* SPDX-License-Identifier: GPL-3.0-or-later * SPDX-License-Identifier: GPL-3.0-or-later
*/ */
...@@ -33,7 +33,7 @@ about_activated (G_GNUC_UNUSED GSimpleAction *simple, ...@@ -33,7 +33,7 @@ about_activated (G_GNUC_UNUSED GSimpleAction *simple,
gtk_show_about_dialog (window, gtk_show_about_dialog (window,
"logo-icon-name", "face-wink", "logo-icon-name", "face-wink",
"program-name", "Rugby", "program-name", "Rugby",
"copyright", "Copyright 2012–2021 Bruce Cowan", "copyright", "Copyright 2012–2022 Bruce Cowan",
"license-type", GTK_LICENSE_GPL_3_0, "license-type", GTK_LICENSE_GPL_3_0,
"authors", authors, "authors", authors,
"comments", "Rugby scores possiblities program", "comments", "Rugby scores possiblities program",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment