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/sabpilot | |
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/sabpilot')
9 files changed, 17 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> |