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 /basctl/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 'basctl/uiconfig')
-rw-r--r-- | basctl/uiconfig/basicide/ui/basicmacrodialog.ui | 1 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/defaultlanguage.ui | 2 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/dialogpage.ui | 3 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/dockingorganizer.ui | 1 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/dockingstack.ui | 1 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/dockingwatch.ui | 2 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/exportdialog.ui | 1 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/gotolinedialog.ui | 1 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/importlibdialog.ui | 2 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/libpage.ui | 4 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/managebreakpoints.ui | 3 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/managelanguages.ui | 2 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/modulepage.ui | 3 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/newlibdialog.ui | 1 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/organizedialog.ui | 3 |
15 files changed, 30 insertions, 0 deletions
diff --git a/basctl/uiconfig/basicide/ui/basicmacrodialog.ui b/basctl/uiconfig/basicide/ui/basicmacrodialog.ui index b8ca8a31e27e..71113d3f8479 100644 --- a/basctl/uiconfig/basicide/ui/basicmacrodialog.ui +++ b/basctl/uiconfig/basicide/ui/basicmacrodialog.ui @@ -102,6 +102,7 @@ <property name="can_focus">False</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> diff --git a/basctl/uiconfig/basicide/ui/defaultlanguage.ui b/basctl/uiconfig/basicide/ui/defaultlanguage.ui index 26fa3dd2592e..143fed95557d 100644 --- a/basctl/uiconfig/basicide/ui/defaultlanguage.ui +++ b/basctl/uiconfig/basicide/ui/defaultlanguage.ui @@ -97,6 +97,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> @@ -104,6 +105,7 @@ <property name="vexpand">True</property> <property name="row_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> diff --git a/basctl/uiconfig/basicide/ui/dialogpage.ui b/basctl/uiconfig/basicide/ui/dialogpage.ui index a8228e1fb2d4..a3d0b4f02e12 100644 --- a/basctl/uiconfig/basicide/ui/dialogpage.ui +++ b/basctl/uiconfig/basicide/ui/dialogpage.ui @@ -12,11 +12,13 @@ <column type="gchararray"/> </columns> </object> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="DialogPage"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="border_width">6</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="grid2"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -24,6 +26,7 @@ <property name="vexpand">True</property> <property name="column_spacing">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/basctl/uiconfig/basicide/ui/dockingorganizer.ui b/basctl/uiconfig/basicide/ui/dockingorganizer.ui index eec2a8f0898a..f0e05055d1be 100644 --- a/basctl/uiconfig/basicide/ui/dockingorganizer.ui +++ b/basctl/uiconfig/basicide/ui/dockingorganizer.ui @@ -12,6 +12,7 @@ <column type="gchararray"/> </columns> </object> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="DockingOrganizer"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/basctl/uiconfig/basicide/ui/dockingstack.ui b/basctl/uiconfig/basicide/ui/dockingstack.ui index 8de214dc2595..90d7146940da 100644 --- a/basctl/uiconfig/basicide/ui/dockingstack.ui +++ b/basctl/uiconfig/basicide/ui/dockingstack.ui @@ -10,6 +10,7 @@ <column type="gchararray"/> </columns> </object> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="DockingStack"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/basctl/uiconfig/basicide/ui/dockingwatch.ui b/basctl/uiconfig/basicide/ui/dockingwatch.ui index 73ba44cd37c3..6c4fa378f0fa 100644 --- a/basctl/uiconfig/basicide/ui/dockingwatch.ui +++ b/basctl/uiconfig/basicide/ui/dockingwatch.ui @@ -20,6 +20,7 @@ <column type="gchararray"/> </columns> </object> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="DockingWatch"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -28,6 +29,7 @@ <property name="row_spacing">6</property> <property name="column_spacing">12</property> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="titlearea"> <property name="visible">True</property> <property name="can_focus">False</property> diff --git a/basctl/uiconfig/basicide/ui/exportdialog.ui b/basctl/uiconfig/basicide/ui/exportdialog.ui index a0cdedc0e8fe..bac3aacf6019 100644 --- a/basctl/uiconfig/basicide/ui/exportdialog.ui +++ b/basctl/uiconfig/basicide/ui/exportdialog.ui @@ -78,6 +78,7 @@ </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> diff --git a/basctl/uiconfig/basicide/ui/gotolinedialog.ui b/basctl/uiconfig/basicide/ui/gotolinedialog.ui index 9a963ece1f88..1dc7116501c2 100644 --- a/basctl/uiconfig/basicide/ui/gotolinedialog.ui +++ b/basctl/uiconfig/basicide/ui/gotolinedialog.ui @@ -74,6 +74,7 @@ </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> diff --git a/basctl/uiconfig/basicide/ui/importlibdialog.ui b/basctl/uiconfig/basicide/ui/importlibdialog.ui index b39c971704fb..824fcf751b28 100644 --- a/basctl/uiconfig/basicide/ui/importlibdialog.ui +++ b/basctl/uiconfig/basicide/ui/importlibdialog.ui @@ -88,6 +88,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> @@ -107,6 +108,7 @@ <property name="top_padding">6</property> <property name="left_padding">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> diff --git a/basctl/uiconfig/basicide/ui/libpage.ui b/basctl/uiconfig/basicide/ui/libpage.ui index 7cf909732683..2c4bcc9f5521 100644 --- a/basctl/uiconfig/basicide/ui/libpage.ui +++ b/basctl/uiconfig/basicide/ui/libpage.ui @@ -14,12 +14,14 @@ <column type="gchararray"/> </columns> </object> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="LibPage"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="border_width">6</property> <property name="row_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> @@ -28,6 +30,7 @@ <property name="row_spacing">12</property> <property name="column_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> @@ -71,6 +74,7 @@ </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> diff --git a/basctl/uiconfig/basicide/ui/managebreakpoints.ui b/basctl/uiconfig/basicide/ui/managebreakpoints.ui index 441f3a4cb9ac..de6e12c89856 100644 --- a/basctl/uiconfig/basicide/ui/managebreakpoints.ui +++ b/basctl/uiconfig/basicide/ui/managebreakpoints.ui @@ -137,6 +137,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> @@ -162,6 +163,7 @@ </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="entriesgrid"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -231,6 +233,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/basctl/uiconfig/basicide/ui/managelanguages.ui b/basctl/uiconfig/basicide/ui/managelanguages.ui index 31a77d748594..a78980bc882e 100644 --- a/basctl/uiconfig/basicide/ui/managelanguages.ui +++ b/basctl/uiconfig/basicide/ui/managelanguages.ui @@ -67,6 +67,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> @@ -102,6 +103,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/basctl/uiconfig/basicide/ui/modulepage.ui b/basctl/uiconfig/basicide/ui/modulepage.ui index 8aedfa091a40..d6f3eed40615 100644 --- a/basctl/uiconfig/basicide/ui/modulepage.ui +++ b/basctl/uiconfig/basicide/ui/modulepage.ui @@ -12,12 +12,14 @@ <column type="gchararray"/> </columns> </object> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid" id="ModulePage"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="border_width">6</property> <property name="row_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> @@ -25,6 +27,7 @@ <property name="vexpand">True</property> <property name="column_spacing">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/basctl/uiconfig/basicide/ui/newlibdialog.ui b/basctl/uiconfig/basicide/ui/newlibdialog.ui index d27d427b8328..74a55aa4f04a 100644 --- a/basctl/uiconfig/basicide/ui/newlibdialog.ui +++ b/basctl/uiconfig/basicide/ui/newlibdialog.ui @@ -78,6 +78,7 @@ </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> diff --git a/basctl/uiconfig/basicide/ui/organizedialog.ui b/basctl/uiconfig/basicide/ui/organizedialog.ui index 06ee57352533..787280332990 100644 --- a/basctl/uiconfig/basicide/ui/organizedialog.ui +++ b/basctl/uiconfig/basicide/ui/organizedialog.ui @@ -71,6 +71,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> @@ -114,6 +115,7 @@ </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -161,6 +163,7 @@ </packing> </child> <child> + <!-- n-columns=1 n-rows=1 --> <object class="GtkGrid"> <property name="visible">True</property> <property name="can_focus">False</property> |