[ cinepaint-Bugs-3334856 ] Brush preview window size issue

"SourceForge.net" <[email protected]> Sun, 26 Jun 2011 13:12:22 -0400
Newsgroups gmane.comp.video.cinepaint.devel
Message-ID <[email protected]>
Bugs item #3334856, was opened at 2011-06-26 13:12
Message generated for change (Tracker Item Submitted) made by ggeleji
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542706&aid=3334856&group_id=75029

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Geza Geleji (ggeleji)
Assigned to: Nobody/Anonymous (nobody)
Summary: Brush preview window size issue

Initial Comment:
In brush_select.c, function brush_popup_open(), the size of the brush preview window is not correctly set. Setting the size of the preview widget is not enough, the window size should be changed accordingly as well.

Original code from brush_select.c:

752 	gtk_preview_size (GTK_PREVIEW (bsp->brush_preview), w, h);
753 	
754 	#if GTK_MAJOR_VERSION > 1
755 	gtk_widget_show (bsp->brush_popup);
756 	gtk_window_move (GTK_WINDOW(bsp->brush_popup), x, y);
757 	#else
758 	gtk_widget_popup (bsp->brush_popup, x, y);
759 	#endif

Proposed change: insert

755 	gtk_widget_set_size_request (GTK_WIDGET(bsp->brush_popup), w, h);
756 	gtk_window_resize (GTK_WINDOW(bsp->brush_popup), w, h);


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542706&aid=3334856&group_id=75029

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2