diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-11-14 21:19:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-11-15 20:14:10 +0100 |
commit | 15377223043d4430ebf49eefe0f00a736908d02d (patch) | |
tree | 0907eb53c6d27c089d83ea7b4f570158da7b4933 /extensions/uiconfig | |
parent | 8a92373a20dfce8112e45bd80f0f6c927224ff98 (diff) |
add <!-- n-columns=1 n-rows=1 --> before every GtkGrid
for a in `git ls-files '*.ui'`; do sed -i 's/^\( *\)\(<object class="GtkGrid".*\)/\1<!-- n-columns=1 n-rows=1 -->\n\1\2/' $a; done
so we get the same behavior in glade as before 3.38 in that the grid preview
don't show any unoccupied grid squares
replace all existing n-columns=X n-rows=Y lines because they are
all wrong, except for
cui/uiconfig/ui/additionsfragment.ui
sw/uiconfig/swriter/ui/pageheaderpanel.ui
sw/uiconfig/swriter/ui/pagefooterpanel.ui
which are correct.
Change-Id: I401bbe8e098c26e7f57d6a872d3b70fc1ce85a00
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105846
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'extensions/uiconfig')
17 files changed, 29 insertions, 0 deletions
diff --git a/extensions/uiconfig/sabpilot/ui/contenttablepage.ui b/extensions/uiconfig/sabpilot/ui/contenttablepage.ui index 924dd59285a9..b11f69b12906 100644 --- a/extensions/uiconfig/sabpilot/ui/contenttablepage.ui +++ b/extensions/uiconfig/sabpilot/ui/contenttablepage.ui @@ -39,6 +39,7 @@ <property name="hexpand">True</property> <property name="spacing">6</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/sabpilot/ui/datasourcepage.ui b/extensions/uiconfig/sabpilot/ui/datasourcepage.ui index ace55133f21e..e9a4ca29001f 100644 --- a/extensions/uiconfig/sabpilot/ui/datasourcepage.ui +++ b/extensions/uiconfig/sabpilot/ui/datasourcepage.ui @@ -2,6 +2,7 @@ <!-- Generated with glade 3.36.0 --> <interface domain="pcr"> <requires lib="gtk+" version="3.20"/> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="DataSourcePage"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -31,6 +32,7 @@ Now, just enter the name under which you want to register the data source in %PR </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid3"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -52,6 +54,7 @@ Now, just enter the name under which you want to register the data source in %PR </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid4"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -145,12 +148,14 @@ Now, just enter the name under which you want to register the data source in %PR <property name="hexpand">True</property> <property name="left_padding">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid5"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="row_spacing">6</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid6"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/sabpilot/ui/fieldassignpage.ui b/extensions/uiconfig/sabpilot/ui/fieldassignpage.ui index 88aa19e238b7..ca2c8a68e11a 100644 --- a/extensions/uiconfig/sabpilot/ui/fieldassignpage.ui +++ b/extensions/uiconfig/sabpilot/ui/fieldassignpage.ui @@ -2,6 +2,7 @@ <!-- Generated with glade 3.36.0 --> <interface domain="pcr"> <requires lib="gtk+" version="3.20"/> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="FieldAssignPage"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/sabpilot/ui/gridfieldsselectionpage.ui b/extensions/uiconfig/sabpilot/ui/gridfieldsselectionpage.ui index 7da23ed8630f..ee4b75ea0cd2 100644 --- a/extensions/uiconfig/sabpilot/ui/gridfieldsselectionpage.ui +++ b/extensions/uiconfig/sabpilot/ui/gridfieldsselectionpage.ui @@ -48,6 +48,7 @@ <property name="hexpand">True</property> <property name="spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -96,6 +97,7 @@ </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid2"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -179,6 +181,7 @@ <property name="top_padding">6</property> <property name="left_padding">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid3"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/sabpilot/ui/groupradioselectionpage.ui b/extensions/uiconfig/sabpilot/ui/groupradioselectionpage.ui index 2e5b9f3487c9..594401033477 100644 --- a/extensions/uiconfig/sabpilot/ui/groupradioselectionpage.ui +++ b/extensions/uiconfig/sabpilot/ui/groupradioselectionpage.ui @@ -40,6 +40,7 @@ <property name="hexpand">True</property> <property name="spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -159,6 +160,7 @@ <property name="top_padding">6</property> <property name="left_padding">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid3"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/sabpilot/ui/invokeadminpage.ui b/extensions/uiconfig/sabpilot/ui/invokeadminpage.ui index 7a099b47cc53..42db6c542934 100644 --- a/extensions/uiconfig/sabpilot/ui/invokeadminpage.ui +++ b/extensions/uiconfig/sabpilot/ui/invokeadminpage.ui @@ -2,6 +2,7 @@ <!-- Generated with glade 3.36.0 --> <interface domain="pcr"> <requires lib="gtk+" version="3.20"/> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="InvokeAdminPage"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/sabpilot/ui/optiondbfieldpage.ui b/extensions/uiconfig/sabpilot/ui/optiondbfieldpage.ui index df2998972c4f..718ae4a246a6 100644 --- a/extensions/uiconfig/sabpilot/ui/optiondbfieldpage.ui +++ b/extensions/uiconfig/sabpilot/ui/optiondbfieldpage.ui @@ -52,6 +52,7 @@ </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/sabpilot/ui/selecttablepage.ui b/extensions/uiconfig/sabpilot/ui/selecttablepage.ui index accc88b9eda2..0ef0e0f8ef11 100644 --- a/extensions/uiconfig/sabpilot/ui/selecttablepage.ui +++ b/extensions/uiconfig/sabpilot/ui/selecttablepage.ui @@ -10,6 +10,7 @@ <column type="gchararray"/> </columns> </object> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="SelectTablePage"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/sabpilot/ui/selecttypepage.ui b/extensions/uiconfig/sabpilot/ui/selecttypepage.ui index cabe62c9c6fd..bd47ababf712 100644 --- a/extensions/uiconfig/sabpilot/ui/selecttypepage.ui +++ b/extensions/uiconfig/sabpilot/ui/selecttypepage.ui @@ -2,6 +2,7 @@ <!-- Generated with glade 3.36.0 --> <interface domain="pcr"> <requires lib="gtk+" version="3.20"/> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="SelectTypePage"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -31,6 +32,7 @@ This wizard helps you create the data source.</property> </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/sbibliography/ui/generalpage.ui b/extensions/uiconfig/sbibliography/ui/generalpage.ui index 94d7250b7858..dc22f8702019 100644 --- a/extensions/uiconfig/sbibliography/ui/generalpage.ui +++ b/extensions/uiconfig/sbibliography/ui/generalpage.ui @@ -21,6 +21,7 @@ <property name="can_focus">False</property> <property name="border_width">6</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/sbibliography/ui/mappingdialog.ui b/extensions/uiconfig/sbibliography/ui/mappingdialog.ui index 9600f238ae69..67f0be762f43 100644 --- a/extensions/uiconfig/sbibliography/ui/mappingdialog.ui +++ b/extensions/uiconfig/sbibliography/ui/mappingdialog.ui @@ -91,6 +91,7 @@ <property name="top_padding">6</property> <property name="left_padding">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/scanner/ui/sanedialog.ui b/extensions/uiconfig/scanner/ui/sanedialog.ui index ca56471e045b..3f033f517702 100644 --- a/extensions/uiconfig/scanner/ui/sanedialog.ui +++ b/extensions/uiconfig/scanner/ui/sanedialog.ui @@ -151,6 +151,7 @@ <property name="top_padding">6</property> <property name="left_padding">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -355,6 +356,7 @@ <property name="orientation">vertical</property> <property name="spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid2"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -455,6 +457,7 @@ <property name="spacing">12</property> <property name="homogeneous">True</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid3"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -520,6 +523,7 @@ </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid4"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/spropctrlr/ui/browserline.ui b/extensions/uiconfig/spropctrlr/ui/browserline.ui index 0e38278c8d18..275c58aa02c3 100644 --- a/extensions/uiconfig/spropctrlr/ui/browserline.ui +++ b/extensions/uiconfig/spropctrlr/ui/browserline.ui @@ -2,6 +2,7 @@ <!-- Generated with glade 3.22.1 --> <interface domain="pcr"> <requires lib="gtk+" version="3.20"/> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="BrowserLine"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/spropctrlr/ui/browserpage.ui b/extensions/uiconfig/spropctrlr/ui/browserpage.ui index 4bf318d4911d..8a084283fdca 100644 --- a/extensions/uiconfig/spropctrlr/ui/browserpage.ui +++ b/extensions/uiconfig/spropctrlr/ui/browserpage.ui @@ -2,6 +2,7 @@ <!-- Generated with glade 3.22.1 --> <interface domain="pcr"> <requires lib="gtk+" version="3.20"/> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="BrowserPage"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/spropctrlr/ui/controlfontdialog.ui b/extensions/uiconfig/spropctrlr/ui/controlfontdialog.ui index 9ff1de15d3bf..81a9e54d6b8a 100644 --- a/extensions/uiconfig/spropctrlr/ui/controlfontdialog.ui +++ b/extensions/uiconfig/spropctrlr/ui/controlfontdialog.ui @@ -95,6 +95,7 @@ <property name="scrollable">True</property> <property name="enable_popup">True</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -138,6 +139,7 @@ </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/spropctrlr/ui/datatypedialog.ui b/extensions/uiconfig/spropctrlr/ui/datatypedialog.ui index 7b1fee01af22..ab095ef2de26 100644 --- a/extensions/uiconfig/spropctrlr/ui/datatypedialog.ui +++ b/extensions/uiconfig/spropctrlr/ui/datatypedialog.ui @@ -76,6 +76,7 @@ </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid2"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/extensions/uiconfig/spropctrlr/ui/taborder.ui b/extensions/uiconfig/spropctrlr/ui/taborder.ui index f410a722152a..fbe57d18850f 100644 --- a/extensions/uiconfig/spropctrlr/ui/taborder.ui +++ b/extensions/uiconfig/spropctrlr/ui/taborder.ui @@ -99,6 +99,7 @@ <property name="top_padding">6</property> <property name="left_padding">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid"> <property name="visible">True</property> <property name="can_focus">False</property> |