Patch for Delete key behavior (for dia-0.96.1)

2007-09-21 Thread Ondrej Mikle
Hello. I send a patch for the Delete key behavior in Dia. It is remapped to Ctrl+Delete (or remap it some other suitable shortcut), since a lot of people find it annoying that pressing Delete while editing text deletes the object. It seems that different person chose Delete key for menu and other

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-23 Thread Ondrej Mikle
Hans Breuer wrote: > On 22.09.2007 00:42, Ondrej Mikle wrote: >> I send a patch for the Delete key behavior in Dia. It is remapped to >> Ctrl+Delete (or remap it some other suitable shortcut), since a lot of >> people find it annoying that pressing Delete while editing text

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-09-25 Thread Ondrej Mikle
Hans Breuer wrote: > A patch to fix the broken user editable shortcuts should give you the same > workaround but not break the use of Delete for diagram editing for other > users. It would have a much bigger chance for inclusion. > I send a patch that makes the saving and loading of accel keys wo

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-09-25 Thread Ondrej Mikle
Just a minor fix for the patch - consting a static string + one typedef. Ondrej Mikle wrote: > Hans Breuer wrote: >> A patch to fix the broken user editable shortcuts should give you the same >> workaround but not break the use of Delete for diagram editing for other >> u

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-26 Thread Ondrej Mikle
Maciej Jaros wrote: > Before you all start killing for this ;). You can change the behaviour > of Dia for yourself. It is quite simple though not documented anywhere > on Dia pages (it should!). > > Just run (under Windows): > notepad %USERPROFILE%\.dia\menurc > > Change: > ; (gtk_accel_path "/

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-09-27 Thread Ondrej Mikle
Lars Clausen wrote: > On Tue, 2007-09-25 at 20:52 +0200, Ondrej Mikle wrote: >> I send a patch that makes the saving and loading of accel keys work. The >> accel keys are stored in the old menurc file ($HOME/.dia/menurc), but >> the file has different format (the gl

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-09-29 Thread Ondrej Mikle
Lars Clausen wrote: > On Thu, 2007-09-27 at 16:07 +0200, Ondrej Mikle wrote: >> Lars Clausen wrote: >>> You haven't moved this call with your patch, AFAICT. >> Yes, I haven't. With my patch, it could be moved and the functionality >> would be preserved

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-10-01 Thread Ondrej Mikle
What version of Dia are you using? The shortcut editing works since 0.95. Also, I noticed that the Shift+Alt+key are not working for me, I'll try to find out why. But changing e.g. Shift+Alt+l to Alt+l makes the line shortcut work. So does Ctrl+Shift+key. O. Mikle Michael Ross wrote: > I mention

Re: Now look what you made me do

2007-10-01 Thread Ondrej Mikle
bj=0x20d6e60) at diagram.c:671 #8 0x0041f7da in diagram_unselect_objects (dia=0x2045000, obj_list=0x20e2100) at diagram.c:690 #9 0x00427903 in delete_objects_apply (change=0x220fbb0, dia=0x2045000) at undo.c:576 #10 0x0042e0a6 in edit_delete_callback (action=0x1d2fd30) at commands.c