[gtk/wip/baedert/for-master] pagesetupdialog: Just use labels in check buttons
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master] pagesetupdialog: Just use labels in check buttons
- Date: Mon, 31 Aug 2020 16:07:06 +0000 (UTC)
commit 76b5ff6a0030d2d72614b7268354c6a745bc3504
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Aug 31 12:05:53 2020 -0400
pagesetupdialog: Just use labels in check buttons
Check buttons lost their ability to hold general
content. And while that is maybe sad, the tiny
images here are not really useful anyway, and
should just go away.
gtk/ui/gtkpagesetupunixdialog.ui | 66 +++-------------------------------------
1 file changed, 4 insertions(+), 62 deletions(-)
---
diff --git a/gtk/ui/gtkpagesetupunixdialog.ui b/gtk/ui/gtkpagesetupunixdialog.ui
index c35e73eaf0..1fe89e5575 100644
--- a/gtk/ui/gtkpagesetupunixdialog.ui
+++ b/gtk/ui/gtkpagesetupunixdialog.ui
@@ -94,23 +94,8 @@
</child>
<child>
<object class="GtkCheckButton" id="portrait_radio">
- <property name="hexpand">1</property>
<property name="active">1</property>
- <child>
- <object class="GtkBox" id="box1">
- <property name="spacing">6</property>
- <child>
- <object class="GtkImage" id="image1">
- <property name="icon-name">orientation-portrait-symbolic</property>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="label1">
- <property name="label" translatable="yes">Portrait</property>
- </object>
- </child>
- </object>
- </child>
+ <property name="label" translatable="yes">Portrait</property>
<layout>
<property name="column">1</property>
<property name="row">3</property>
@@ -119,24 +104,9 @@
</child>
<child>
<object class="GtkCheckButton" id="reverse_portrait_radio">
- <property name="hexpand">1</property>
<property name="active">1</property>
<property name="group">portrait_radio</property>
- <child>
- <object class="GtkBox" id="box2">
- <property name="spacing">6</property>
- <child>
- <object class="GtkImage" id="image2">
- <property name="icon-name">orientation-portrait-inverse-symbolic</property>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="label2">
- <property name="label" translatable="yes">Reverse portrait</property>
- </object>
- </child>
- </object>
- </child>
+ <property name="label" translatable="yes">Reverse portrait</property>
<layout>
<property name="column">2</property>
<property name="row">3</property>
@@ -148,21 +118,7 @@
<property name="hexpand">1</property>
<property name="active">1</property>
<property name="group">portrait_radio</property>
- <child>
- <object class="GtkBox" id="box3">
- <property name="spacing">6</property>
- <child>
- <object class="GtkImage" id="image3">
- <property name="icon-name">orientation-landscape-symbolic</property>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="label3">
- <property name="label" translatable="yes">Landscape</property>
- </object>
- </child>
- </object>
- </child>
+ <property name="label" translatable="yes">Landscape</property>
<layout>
<property name="column">1</property>
<property name="row">4</property>
@@ -173,21 +129,7 @@
<object class="GtkCheckButton" id="reverse_landscape_radio">
<property name="hexpand">1</property>
<property name="group">portrait_radio</property>
- <child>
- <object class="GtkBox" id="box4">
- <property name="spacing">6</property>
- <child>
- <object class="GtkImage" id="image4">
- <property name="icon-name">orientation-landscape-inverse-symbolic</property>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="label4">
- <property name="label" translatable="yes">Reverse landscape</property>
- </object>
- </child>
- </object>
- </child>
+ <property name="label" translatable="yes">Reverse landscape</property>
<layout>
<property name="column">2</property>
<property name="row">4</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]