[Gimp-developer] Change size and ratio of Gimp Preview

2008-04-16 Thread Nicolás Serrano Martínez Santos
Hi! I'm trying to develop an interface of a plugin and I would like  
to use a rectangular gimp preview widget. Despite I've been looking  
over the documentation of this class and the parents in GTK+ the  
widgets is always square.


In the code of gimppreview at gimp_preview_init i've find this:

  if (gtk_widget_get_direction (GTK_WIDGET (preview)) ==  
GTK_TEXT_DIR_RTL)

xalign = 1.0;

  preview-frame = gtk_aspect_frame_new (NULL, xalign, 0.0, 1.0, TRUE);
  gtk_frame_set_shadow_type (GTK_FRAME (preview-frame),  
GTK_SHADOW_NONE);
  gtk_box_pack_start (GTK_BOX (preview), preview-frame, TRUE, TRUE,  
0);

  gtk_widget_show (preview-frame);

Can I access to preview-frame from the plugin and change the  
aspect of the preview widget? Is there any way of doing this from  
another way?



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


[Gimp-developer] Assigned GSoc Mentors, final ranking, LGM invitations

2008-04-16 Thread Michael Schumacher
Hi,

Assignment
==

I've just assigned the mentors to the projects they volunteered for. In most 
cases, this has been an easy choice :)

Both Joao and Manish did volunteer for the same python project, so we have to 
get this sorted out.


Final Ranking
=

We have now five slots. Ranking closes on 07:00 UTC on Friday, so we should 
have the top five projects sorted out by then. Mentors, please do contact the 
students and ask whether they do have other offers. There is an IRC meeting 
scheduled by Google to sort out duplicate allocations, but we really should 
know about any collisions beforehand.


LGM invitations
===

Sven has suggested that we could invite our students to LGM. Thus we should 
know whether they are able to work on our projects ASAP, because we can hardly 
expect them to make travel plans on short notice.


Regards,
Michael
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Change size and ratio of Gimp Preview

2008-04-16 Thread Nicolás Serrano Martínez Santos
Thanks for the advice. I've tried using ZoomPreview and it adjust to  
the drawable ratio. If i create a rectangular drawable the widget  
will be rectangular, what i want (let's see if i can be clear) is to  
adjust the width and height of the preview widget. It's adjusted to  
the drawable ratio and the i don't managed to change it.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer