Re: [Gimp-developer] Megapixels counter

2010-09-30 Thread Martin Nordholts
On 09/29/2010 11:32 PM, Bogdan Szczurek wrote:
 There's a small thing that I missed in GIMP for some time. That
 thing is a megapixel counter to add to window title or status.

 Hi!

 IMO we need to make it easier than editing a complex format-string to
 get this info in the window title.

 Well… I haven't thought of that, to be frank, since I'm comfy with the
 current state of things :). Also, I just wanted to fill the gap that
 was important for me.

 As an afterthought I would change presentation from 2 to 1 decimal
 places. I don't think there's much use of having such precise
 measurement as 1/100 of MP.

I can certainly see that showing size in megapixels can be useful for 
our target user base. We're even lucky enough to have the prefect char 
'M' free for it. So I have pushed a cleaned up version of your patch 
(that only uses 1 decimal) to git master:

commit aa47dd22f0d8d498c80236303e0ac27210a4e675
Author: Bogdan Szczurek thebod...@gmail.com
Date:   Thu Sep 30 07:57:44 2010 +0200

 app: Support 'M' for 'megapixels' in image title format string

  / Martin


-- 

My GIMP Blog:
http://www.chromecode.com/
Automatic tab style and removed tab title bar
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Megapixels counter

2010-09-30 Thread Sven Neumann
On Thu, 2010-09-30 at 08:11 +0200, Martin Nordholts wrote:
 On 09/29/2010 11:32 PM, Bogdan Szczurek wrote:
  There's a small thing that I missed in GIMP for some time. That
  thing is a megapixel counter to add to window title or status.
 
  Hi!
 
  IMO we need to make it easier than editing a complex format-string to
  get this info in the window title.
 
  Well… I haven't thought of that, to be frank, since I'm comfy with the
  current state of things :). Also, I just wanted to fill the gap that
  was important for me.
 
  As an afterthought I would change presentation from 2 to 1 decimal
  places. I don't think there's much use of having such precise
  measurement as 1/100 of MP.
 
 I can certainly see that showing size in megapixels can be useful for 
 our target user base. We're even lucky enough to have the prefect char 
 'M' free for it. So I have pushed a cleaned up version of your patch 
 (that only uses 1 decimal) to git master:

You missed to add the documentation for this new option. But I have
taken care of that now:

commit 2a67bfcb101d597782a080e7f4963638e122
Author: Sven Neumann s...@gimp.org
Date:   Thu Sep 30 10:11:45 2010 +0200

app: document the new display title option

 app/config/gimpconfig-dump.c |1 +
 app/display/gimpdisplayshell-title.c |5 ++---
 docs/gimprc.5.in |4 
 etc/gimprc   |2 ++
 4 files changed, 9 insertions(+), 3 deletions(-)


Sven


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Megapixels counter

2010-09-30 Thread Bogdan Szczurek
 I can certainly see that showing size in megapixels can be useful for
 our target user base. We're even lucky enough to have the prefect char
 'M' free for it. So I have pushed a cleaned up version of your patch
 (that only uses 1 decimal) to git master:

That's great news! Thanks for accepting and modifying my patch!

Regards!
thebodzio
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer