[patch] for A.Bridgett's Bug#1237 (fwd)
- From: Ian Main <slow intergate bc ca>
- To: gtk-list redhat com
- Subject: [patch] for A.Bridgett's Bug#1237 (fwd)
- Date: Sun, 31 Aug 1997 22:33:08 -0700 (PDT)
Thought maybe this would be of interest...
---------- Forwarded message ----------
Date: Sun, 31 Aug 1997 17:27:13 -0700 (PDT)
From: Kevin Turner <kevint@aracnet.com>
Reply-To: kevint@poboxes.com
To: gimp-developer@scam.xcf.berkeley.edu
Subject: [gimp-devel] [patch] for A.Bridgett's Bug#1237
Now this ain't a real *bug*, just a cosmetic inconvience, but...
Problem:
File Open dialog handles resizes poorly (Open Options frame
needlessly grabs more space).
Solution:
Change container_add to a box_pack, setting expand and fill
flags to false. (I'm no gtk_guru, so I don't know if there's a reason
to *not* do this, but it WorksForMe.)
Patch follows (I like the one-line patches...):
--- app/fileops.c.prekev Sun Aug 31 16:14:36 1997
+++ app/fileops.c Sun Aug 31 17:13:56 1997
@@ -509,7 +509,7 @@ file_open_callback (GtkWidget *w,
gtk_option_menu_set_menu (GTK_OPTION_MENU (option_menu), load_menu);
}
- gtk_container_add (GTK_CONTAINER (GTK_FILE_SELECTION (filesel)->main_vbox), open_options);
+ gtk_box_pack_end (GTK_BOX (GTK_FILE_SELECTION (filesel)->main_vbox), open_options,FALSE, FALSE, 5);
load_file_proc = last_load_file_proc;
last_load_file_proc = NULL;
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]