[gnome-games] ui: Don't use use-underline for icon buttons
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] ui: Don't use use-underline for icon buttons
- Date: Mon, 19 Aug 2019 19:00:11 +0000 (UTC)
commit 53e5fe708eedfdd2758a1a2d9eea3f071db764df
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Mon Aug 19 23:08:01 2019 +0500
ui: Don't use use-underline for icon buttons
This does absolutely nothing for these buttons, and in GTK4 this property
is not available on GtkMenuButton.
data/ui/collection-header-bar.ui | 5 -----
data/ui/display-header-bar.ui | 5 -----
data/ui/media-menu-button.ui | 1 -
3 files changed, 11 deletions(-)
---
diff --git a/data/ui/collection-header-bar.ui b/data/ui/collection-header-bar.ui
index 66703b45..2b27a0e6 100644
--- a/data/ui/collection-header-bar.ui
+++ b/data/ui/collection-header-bar.ui
@@ -16,7 +16,6 @@
<object class="GtkButton" id="add_game">
<property name="visible">True</property>
<property name="valign">center</property>
- <property name="use-underline">True</property>
<property name="action-name">app.add-game-files</property>
<style>
<class name="image-button"/>
@@ -43,7 +42,6 @@
<property name="popover">menu_popover</property>
<!-- Translators: tooltip for the application menu button -->
<property name="tooltip-text" translatable="yes">Menu</property>
- <property name="use-underline">True</property>
<property name="valign">center</property>
<property name="visible">True</property>
<style>
@@ -87,7 +85,6 @@
<object class="GtkToggleButton" id="search">
<property name="visible">True</property>
<property name="valign">center</property>
- <property name="use-underline">True</property>
<style>
<class name="image-button"/>
</style>
@@ -118,7 +115,6 @@
<object class="GtkButton">
<property name="visible">True</property>
<property name="valign">center</property>
- <property name="use-underline">True</property>
<signal name="clicked" handler="on_subview_back_clicked"/>
<style>
<class name="image-button"/>
@@ -141,7 +137,6 @@
<object class="GtkToggleButton" id="search_subview">
<property name="visible">True</property>
<property name="valign">center</property>
- <property name="use-underline">True</property>
<style>
<class name="image-button"/>
</style>
diff --git a/data/ui/display-header-bar.ui b/data/ui/display-header-bar.ui
index 339e941c..9461a421 100644
--- a/data/ui/display-header-bar.ui
+++ b/data/ui/display-header-bar.ui
@@ -20,7 +20,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">center</property>
- <property name="use-underline">True</property>
<signal name="clicked" handler="on_back_clicked"/>
<style>
<class name="image-button"/>
@@ -44,7 +43,6 @@
<property name="visible">False</property>
<property name="can_focus">False</property>
<property name="valign">center</property>
- <property name="use-underline">True</property>
<property name="margin-start">7</property>
<signal name="clicked" handler="on_restore_clicked"/>
<style>
@@ -71,7 +69,6 @@
<child>
<object class="GtkMenuButton" id="secondary_menu_button">
<property name="popover">secondary_menu</property>
- <property name="use-underline">True</property>
<property name="visible">True</property>
<property name="valign">center</property>
<property name="can-focus">False</property>
@@ -95,7 +92,6 @@
<property name="visible">False</property>
<property name="can_focus">False</property>
<property name="valign">center</property>
- <property name="use-underline">True</property>
<signal name="clicked" handler="on_fullscreen_clicked"/>
<style>
<class name="image-button"/>
@@ -157,7 +153,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">center</property>
- <property name="use-underline">True</property>
<signal name="clicked" handler="on_back_clicked"/>
<style>
<class name="image-button"/>
diff --git a/data/ui/media-menu-button.ui b/data/ui/media-menu-button.ui
index 93c21f2c..323f0897 100644
--- a/data/ui/media-menu-button.ui
+++ b/data/ui/media-menu-button.ui
@@ -7,7 +7,6 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="valign">center</property>
- <property name="use-underline">True</property>
<property name="popover">popover</property>
<child internal-child="accessible">
<object class="AtkObject" id="a11y-display-discs">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]