summarylogtreecommitdiffstats
path: root/StartupWMClass_and_GNOME3-context-menu.patch
diff options
context:
space:
mode:
authorDet2016-10-09 17:25:56 +0300
committerDet2016-10-09 17:25:56 +0300
commitc87975c3edab192ec12c2fa0333b51e8a3df3c25 (patch)
tree5d74248a9046889314b1a1e204d6bd8019f91502 /StartupWMClass_and_GNOME3-context-menu.patch
parent0402422dad5a133903b92a748e71344de92db0d6 (diff)
downloadaur-c87975c3edab192ec12c2fa0333b51e8a3df3c25.tar.gz
Fix GNOME3 context menus
Diffstat (limited to 'StartupWMClass_and_GNOME3-context-menu.patch')
-rw-r--r--StartupWMClass_and_GNOME3-context-menu.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/StartupWMClass_and_GNOME3-context-menu.patch b/StartupWMClass_and_GNOME3-context-menu.patch
new file mode 100644
index 000000000000..f5ef6af7d70a
--- /dev/null
+++ b/StartupWMClass_and_GNOME3-context-menu.patch
@@ -0,0 +1,29 @@
+diff -ur usr/share/applications/google-chrome-unstable.desktop usr-patched/share/applications/google-chrome-unstable.desktop
+--- usr/share/applications/google-chrome-unstable.desktop 2016-10-06 08:51:52.000000000 +0300
++++ usr-patched/share/applications/google-chrome-unstable.desktop 2016-10-09 17:00:17.824290100 +0300
+@@ -105,6 +105,7 @@
+ Comment[zh_CN]=访问互联网
+ Comment[zh_HK]=連線到網際網路
+ Comment[zh_TW]=連線到網際網路
++StartupWMClass=Google-chrome-unstable
+ Exec=/usr/bin/google-chrome-unstable %U
+ Terminal=false
+ Icon=google-chrome-unstable
+@@ -112,6 +113,17 @@
+ Categories=Network;WebBrowser;
+ MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
+ X-Ayatana-Desktop-Shortcuts=NewWindow;NewIncognito
++Actions=new-window;new-private-window;
++
++[Desktop Action new-window]
++Name=New Window
++StartupWMClass=Google-chrome-unstable
++Exec=/usr/bin/google-chrome-unstable
++
++[Desktop Action new-private-window]
++Name=New Private Window
++StartupWMClass=Google-chrome-unstable
++Exec=/usr/bin/google-chrome-unstable --incognito
+
+ [NewWindow Shortcut Group]
+ Name=New Window