gimp r25259 - in trunk: . app/display
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25259 - in trunk: . app/display
- Date: Thu, 27 Mar 2008 12:08:55 +0000 (GMT)
Author: neo
Date: Thu Mar 27 12:08:55 2008
New Revision: 25259
URL: http://svn.gnome.org/viewvc/gimp?rev=25259&view=rev
Log:
2008-03-27 Sven Neumann <sven gimp org>
* app/display/gimpdisplayshell.c (gimp_display_shell_style_set):
added an arbitrary number to the minimum height.
Modified:
trunk/ChangeLog
trunk/app/display/gimpdisplayshell.c
Modified: trunk/app/display/gimpdisplayshell.c
==============================================================================
--- trunk/app/display/gimpdisplayshell.c (original)
+++ trunk/app/display/gimpdisplayshell.c Thu Mar 27 12:08:55 2008
@@ -639,8 +639,10 @@
gtk_widget_size_request (shell->statusbar, &requisition);
+ geometry.min_height = 23;
+
geometry.min_width = requisition.width;
- geometry.min_height = requisition.height;
+ geometry.min_height += requisition.height;
if (shell->menubar)
{
@@ -651,8 +653,7 @@
gtk_window_set_geometry_hints (GTK_WINDOW (widget), NULL,
&geometry,
- GDK_HINT_MIN_SIZE |
- GDK_HINT_USER_POS);
+ GDK_HINT_MIN_SIZE | GDK_HINT_USER_POS);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]