Containing folder and the API
Akshay Gupta <[email protected]> Sat, 28 May 2011 04:50:34 +0530
| Newsgroups | gmane.comp.gnome.apps.Eog,gmane.comp.gnome.apps.gedit,gmane.comp.gnome.apps.evince.general |
|---|---|
| Message-ID | <[email protected]> |
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#11947discusses 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) _______________________________________________ eog-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/eog-list