Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device file access extended #18

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

Coshibu
Copy link

@Coshibu Coshibu commented Mar 1, 2015

Added direct access to home folder, camera folder, pictures folder, Download folder and Music folder.

@vikoadi
Copy link
Owner

vikoadi commented Mar 2, 2015

Hello Coshibu,

  • I still not agree with adding Setting menu to the indicator, the reason is Added an option menu to launch KDE Connect settings #11 . And it will be added to Application Menu in the KDE Connect master (for next version)
  • Please create Pictures, Music, DCIM, etc folders, if its not yet exist, so that user doesn't left uninformed of what happened
  • I think the right term for "home folder" is "phone storage"
    Thanks

@Coshibu
Copy link
Author

Coshibu commented Mar 4, 2015

Hello vikoadi,
Thanks for your feedback. I will implement your suggestions one of these days. This is a fun exercise for me to learn coding, so it might take a while. I will remove the settings menu, although I really would prefer it. I run the indicator in unity and it took me a while to figure out to how to get to the settings. Besides, there are many indicators that have such an entry: Power settings, Sound settings, Time settings, Skype, Owncloud, Dropbox.

@vikoadi
Copy link
Owner

vikoadi commented Mar 11, 2015

Hi Coshibu,

We now have some duplicated code for browse_*. It will be simpler if you can create a new function public void browse_path (string path) and call it from respective functions.

to check and and create folder you can create one more function

private bool afford_folder_exist (string path) {
    File folder = File.new_for_path (path);
    if (!folder.query_exists ())
        return folder.make_directory ();
    else
        return true;
}

and call that function before open_file

and don't forget to change 'home folder' into 'phone storage'

i think thats all, if you have problem don't hesitate to contact me, (but sorry for the downtime if i just give respond after 6 days)

kind regards,
Viko Adi R

@hashar
Copy link

hashar commented Nov 14, 2017

As I understand it, indicator-kdeconnect is now being maintained on the fork https://github.com/Bajoja/indicator-kdeconnect

Please consider installing that version instead and check whether your pull request still apply and if does submit it there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants