Skip to content

Commit c6e8cd8

Browse files
committed
Fix locale dir and update links
1 parent be06657 commit c6e8cd8

File tree

6 files changed

+31
-4
lines changed

6 files changed

+31
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
# KDEConnect Nemo Extension
3+
4+
This extension for the Nemo file manager adds the ability to send files to devices connected using KDEConnect directly from Nemo.
5+
6+
# Usage
7+
8+
Just right click on any file and select the device under the extension's context menu entry.
9+
10+
# Installation
11+
12+
## Debian based Distributions (e.g. Ubuntu, Linux Mint, ...)
13+
14+
Install the deb file from the [Releases Section](https://github.com/JoeJoeTV/nemo-extension-kdeconnect/releases)
15+
16+
## Other Distributions
17+
18+
Download the .tar.gz file from the [Releases Section](https://github.com/JoeJoeTV/nemo-extension-kdeconnect/releases) and put it in the nemo-python extensions folder (`~/.local/share/nemo-python/extensions`)

debian/changelog

Whitespace-only changes.

debian/control

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Package: nemo-kdeconnect
2+
Version: 1.0.0
3+
Priority: optional
4+
Maintainer: JoeJoeTV <hannes1033@gmail.com>
5+
Description: Extension for the Nemo file manager that adds the ability to send files to devices connected using KDEConnect directly from Nemo.
6+
Homepage: https://github.com/JoeJoeTV/nemo-extension-kdeconnect
7+
Architecture: all
8+
Depends: nemo, python3

debian/copyright

Whitespace-only changes.

src/nemo-kdeconnect.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
# Name: KDE Connect Nemo Extension
44
# Description: KDE Connect Integration for the Nemo file manager
55
# by JoeJoeTV
6-
# https://github.com/JoeJoeTV/KDEConnectNemoExtension
7-
# Version: 1.0
6+
# https://github.com/JoeJoeTV/nemo-extension-kdeconnect
7+
# Version: 1.0.0
88

9-
import gi
9+
import os, gi
1010

1111
gi.require_version('Notify', '0.7')
1212
from gi.repository import GObject, Nemo, Gtk, Gio, GLib, Notify
1313

1414
import gettext, locale
1515

16-
locale_dir = "./nemo-kdeconnect/locale" # GLib.get_home_dir() + "/.local/share/locale"
16+
locale_dir = os.path.dirname(os.path.realpath(__file__)) + "/nemo-kdeconnect/locale" # GLib.get_home_dir() + "/.local/share/locale"
1717
locale_domain = "nemo-kdeconnect"
1818

1919
# Get correct icon name from device type string

0 commit comments

Comments
 (0)