diff options
author | mbkma <[email protected]> | 2019-05-02 00:46:48 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-05-06 13:36:03 +0200 |
commit | cebd93cb56ab8f64c0d1c1ad20871da315e80aa8 (patch) | |
tree | c62914948a57ab846842950d3b4988bf453c8b43 /src/buttons-financial.ui | |
parent | b3605bee34d6b62eb4e5057bbad40513bdc600df (diff) | |
download | mate-calc-cebd93cb56ab8f64c0d1c1ad20871da315e80aa8.tar.bz2 mate-calc-cebd93cb56ab8f64c0d1c1ad20871da315e80aa8.tar.xz |
buttons-ui: add style class "suggested-action" to result button
This gives the result (=) button a theme defined colour. Currently has
effects in Menta theme. Saw this on gnome-calculator.
Diffstat (limited to 'src/buttons-financial.ui')
-rw-r--r-- | src/buttons-financial.ui | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/src/buttons-financial.ui b/src/buttons-financial.ui index d0a775e..a803ed9 100644 --- a/src/buttons-financial.ui +++ b/src/buttons-financial.ui @@ -7,8 +7,8 @@ <property name="border_width">6</property> <property name="title" translatable="yes" comments="Title of Compounding Term dialog">Compounding Term</property> <property name="resizable">False</property> - <property name="type_hint">dialog</property> <property name="icon_name">accessories-calculator</property> + <property name="type_hint">dialog</property> <signal name="response" handler="finc_response_cb" swapped="no"/> <child> <placeholder/> @@ -190,8 +190,8 @@ <property name="border_width">6</property> <property name="title" translatable="yes" comments="Title of Double-Declining Depreciation dialog">Double-Declining Depreciation</property> <property name="resizable">False</property> - <property name="type_hint">dialog</property> <property name="icon_name">accessories-calculator</property> + <property name="type_hint">dialog</property> <signal name="response" handler="finc_response_cb" swapped="no"/> <child> <placeholder/> @@ -373,8 +373,8 @@ <property name="border_width">6</property> <property name="title" translatable="yes" comments="Title of Future Value dialog">Future Value</property> <property name="resizable">False</property> - <property name="type_hint">dialog</property> <property name="icon_name">accessories-calculator</property> + <property name="type_hint">dialog</property> <signal name="response" handler="finc_response_cb" swapped="no"/> <child> <placeholder/> @@ -556,8 +556,8 @@ <property name="border_width">6</property> <property name="title" translatable="yes" comments="Title of Gross Profit Margin dialog">Gross Profit Margin</property> <property name="resizable">False</property> - <property name="type_hint">dialog</property> <property name="icon_name">accessories-calculator</property> + <property name="type_hint">dialog</property> <signal name="response" handler="finc_response_cb" swapped="no"/> <child> <placeholder/> @@ -709,8 +709,8 @@ <property name="border_width">6</property> <property name="title" translatable="yes" comments="Title of Periodic Payment dialog">Periodic Payment</property> <property name="resizable">False</property> - <property name="type_hint">dialog</property> <property name="icon_name">accessories-calculator</property> + <property name="type_hint">dialog</property> <signal name="response" handler="finc_response_cb" swapped="no"/> <child> <placeholder/> @@ -893,8 +893,8 @@ <property name="border_width">6</property> <property name="title" translatable="yes" comments="Title of Present Value dialog">Present Value</property> <property name="resizable">False</property> - <property name="type_hint">dialog</property> <property name="icon_name">accessories-calculator</property> + <property name="type_hint">dialog</property> <signal name="response" handler="finc_response_cb" swapped="no"/> <child> <placeholder/> @@ -1077,8 +1077,8 @@ <property name="border_width">6</property> <property name="title" translatable="yes" comments="Title of Periodic Interest Rate dialog">Periodic Interest Rate</property> <property name="resizable">False</property> - <property name="type_hint">dialog</property> <property name="icon_name">accessories-calculator</property> + <property name="type_hint">dialog</property> <signal name="response" handler="finc_response_cb" swapped="no"/> <child> <placeholder/> @@ -1261,8 +1261,8 @@ <property name="border_width">6</property> <property name="title" translatable="yes" comments="Title of Straight-Line Depreciation dialog">Straight-Line Depreciation</property> <property name="resizable">False</property> - <property name="type_hint">dialog</property> <property name="icon_name">accessories-calculator</property> + <property name="type_hint">dialog</property> <signal name="response" handler="finc_response_cb" swapped="no"/> <child> <placeholder/> @@ -1445,8 +1445,8 @@ <property name="border_width">6</property> <property name="title" translatable="yes" comments="Title of Sum-of-the-Years'-Digits Depreciation dialog">Sum-of-the-Years'-Digits Depreciation</property> <property name="resizable">False</property> - <property name="type_hint">dialog</property> <property name="icon_name">accessories-calculator</property> + <property name="type_hint">dialog</property> <signal name="response" handler="finc_response_cb" swapped="no"/> <child> <placeholder/> @@ -1658,8 +1658,8 @@ <property name="border_width">6</property> <property name="title" translatable="yes" comments="Title of Payment Period dialog">Payment Period</property> <property name="resizable">False</property> - <property name="type_hint">dialog</property> <property name="icon_name">accessories-calculator</property> + <property name="type_hint">dialog</property> <signal name="response" handler="finc_response_cb" swapped="no"/> <child> <placeholder/> @@ -2104,6 +2104,9 @@ <property name="receives_default">True</property> <property name="use_underline">True</property> <signal name="clicked" handler="solve_cb" swapped="no"/> + <style> + <class name="suggested-action"/> + </style> </object> <packing> <property name="left_attach">4</property> |