Re: [Gimp-developer] XMPModel and custom signals

2009-07-30 Thread Roman Joost
On Thu, Jul 30, 2009 at 10:42:55AM +0200, Martin Nordholts wrote:
> On 07/28/2009 12:40 PM, Roman Joost wrote:
> > Hi,
> >
> > I wasn't sure if I should bring up this discussion on the mailing list
> > or better on the bug report
> > (http://bugzilla.gnome.org/show_bug.cgi?id=589474).
> > [...]
> >
> > I'm working on another patch, which uses custom entry fields which
> > "monitor" one property in the XMPModel. Currently they're subscribed to
> > the 'row-changed' event in the XMPModel, which makes it hard to figure
> > out if the change belongs to the Entry or not. If I could subscribe to a
> > 'property-changed' event, I still have to figure out which property has
> > changed, but don't have to figure out *if a property* has been changed.
> > That would make life easier.
> 
> Just to get a discussion going: Coulnd't you implement your own 
> "property-changed" and "schema-changed" in XMPModel? I.e. you would have 
> to write some wrappers on top of "row-changed" that provides nicer 
> callbacks than "row-changed".
I could and the patch provided by that bug adds a custom
'property-changed' signal. Sven and Mitch thought, if I inherit from
XMPModel, I wouldn't really need the 'property-changed' signal, because
I'd be able to control the 'property-changed' signal. That is true, but
maybe I wasn't clear enough saying, that I want to distinguish if a
schema or a property changed by using different signals.

Or I'm missing information ...

Cheers,
-- 
Roman Joost
www: http://www.romanofski.de
email: romanof...@gimp.org


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


[Gimp-developer] Tile update

2009-07-30 Thread Radhwan Ben Madhkour
Hello everybody!!

I want two persons to work on the "same" image at the same time but on 
different pc.
I'm working on getting the changes of an image and sending them to another pc 
and vice-versa (receive changes and apply them to the image).

Do you think the best place to get the changed tiles is the function 
gimp_drawable_real_update()?
In fact, Do you know a better place?

What would be the best place to receive the changes?

Thanks in advance,

Radhwan.

Important notification: In the context of the creation of the University of 
Mons, FPMs email address policy is changing from '@fpms.ac.be' to 
'@umons.ac.be' (or @student.fpms.ac.be to @student.umons.ac.be), please update 
your contact list accordingly.

Note importante: Dans le cadre de la cr?ation de l'Universit? de Mons, la 
strat?gie d'adresse de courrier ?lectronique de la FPMs change de '@fpms.ac.be' 
? '@umons.ac.be' (ou @student.fpms.ac.be to @student.umons.ac.be), merci de 
mettre ? jour votre liste d'adresses en cons?quence.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] Improved brush editing interface mock-up

2009-07-30 Thread jose a. g.
>On 07/23/2009 05:38 PM, SHIRAKAWA Akira wrote:
>> Hello,
>>
>> I was about to write a rather detailed interface/feature improvement
>> suggestion about the brush editing feature in GIMP but then I thought
>> that first it would be better to show you all this (incomplete)
>> interface mock-up I made:
>
>Hi Akira,
>
>I suppose you haven't seen 
>http://gui.gimp.org/index.php/Paint_dynamics_specification ?
>
>  / Martin
>
Hi Martin,
I'm interested discuss the relation between brushes and presets... and I
don't if this could be in this discussion.
I think that presets options are very useful and to have a directory to
contains these (with some options to organize these). A preset is powerful, it
can used for many brushes (paintbrush, pencil, airbrush ...).
thanks
americo

-- 
jose a. g. (via www.gimpusers.com)
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] GIMP windows installer sources?

2009-07-30 Thread Michael Schumacher
> Von: Grigory Petrov 
 
> Is it ay way to look at GIMP windows installer source code? I have found
> an unsusual bug: if python is installed unattended (python.msi -i -q) GIMP
> windows installer will not allow to install GIMP python extensions.

Python is not enough, you need PyGTK and its dependencies. These modules are 
installed as well?


Michael
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] GIMP windows installer sources?

2009-07-30 Thread Grigory Petrov
Hello.

Is it ay way to look at GIMP windows installer source code? I have found an 
unsusual bug: if python is installed unattended (python.msi -i -q) GIMP windows 
installer will not allow to install GIMP python extensions. I'm very interested 
to see how GIMP windows installers detects that it can or can't install python 
extensions.

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


Re: [Gimp-developer] XMPModel and custom signals

2009-07-30 Thread Martin Nordholts
On 07/28/2009 12:40 PM, Roman Joost wrote:
> Hi,
>
> I wasn't sure if I should bring up this discussion on the mailing list
> or better on the bug report
> (http://bugzilla.gnome.org/show_bug.cgi?id=589474).
>
> I think it could be useful to subscribe to events emited by the XMPModel
> (although other people know something I don't know). The old XMPModel
> used a treestore to store property and schema data. My current work
> version inherits from GtkTreeStore.
>
> There are two things which happen to the treemodel: a property or a
> schema could be set. If I'm subscribing to the row-changed event only, I
> have to figure out in my callback what has changed: a property or a
> schema. By using two different signals, it would be more explicit what
> was changed.
>
> I'm working on another patch, which uses custom entry fields which
> "monitor" one property in the XMPModel. Currently they're subscribed to
> the 'row-changed' event in the XMPModel, which makes it hard to figure
> out if the change belongs to the Entry or not. If I could subscribe to a
> 'property-changed' event, I still have to figure out which property has
> changed, but don't have to figure out *if a property* has been changed.
> That would make life easier.

Just to get a discussion going: Coulnd't you implement your own 
"property-changed" and "schema-changed" in XMPModel? I.e. you would have 
to write some wrappers on top of "row-changed" that provides nicer 
callbacks than "row-changed".

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


Re: [Gimp-developer] The Export spec should be augmented to handle an important usecase

2009-07-30 Thread Michael Natterer
On Sat, 2009-07-25 at 11:24 -0400, Liam R E Quin wrote:
> On Sat, 2009-07-25 at 15:22 +0200, peter sikking wrote:
> [...]
> > but it is impossible/the hack of the month to put widgets in
> > a gtk file dialog I was told. and I do not think it is worth it,
> > the hack of the month.
> 
> It's only software... gtk+ could be changed, no?

The problem is not to put widgets into the GTK+ file dialog
(we are already doing this and there is API for it).

The problem is that these widgets live in another process
(in the plug-in), and cross-process embedding is not properly
supported on all platforms, and it's a hack, and and and...

Read: not worth it.

ciao,
--mitch


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