[gedit-list] Containing folder and the API



Regarding these "Show containing folder" reports -
https://bugzilla.gnome.org/show_bug.cgi?id=627443
https://bugzilla.gnome.org/show_bug.cgi?id=650402
https://bugzilla.gnome.org/show_bug.cgi?id=650396

All these patches currently use gtk_show_uri to pick the uri and launch the respective default app for it according to file type. Now, to support this https://bugzilla.gnome.org/show_bug.cgi?id=131259 we could probably do a g_app_info_get_default_for_type (for the directory) and then a g_app_info_launch to launch and select the file but it would mean assuming the fact that application handling the directories can do the file-selection. Also instead of explicitly spawning nautilus with file:/// etc ; http://lists.freedesktop.org/archives/xdg/2011-May/thread.html#11947 discusses a very necessary DBus API that should be implemented. Please look at it as it would allow a generic way to handle this and not restrict stuff to just Nautilus/GNOME.

--
4, 8, 15, 16, 23, 42
Akshay Gupta (kitalls)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]