Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Fix #51
Browse files Browse the repository at this point in the history
  • Loading branch information
Bajoja committed Apr 20, 2017
1 parent 37c7f70 commit eed1905
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions data/extensions/kdeconnect-send-caja.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_file_items(self, window, files):

self.setup_gettext()
"""If user only select file(s) create menu and sub menu"""
menu = Caja.MenuItem(name = 'KdeConnectSendExtension::KDEConnect_Send',
menu = Caja.MenuItem(name = 'KdeConnectSendExtension::KDEConnectSend',
label = _('KDEConnect Send To'),
tip = _('send file(s) with kdeconnect'),
icon = 'kdeconnect')
Expand All @@ -95,7 +95,7 @@ def get_file_items(self, window, files):
menu.set_submenu(sub_menu)

for device in devices:
item = Caja.MenuItem(name="KDEConnectSendExtension::Send_File_To",
item = Caja.MenuItem(name='KDEConnectSendExtension::SendFileTo'+device["id"]
label=device["name"])
item.connect('activate', self.menu_activate_cb, files, device["id"], device["name"])
sub_menu.append_item(item)
Expand Down
4 changes: 2 additions & 2 deletions data/extensions/kdeconnect-send-nautilus.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def get_file_items(self, window, files):

self.setup_gettext()
"""If user only select file(s) create menu and sub menu"""
menu = Nautilus.MenuItem(name = 'KdeConnectSendExtension::KDEConnect_Send',
menu = Nautilus.MenuItem(name = 'KdeConnectSendExtension::KDEConnectSend',
label = _('KDEConnect Send To'),
tip = _('send file(s) with kdeconnect'),
icon = 'kdeconnect')
Expand All @@ -94,7 +94,7 @@ def get_file_items(self, window, files):
menu.set_submenu(sub_menu)

for device in devices:
item = Nautilus.MenuItem(name="KDEConnectSendExtension::Send_File_To",
item = Nautilus.MenuItem(name='KDEConnectSendExtension::SendFileTo'+device["id"],
label=device["name"])
item.connect('activate', self.menu_activate_cb, files, device["id"], device["name"])
sub_menu.append_item(item)
Expand Down
4 changes: 2 additions & 2 deletions data/extensions/kdeconnect-send-nemo.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_file_items(self, window, files):

self.setup_gettext()
"""If user only select file(s) create menu and sub menu"""
menu = Nemo.MenuItem(name = 'KdeConnectSendExtension::KDEConnect_Send',
menu = Nemo.MenuItem(name = 'KdeConnectSendExtension::KDEConnectSend',
label = _('KDEConnect Send To'),
tip = _('send file(s) with kdeconnect'),
icon = 'kdeconnect')
Expand All @@ -95,7 +95,7 @@ def get_file_items(self, window, files):
menu.set_submenu(sub_menu)

for device in devices:
item = Nemo.MenuItem(name="KDEConnectSendExtension::Send_File_To",
item = Nemo.MenuItem(name='KDEConnectSendExtension::SendFileTo'+device["id"],
label=device["name"])
item.connect('activate', self.menu_activate_cb, files, device["id"], device["name"])
sub_menu.append_item(item)
Expand Down

0 comments on commit eed1905

Please sign in to comment.