Containing folder and the API
- From: Akshay Gupta <kitallis gmail com>
- To: gedit-list gnome org
- Cc: Federico Mena Quintero <federico gnome org>, eog-list gnome org, evince-list gnome org
- Subject: Containing folder and the API
- Date: Sat, 28 May 2011 04:50:34 +0530
Regarding these "Show containing folder" reports -
https://bugzilla.gnome.org/show_bug.cgi?id=627443https://bugzilla.gnome.org/show_bug.cgi?id=650402
https://bugzilla.gnome.org/show_bug.cgi?id=650396All 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]