[gnome-boxes] selectionbar: Make favorite button a text button
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] selectionbar: Make favorite button a text button
- Date: Sat, 14 Feb 2015 14:48:30 +0000 (UTC)
commit 218fd9d25ae10edd0f37f1a2c8be3252e94fd27b
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sat Feb 14 14:43:02 2015 +0000
selectionbar: Make favorite button a text button
This is not just for consistency with other buttons in the selectionbar
but also to make selectionbar more consistent with context menu items.
data/ui/selectionbar.ui | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/data/ui/selectionbar.ui b/data/ui/selectionbar.ui
index 0583012..b95373c 100644
--- a/data/ui/selectionbar.ui
+++ b/data/ui/selectionbar.ui
@@ -15,18 +15,12 @@
<object class="GtkToggleButton" id="favorite_btn">
<property name="visible">True</property>
<property name="valign">center</property>
+ <property name="use-underline">True</property>
+ <property name="label" translatable="yes">_Favorite</property>
<signal name="clicked" handler="on_favorite_btn_clicked"/>
<style>
- <class name="image-button"/>
+ <class name="text-button"/>
</style>
-
- <child>
- <object class="GtkImage" id="favorite_image">
- <property name="visible">True</property>
- <property name="icon-name">emblem-favorite-symbolic</property>
- <property name="icon-size">1</property>
- </object>
- </child>
</object>
<packing>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]