Gtk/GnomeDialog consistency fix
- From: jacob berkman <jacob ximian com>
- To: gnome-libs-devel gnome org
- Subject: Gtk/GnomeDialog consistency fix
- Date: 07 Jan 2002 13:35:42 -0500
GtkDialog has no beveled frame in it, and this patch removes the gnome
one so that they are consistent.
any problems with applying it?
jacob
--
"In fact, can you imagine anything more terrifying than a zombie clown?"
-- moby
Index: gnome-dialog.c
===================================================================
RCS file: /cvs/gnome/libgnomeui/libgnomeui/gnome-dialog.c,v
retrieving revision 1.84
diff -u -r1.84 gnome-dialog.c
--- gnome-dialog.c 2001/12/27 15:46:32 1.84
+++ gnome-dialog.c 2002/01/07 18:38:26
@@ -151,15 +151,10 @@
gtk_window_add_accel_group (GTK_WINDOW(dialog),
dialog->accelerators);
- bf = gtk_frame_new (NULL);
- gtk_frame_set_shadow_type (GTK_FRAME (bf), GTK_SHADOW_OUT);
- gtk_container_add(GTK_CONTAINER(dialog), bf);
- gtk_widget_show(bf);
-
vbox = gtk_vbox_new(FALSE, GNOME_PAD);
gtk_container_set_border_width (GTK_CONTAINER (vbox),
GNOME_PAD_SMALL);
- gtk_container_add(GTK_CONTAINER(bf), vbox);
+ gtk_container_add(GTK_CONTAINER(dialog), vbox);
gtk_widget_show(vbox);
gtk_window_set_policy (GTK_WINDOW (dialog), FALSE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]