Klaus Ethgen <Klaus+geekie@...> writes: Ian> You're right that simply changing the current code from Ian> GDK_SELECTION_PRIMARY to GDK_SELECTION_CLIPBOARD would break your Ian> usage while fixing mine. It would still be the right thing to do Ian> IMO because of the convention. But we can keep the cake and eat it Ian> if we add new hooks on selection change events, calling back the Ian> current code with GDK_SELECTION_PRIMARY. How's that?
Klaus> You mean just adding also to put the stuff to the other Klaus> clipboard? Maybe also to the third one too? Klaus> (GDK_SELECTION_SECONDARY, I think) Not at the same places/times. I mean setting GDK_SELECTION_PRIMARY _as soon as the thing is selected_. That means setting a new callback in each window where it makes sense on an event like "selchange" or something (not sure how Gtk spells it). So a file name would be copied as soon as you click on one in the file list, for example. This is the right thing to do according to my reading of the doc, at least. Ian> I can make a patch. It probably won't be trivially short; where do Ian> you want it posted? Klaus> Here would be great. Or fork the repo on gitorious and create a Klaus> merge request. Ok, looking at the code it's going to be a bit more challenge than I thought, but I am giving it a try. If you think I should. Ian. ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck® Code Sight™ - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel