[epiphany] history-dialog: Use an image in the "Clear all" button
- From: Jan-Michael Brummer <jbrummer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] history-dialog: Use an image in the "Clear all" button
- Date: Sat, 22 Jun 2019 14:51:50 +0000 (UTC)
commit 035a8fd3730f08e3bc8857fbf81332e29e9b646a
Author: Adrien Plazas <kekun plazas laposte net>
Date: Wed Jun 19 09:46:02 2019 +0200
history-dialog: Use an image in the "Clear all" button
This aligns the look of the header bar of the history dialog to the one
of the cookies dialog.
src/resources/gtk/history-dialog.ui | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/src/resources/gtk/history-dialog.ui b/src/resources/gtk/history-dialog.ui
index f029d4df2..3449a2ce6 100644
--- a/src/resources/gtk/history-dialog.ui
+++ b/src/resources/gtk/history-dialog.ui
@@ -8,6 +8,11 @@
<property name="can_focus">False</property>
<property name="icon_name">edit-find-symbolic</property>
</object>
+ <object class="GtkImage" id="image2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="icon_name">user-trash-symbolic</property>
+ </object>
<template class="EphyHistoryDialog" parent="GtkWindow">
<property name="can_focus">False</property>
<property name="modal">True</property>
@@ -25,15 +30,16 @@
<property name="show_close_button">True</property>
<child>
<object class="GtkButton" id="forget_all_button">
- <property name="label" translatable="yes">C_lear all</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="action_name">history.forget-all</property>
- <property name="use_underline">True</property>
+ <property name="image">image2</property>
+ <property name="always_show_image">True</property>
+ <property name="tooltip_text" translatable="yes">Remove all history</property>
+ <accelerator key="Delete" signal="clicked" modifiers="GDK_SHIFT_MASK"/>
<style>
<class name="destructive-action"/>
- <class name="text-button"/>
</style>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]