summaryrefslogtreecommitdiffstats
path: root/app-misc/everpad/files
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/everpad/files')
-rw-r--r--app-misc/everpad/files/everpad-9999-content.py.patch13
-rw-r--r--app-misc/everpad/files/everpad-9999-everpad.desktop.patch41
2 files changed, 54 insertions, 0 deletions
diff --git a/app-misc/everpad/files/everpad-9999-content.py.patch b/app-misc/everpad/files/everpad-9999-content.py.patch
new file mode 100644
index 0000000..6f58faa
--- /dev/null
+++ b/app-misc/everpad/files/everpad-9999-content.py.patch
@@ -0,0 +1,13 @@
+diff --git a/everpad/pad/editor/content.py b/everpad/pad/editor/content.py
+index fa368de..bfb1acb 100644
+--- a/everpad/pad/editor/content.py
++++ b/everpad/pad/editor/content.py
+@@ -145,7 +145,7 @@ class ContentEdit(QObject):
+ os.path.dirname(__file__), 'editor.html',
+ )
+ if not os.path.exists(_editor_path):
+- _editor_path = resource_filename('share/everpad/editor.html')
++ _editor_path = resource_filename('everpad/editor.html')
+
+ _html = open(_editor_path).read()
+
diff --git a/app-misc/everpad/files/everpad-9999-everpad.desktop.patch b/app-misc/everpad/files/everpad-9999-everpad.desktop.patch
new file mode 100644
index 0000000..3b0ea04
--- /dev/null
+++ b/app-misc/everpad/files/everpad-9999-everpad.desktop.patch
@@ -0,0 +1,41 @@
+diff --git a/data/everpad.desktop b/data/everpad.desktop
+index d773e41..d6fbef6 100644
+--- a/data/everpad.desktop
++++ b/data/everpad.desktop
+@@ -1,30 +1,30 @@
+ [Desktop Entry]
+-Version=0.1
++Version=1.0
+ Name=Everpad
+ GenericName=Everpad
+ Comment=Evernote client
+ Comment[ru]=Клиент для Evernote
+ Exec=everpad %U
+ Terminal=false
+-Icon=everpad.png
++Icon=everpad
+ Type=Application
+ Categories=Network;
+ X-Ayatana-Desktop-Shortcuts=NewNote;Settings
+-MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-bmp;image/x-gray;image/x-icb;image/x-ico;image/x-png;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-xbitmap;image/x-xpixmap;image/x-pcx;image/svg+xml;image/svg+xml-compressed;image/vnd.wap.wbmp;application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-xzpdf;application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;application/x-dvi;application/x-bzdvi;application/x-gzdvi;image/vnd.djvu;image/tiff;application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;audio/wav;audio/mpeg;
++MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-bmp;image/x-gray;image/x-icb;image/x-ico;image/x-png;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-xbitmap;image/x-xpixmap;image/x-pcx;image/svg+xml;image/svg+xml-compressed;image/vnd.wap.wbmp;application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-xzpdf;application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;application/x-dvi;application/x-bzdvi;application/x-gzdvi;image/vnd.djvu;application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;audio/wav;audio/mpeg;
+
+-[Settings Shortcut Group]
++[X-ShowAllNotes Shortcut Group]
+ Name=Show all notes
+ Name[ru]=Все заметки
+ Exec=everpad --all-notes
+ TargetEnvironment=Unity
+
+-[NewNote Shortcut Group]
++[X-NewNote Shortcut Group]
+ Name=Create Note
+ Name[ru]=Создать заметку
+ Exec=everpad --create
+ TargetEnvironment=Unity
+
+-[Settings Shortcut Group]
++[X-Settings Shortcut Group]
+ Name=Settings and Management
+ Name[ru]=Настройки и Управление
+ Exec=everpad --settings