Re: libgnomeui patch



On Mon, 2002-03-25 at 16:26, Havoc Pennington wrote:
> 
> jacob berkman <jacob ximian com> 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
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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]