diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-31 20:59:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-31 20:59:14 +0100 |
commit | e748ba9741f6540f4675c23e3e37b73e822c13a4 (patch) | |
tree | 23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /app-editors/sublime-text/files | |
parent | 908778078736bd36f7a60a2d576d415cb8e000fa (diff) |
gentoo resync : 31.05.2021
Diffstat (limited to 'app-editors/sublime-text/files')
2 files changed, 58 insertions, 0 deletions
diff --git a/app-editors/sublime-text/files/sublime-text-4_p4107-remove-deprecated-key-onlyshowin-from-launcher.patch b/app-editors/sublime-text/files/sublime-text-4_p4107-remove-deprecated-key-onlyshowin-from-launcher.patch new file mode 100644 index 000000000000..04dfad334e2d --- /dev/null +++ b/app-editors/sublime-text/files/sublime-text-4_p4107-remove-deprecated-key-onlyshowin-from-launcher.patch @@ -0,0 +1,31 @@ +From 9df21c9ec00ac34174b443cc7cd8c4053b98eb00 Mon Sep 17 00:00:00 2001 +From: webstrand <webstrand@gmail.com> +Date: Thu, 27 May 2021 17:08:03 -0400 +Subject: [PATCH 1/2] remove deprecated key OnlyShowIn from launcher + +Silences a QA notice that the key "OnlyShowIn" in group +"Desktop Action new-file" and "Desktop Action new-window" is deprecated. + +https://bugs.freedesktop.org/show_bug.cgi?id=66712 No replacement or +alternative is provided, the key is simply ignored. +--- + sublime_text.desktop | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/sublime_text.desktop b/sublime_text.desktop +index 7407709..b171254 100644 +--- a/sublime_text.desktop ++++ b/sublime_text.desktop +@@ -15,9 +15,7 @@ Actions=new-window;new-file; + [Desktop Action new-window] + Name=New Window + Exec=/opt/sublime_text/sublime_text --launch-or-new-window +-OnlyShowIn=Unity; + + [Desktop Action new-file] + Name=New File + Exec=/opt/sublime_text/sublime_text --command new_file +-OnlyShowIn=Unity; +-- +2.31.1 + diff --git a/app-editors/sublime-text/files/sublime-text-4_p4107-set-explicit-startupwmclass-in-launcher.patch b/app-editors/sublime-text/files/sublime-text-4_p4107-set-explicit-startupwmclass-in-launcher.patch new file mode 100644 index 000000000000..09e835b587a7 --- /dev/null +++ b/app-editors/sublime-text/files/sublime-text-4_p4107-set-explicit-startupwmclass-in-launcher.patch @@ -0,0 +1,27 @@ +From 0eff5450cba9514559eefd8c79e98fb6b8134b68 Mon Sep 17 00:00:00 2001 +From: webstrand <webstrand@gmail.com> +Date: Thu, 27 May 2021 17:09:21 -0400 +Subject: [PATCH 2/2] Set explicit StartupWMClass in launcher + +Otherwise startup notification and grouping implicitly use the name of +the .desktop file to match against the actual WM_CLASS of windows +belonging to the application. +--- + sublime_text.desktop | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/sublime_text.desktop b/sublime_text.desktop +index b171254..5c812a9 100644 +--- a/sublime_text.desktop ++++ b/sublime_text.desktop +@@ -10,6 +10,7 @@ MimeType=text/plain; + Icon=sublime-text + Categories=TextEditor;Development; + StartupNotify=true ++StartupWMClass=Sublime_text + Actions=new-window;new-file; + + [Desktop Action new-window] +-- +2.31.1 + |