summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutomeris naranja <automerisnaranja@tutanota.com>2023-05-03 15:18:47 -0300
committerFelipe Borges <felipeborges@gnome.org>2023-05-04 09:54:07 +0000
commit13e4e0c24250c90d047007844caa655c40e27624 (patch)
tree491b950f5d2a32f609d0d8d890d5df5d7a1d9f77
parentc3110d2187e6df1a1b673cab35a3bbb0bfc3f03d (diff)
downloadgnome-control-center-13e4e0c24250c90d047007844caa655c40e27624.tar.gz
general: Set a minimum size for various dialogs
This change prevents some dialogs from being shrunk to a really small size by setting a minimum size for them.
-rw-r--r--panels/keyboard/cc-keyboard-shortcut-dialog.ui2
-rw-r--r--panels/search/cc-search-locations-dialog.ui2
-rw-r--r--panels/sharing/cc-sharing-panel.ui2
-rw-r--r--panels/sound/cc-alert-chooser-window.ui2
-rw-r--r--panels/sound/cc-volume-levels-window.ui2
5 files changed, 10 insertions, 0 deletions
diff --git a/panels/keyboard/cc-keyboard-shortcut-dialog.ui b/panels/keyboard/cc-keyboard-shortcut-dialog.ui
index 6d017db58..fd3c38ee9 100644
--- a/panels/keyboard/cc-keyboard-shortcut-dialog.ui
+++ b/panels/keyboard/cc-keyboard-shortcut-dialog.ui
@@ -2,6 +2,8 @@
<interface>
<template class="CcKeyboardShortcutDialog" parent="AdwWindow">
<property name="modal">True</property>
+ <property name="width-request">360</property>
+ <property name="height-request">294</property>
<property name="default-width">600</property>
<property name="default-height">540</property>
<property name="title" translatable="yes">Keyboard Shortcuts</property>
diff --git a/panels/search/cc-search-locations-dialog.ui b/panels/search/cc-search-locations-dialog.ui
index 7bee0cfb7..9898accf1 100644
--- a/panels/search/cc-search-locations-dialog.ui
+++ b/panels/search/cc-search-locations-dialog.ui
@@ -3,6 +3,8 @@
<!-- interface-requires gtk+ 3.0 -->
<template class="CcSearchLocationsDialog" parent="AdwPreferencesWindow">
<property name="modal">True</property>
+ <property name="width-request">360</property>
+ <property name="height-request">294</property>
<property name="hide-on-close">True</property>
<property name="search-enabled">False</property>
<property name="title" translatable="yes">Search Locations</property>
diff --git a/panels/sharing/cc-sharing-panel.ui b/panels/sharing/cc-sharing-panel.ui
index 54846def7..ec6dc539c 100644
--- a/panels/sharing/cc-sharing-panel.ui
+++ b/panels/sharing/cc-sharing-panel.ui
@@ -215,6 +215,8 @@
<object class="GtkDialog" id="remote_desktop_dialog">
<property name="title" translatable="yes">Remote Desktop</property>
<property name="modal">True</property>
+ <property name="width-request">360</property>
+ <property name="height-request">294</property>
<property name="default-width">640</property>
<child type="titlebar">
<object class="GtkHeaderBar">
diff --git a/panels/sound/cc-alert-chooser-window.ui b/panels/sound/cc-alert-chooser-window.ui
index b24ba7576..f76c1b1cf 100644
--- a/panels/sound/cc-alert-chooser-window.ui
+++ b/panels/sound/cc-alert-chooser-window.ui
@@ -3,6 +3,8 @@
<template class="CcAlertChooserWindow" parent="GtkWindow">
<property name="title" translatable="yes">Alert Sound</property>
<property name="modal">True</property>
+ <property name="width-request">360</property>
+ <property name="height-request">294</property>
<property name="default-width">360</property>
<property name="titlebar">
<object class="GtkHeaderBar">
diff --git a/panels/sound/cc-volume-levels-window.ui b/panels/sound/cc-volume-levels-window.ui
index 229ccf5fe..06d227abd 100644
--- a/panels/sound/cc-volume-levels-window.ui
+++ b/panels/sound/cc-volume-levels-window.ui
@@ -3,6 +3,8 @@
<template class="CcVolumeLevelsWindow" parent="GtkWindow">
<property name="title" translatable="yes">Volume Levels</property>
<property name="modal">True</property>
+ <property name="width-request">360</property>
+ <property name="height-request">294</property>
<property name="default-width">660</property>
<property name="default-height">560</property>
<property name="titlebar">