[Kazehakase-cvs] CVS update: kazehakase/src

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
Mon Jan 15 11:28:45 JST 2007


Index: kazehakase/src/kz-tab-label.c
diff -u kazehakase/src/kz-tab-label.c:1.92 kazehakase/src/kz-tab-label.c:1.93
--- kazehakase/src/kz-tab-label.c:1.92	Sat Jan  6 09:36:58 2007
+++ kazehakase/src/kz-tab-label.c	Mon Jan 15 11:28:44 2007
@@ -551,10 +551,7 @@
 {
 	g_return_if_fail(KZ_IS_TAB_LABEL(kztab));
 
-	if (show)
-		gtk_widget_show(kztab->close_button);
-	else
-		gtk_widget_hide(kztab->close_button);
+        g_object_set(kztab->close_button, "visible", show, NULL);
 }
 
 
@@ -563,10 +560,7 @@
 {
 	g_return_if_fail(KZ_IS_TAB_LABEL(kztab));
 
-	if (show)
-		gtk_widget_show(kztab->lock_button);
-	else
-		gtk_widget_hide(kztab->lock_button);
+        g_object_set(kztab->lock_button, "visible", show, NULL);
 }
 
 
@@ -575,10 +569,7 @@
 {
 	g_return_if_fail(KZ_IS_TAB_LABEL(kztab));
 
-	if (show && kztab->favicon_pixbuf)
-		gtk_widget_show(kztab->favicon);
-	else
-		gtk_widget_hide(kztab->favicon);
+        g_object_set(kztab->favicon, "visible", show && kztab->favicon_pixbuf, NULL);
 }
 
 


More information about the Kazehakase-cvs mailing list
Back to archive index