[gedit-list] wip/gtkapp-actions



Hi,

There are some problems with the commits I made in the 
wip/gtkapp-actions branch.

The purpose was to make the code more easily reusable by adding actions 
to GeditApp (and therefore don't depend on the command line arguments).  
But if several gedit processes are launched in parallel with different 
options, there can be some problems. For example, one process activates 
the option "set-encoding" and another process open some files. The files 
opened by the second process can take the encoding set by the first 
process…

So, to keep the action-based implementation, a merge of the 
"set-encoding", "set-document-positions" and "open-files" actions is 
necessary. It becomes a bit unconvenient. And anyway, the 
GApplicationCommandLine is needed for reading stdin.

So the branch is quite useless, maybe just keep the first commit that 
remove the redundant --help.

At least I've tried ;)

Cheers,
Sébastien

Attachment: pgpnIBTNMtlxV.pgp
Description: PGP signature



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