[gnome-todo] window: Add F11 shortcut to fullscreen
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] window: Add F11 shortcut to fullscreen
- Date: Tue, 28 Apr 2020 21:28:27 +0000 (UTC)
commit 7d10dc12780c6eb871ceb138b7149cea2cd31e99
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Apr 28 18:22:32 2020 -0300
window: Add F11 shortcut to fullscreen
src/gtd-window.ui | 14 ++++++++++++++
1 file changed, 14 insertions(+)
---
diff --git a/src/gtd-window.ui b/src/gtd-window.ui
index 9be2aa3..4db4f98 100644
--- a/src/gtd-window.ui
+++ b/src/gtd-window.ui
@@ -4,6 +4,20 @@
<template class="GtdWindow" parent="GtkApplicationWindow">
<property name="default_width">800</property>
<property name="default_height">600</property>
+
+ <child>
+ <object class="GtkShortcutController">
+ <property name="name">Main Window Shortcuts</property>
+ <property name="scope">global</property>
+ <child>
+ <object class="GtkShortcut">
+ <property name="trigger">F11</property>
+ <property name="action">action(win.toggle-fullscreen)</property>
+ </object>
+ </child>
+ </object>
+ </child>
+
<style>
<class name="org-gnome-Todo"/>
</style>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]