[gnome-terminal/wip/fmuellner/headerbar: 5/6] window: Expose find action in headerbar
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/wip/fmuellner/headerbar: 5/6] window: Expose find action in headerbar
- Date: Fri, 2 Nov 2018 02:15:07 +0000 (UTC)
commit b204b74a85919d6ae0c24e6de32e87e47ef35a54
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Nov 2 00:39:22 2018 +0100
window: Expose find action in headerbar
Find is a useful standard action, and now that we are using client-side
decorations, we have a place to expose it more prominently than hiding
it in the menu.
For now this simply opens the existing dialog, in the future it may be
worth considering to make the UI available in a popover as well.
https://bugzilla.gnome.org/show_bug.cgi?id=756798
src/terminal-window.ui | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
---
diff --git a/src/terminal-window.ui b/src/terminal-window.ui
index 375bc2d7..0a4c6b88 100644
--- a/src/terminal-window.ui
+++ b/src/terminal-window.ui
@@ -7,6 +7,23 @@
<object class="GtkHeaderBar" id="headerbar">
<property name="visible">True</property>
<property name="show_close_button">True</property>
+ <child>
+ <object class="GtkButton">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="action-name">win.find</property>
+ <style>
+ <class name="image-button"/>
+ </style>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">True</property>
+ <property name="icon_name">edit-find-symbolic</property>
+ </object>
+ </child>
+ </object>
+ </child>
<child>
<object class="GtkMenuButton" id="primary_menubutton">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]