Re: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-03-17 Thread rgheck
Jürgen Spitzmüller wrote: Jürgen Spitzmüller wrote: http://bugzilla.lyx.org/show_bug.cgi?id=5709 This long standing bug is now easy to fix by means of command-alternatives. However, the toolbar is not yet prepared to command-alternatives. The attached patch implements a simple solution: just

Re: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-03-16 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > http://bugzilla.lyx.org/show_bug.cgi?id=5709 > > This long standing bug is now easy to fix by means of command-alternatives. > However, the toolbar is not yet prepared to command-alternatives. The > attached patch implements a simple solution: just use the icon for the >

Re: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-01-26 Thread Konrad Hofbauer
Jean-Marc Lasgouttes wrote: Do we really? It would only make sense if we can change the icon depending on what action is going to happen. I would be surprised if this is something standard in a GUI :) Not that I would be a big fan of it, but it's done in OS X. Toolbar buttons change their mean

Re: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-01-26 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > > Conceptually, I think it makes sense to have two. I can imagine scenarios > > where one wants to change the alignment of a column from within a > > multicolumn cell (just not by default maybe). > > So we could have a function that works for either multicolumn or colu

Re: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-01-26 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller writes: > Conceptually, I think it makes sense to have two. I can imagine scenarios > where one wants to change the alignment of a column from within a multicolumn > cell (just not by default maybe). So we could have a function that works for either multicolumn or colum, and

RE: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-01-26 Thread leuven edwin
edwin From: Jürgen Spitzmüller [juer...@spitzmueller.org] Sent: Monday, January 26, 2009 08:01 To: lyx-devel@lists.lyx.org Subject: Re: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar Jean-Marc Lasgouttes wrote: > Is there a reason why we do not fix the lfun

Re: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-01-25 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Is there a reason why we do not fix the lfun instead? Why do we have two > of these? Conceptually, I think it makes sense to have two. I can imagine scenarios where one wants to change the alignment of a column from within a multicolumn cell (just not by default may

Re: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-01-25 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller writes: > This long standing bug is now easy to fix by means of command-alternatives. > However, the toolbar is not yet prepared to command-alternatives. The > attached > patch implements a simple solution: just use the icon for the first of the > alternative commands in the

Re: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-01-25 Thread Jürgen Spitzmüller
rgheck wrote: > OK, thanks for trying. As Pavel said, what you already have it a big > improvement. I applied to trunk now. If there are no objections, I will also apply to branch later this week. Jürgen

Re: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-01-25 Thread rgheck
Jürgen Spitzmüller wrote: rgheck wrote: That works for this one, but it's natural to wonder if there isn't some more general solution. I don't have any brilliant suggestion to make, though. The obvious thing would be something like: ca-firstthing-secondthing, but ...? FYI I have tried

Re: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-01-25 Thread Jürgen Spitzmüller
rgheck wrote: > That works for this one, but it's natural to wonder if there isn't some > more general solution. I don't have any brilliant suggestion to make, > though. The obvious thing would be something like: > ca-firstthing-secondthing, but ...? FYI I have tried to implement the ideal procedu

Re: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-01-24 Thread rgheck
Pavel Sanda wrote: Jürgen Spitzmüller wrote: rgheck wrote: That works for this one, but it's natural to wonder if there isn't some more general solution. I don't have any brilliant suggestion to make, though. The obvious thing would be something like: ca-firstthing-secondthing, but ...?

Re: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-01-24 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > rgheck wrote: > > That works for this one, but it's natural to wonder if there isn't some > > more general solution. I don't have any brilliant suggestion to make, > > though. The obvious thing would be something like: > > ca-firstthing-secondthing, but ...? > > Yes, bu

Re: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-01-24 Thread Jürgen Spitzmüller
rgheck wrote: > That works for this one, but it's natural to wonder if there isn't some > more general solution. I don't have any brilliant suggestion to make, > though. The obvious thing would be something like: > ca-firstthing-secondthing, but ...? Yes, but I'm not sure this will work (i.e., if

Re: [patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-01-24 Thread rgheck
Jürgen Spitzmüller wrote: http://bugzilla.lyx.org/show_bug.cgi?id=5709 This long standing bug is now easy to fix by means of command-alternatives. However, the toolbar is not yet prepared to command-alternatives. The attached patch implements a simple solution: just use the icon for the first

[patch] bug 5709: multicolumn alignment cannot be changed via toolbar

2009-01-24 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=5709 This long standing bug is now easy to fix by means of command-alternatives. However, the toolbar is not yet prepared to command-alternatives. The attached patch implements a simple solution: just use the icon for the first of the alternative commands