[gtk+] widget-factory: use circular style class on the circular button...
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] widget-factory: use circular style class on the circular button...
- Date: Wed, 19 Oct 2016 14:08:48 +0000 (UTC)
commit bec95e55e4b0aa40ec4aae7eccb85028cca19d9d
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Tue Oct 18 13:08:02 2016 +0200
widget-factory: use circular style class on the circular button...
...in place of the circular-button one, killing the custom style
shipped, realying on the theme style.
demos/widget-factory/widget-factory.css | 5 -----
demos/widget-factory/widget-factory.ui | 2 +-
2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.css b/demos/widget-factory/widget-factory.css
index 7f764ca..1782e6d 100644
--- a/demos/widget-factory/widget-factory.css
+++ b/demos/widget-factory/widget-factory.css
@@ -1,8 +1,3 @@
-.circular-button {
- border-radius: 20px;
- -gtk-outline-radius: 20px;
-}
-
.small-button {
padding: 0;
outline-width: 0;
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index 3ea03b6..34bddd5 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -3066,7 +3066,7 @@ microphone-sensitivity-medium-symbolic</property>
<property name="visible">1</property>
<style>
<class name="image-button"/>
- <class name="circular-button"/>
+ <class name="circular"/>
</style>
<child>
<object class="GtkImage">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]