Re: libgnomeui patch
jacob berkman <[email protected]> 25 Mar 2002 17:24:08 -0500
| Newsgroups | gmane.comp.gnome.lib.devel |
|---|---|
| Message-ID | <1017095048.2001.20.camel@wet-pants> |
On Mon, 2002-03-25 at 16:26, Havoc Pennington wrote: > > jacob berkman <[email protected]> writes: > > On Fri, 2002-03-22 at 11:36, Havoc Pennington wrote: > > > > > > Hi, > > > > > > This enhances the gconf error dialog to display details, and keeps it > > > from spamming you if multiple errors occur. > > > > could you add a bevel to the scrolled window? > > > > Sure, get it in bugzilla, I can't do it right away. that was just a trick to get me to do it, wasn't it? anyway i committed the simple patch attached. jacob -- "don't get me wrong, i think that radiohead are amazing. i love their music and i love their ethos, but that thom yorke guy always seems to be complaining." -- moby
gconf-ui.patch
(text/x-patch, 1.4 KB)
Index: gnome-gconf-ui.c
===================================================================
RCS file: /cvs/gnome/libgnomeui/libgnomeui/gnome-gconf-ui.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- gnome-gconf-ui.c 22 Mar 2002 16:43:01 -0000 1.42
+++ gnome-gconf-ui.c 25 Mar 2002 22:22:32 -0000 1.43
@@ -184,6 +184,7 @@
GTK_BUTTONS_OK,
fmt,
gnome_program_get_human_readable_name(gnome_program_get()));
+ gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
g_signal_connect (dialog, "response",
G_CALLBACK (gtk_widget_destroy),
NULL);
@@ -192,6 +193,8 @@
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw),
GTK_POLICY_NEVER,
GTK_POLICY_AUTOMATIC);
+ gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw),
+ GTK_SHADOW_IN);
current_details = gtk_text_view_new ();
gtk_text_view_set_editable (GTK_TEXT_VIEW (current_details),
FALSE);