[PATCH] more clean side pane title



the attached patch set the border of the side pane title frame to NONE,
and the close image to GTK_ICON_SIZE_MENU, this make side pane more clean .
--- nautilus/src/nautilus-side-pane.c.orig	2006-03-30 01:31:26.000000000 +0800
+++ nautilus/src/nautilus-side-pane.c	2006-03-30 01:38:07.000000000 +0800
@@ -330,6 +330,7 @@
 
 	frame = gtk_frame_new (NULL);
 	side_pane->details->title_frame = frame;
+	gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE);
 	gtk_widget_show (frame);
 	gtk_box_pack_start (GTK_BOX (side_pane), frame, FALSE, FALSE, 0);
 
@@ -379,7 +380,7 @@
 	gtk_widget_show (close_button);
 	
 	image = gtk_image_new_from_stock (GTK_STOCK_CLOSE, 
-					  GTK_ICON_SIZE_SMALL_TOOLBAR);
+					  GTK_ICON_SIZE_MENU);
 	gtk_widget_show (image);
 	
 	gtk_container_add (GTK_CONTAINER (close_button), image);
begin:vcard
fn:Yang Hong
n:Hong;Yang
org;quoted-printable:=E5=85=B1=E5=88=9B=E5=BC=80=E6=BA=90
adr;quoted-printable;dom:;;=E5=8C=97=E4=BA=AC
email;internet:yanghong ccoss com cn
title;quoted-printable:Linux =E7=A0=94=E5=8F=91
tel;work:010-82357030-275
x-mozilla-html:TRUE
url:http://www.co-create.com.cn
version:2.1
end:vcard



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