[gnome-control-center] shell: Make all-settings button always square
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Make all-settings button always square
- Date: Mon, 21 May 2012 18:18:05 +0000 (UTC)
commit 0b93e7c80f47b1ef2e6358917e073aa116e00a3e
Author: Bastien Nocera <hadess hadess net>
Date: Mon May 21 19:16:55 2012 +0100
shell: Make all-settings button always square
By wrapping it in an aspect frame.
https://bugzilla.gnome.org/show_bug.cgi?id=670551
shell/shell.ui | 31 +++++++++++++++++++++----------
1 files changed, 21 insertions(+), 10 deletions(-)
---
diff --git a/shell/shell.ui b/shell/shell.ui
index 87b7e7f..c606cc6 100644
--- a/shell/shell.ui
+++ b/shell/shell.ui
@@ -34,16 +34,27 @@
<object class="GtkHBox" id="hbox1">
<property name="visible">True</property>
<child>
- <object class="GtkButton" id="home-button">
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="no_show_all">True</property>
- <property name="use_underline">True</property>
- <property name="use_action_appearance">False</property>
- <property name="image">image1</property>
- <child internal-child="accessible">
- <object class="AtkObject" id="home-button-atkobject">
- <property name="AtkObject::accessible-name" translatable="yes">All Settings</property>
+ <object class="GtkAspectFrame" id="home-aspect-frame">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="ratio">1</property>
+ <property name="shadow-type">none</property>
+ <property name="obey-child">False</property>
+ <child>
+ <object class="GtkButton" id="home-button">
+ <property name="use_action_appearance">False</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="no_show_all">True</property>
+ <property name="use_action_appearance">False</property>
+ <property name="image">image1</property>
+ <property name="use_underline">True</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="home-button-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes">All Settings</property>
+ </object>
+ </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]