All pastes #17245 Raw Edit

Unnamed

public text v1 · immutable
#17245 ·published 2005-07-08 18:13 UTC
rendered paste body
20:07        mitch| changed nick to mitchCar
20:08     federico> neo: did we talk at some point about making set_uri() as synchronous as possible?
20:08     mitchCar| quit (Read error: 104 (Connection reset by peer)) ~mitch@dialin-212-144-027-110.arcor-ip.net
20:08        edhel| join (#gimp) ~edhel@jdelvare.net1.nerim.net
20:08     federico> also, how/where are you using it to test for existence of a file?
20:08          neo> rockwlrs: here's a PDF for you: http://www.cwic-solutions.co.uk/docs/cbook1_0a.pdf
20:09          neo> rockwlrs: 1616 pages
20:09          neo> federico: we look at the return value
20:09          neo> federico: the API docs are pretty clear that this is supposed to do the trick
20:10          neo> federico: we do that in order to find out if we need to display an overwrite confirmation dialog
20:10       teicah| join (#gimp) ~teicah@1Cust540.an2.chi30.da.uu.net
20:10       teicah| quit (Leaving) ~teicah@1Cust540.an2.chi30.da.uu.net
20:11     federico> oh
20:11          neo> federico: in cvs only, not in a released stable version
20:12     federico> so we have two bugs
20:12     federico> 1. wrong docs
20:12          neo> federico: we are facing the problem of not using gnome-vfs in the core but still wanting to use the file-chooser in !local-only mode
20:12     federico> 2. #152850
20:12          neo> federico: what is wrong about the docs?
20:13     federico> neo: the docs for that function are unclear - they should really explain the funny non-sync nature of that function
20:13          neo> federico: I see
20:14     federico> with the current implementation:
20:15          neo> too bad that mitch is gone already
20:15     federico> hmm
20:15     federico> wow
20:15 Emmanuel_Cha| quit (Leaving) angelix@ZO103114.ppp.dion.ne.jp
20:17     federico> so "false" is accurate in that the file is not selected - there's no parent path, or the parent path does not exist
20:17     federico> but "true" is not accurate at all
20:18     federico> it can mean "I'll start loading the parent folder, but I won't tell you if the selection succeeds", or "I already have  the folder, but the file doesn't exist in it"
20:19     federico> a) show_and_select_paths() doesn't pay attention to the return value from _gtk_file_system_model_path_do()
20:19     federico> b) I'm not sure if the return value from the latter is actually meaningful
20:20     federico> hmm, it seems to be
20:20          frb> crap, I lost the command to toggle the movement style of the stylus
20:20          neo> I am sorry but I have to leave now as well
20:21          frb> xsetinput or something, but that's not it
20:21          neo> federico: I think it boils down to the fact that we are abusing this function
20:21          frb> ah, xsetwacom?
20:21          neo> anyway, thanks for looking at this
20:21          neo  waves
20:21          neo| quit (Leaving) ~neo@212.222.128.20