[Xfce4-commits] r23255 - in thunar/trunk: . thunar

Benedikt Meurer benny at xfce.org
Sun Oct 1 13:49:57 UTC 2006


Author: benny
Date: 2006-10-01 13:49:56 +0000 (Sun, 01 Oct 2006)
New Revision: 23255

Modified:
   thunar/trunk/ChangeLog
   thunar/trunk/thunar/thunar-properties-dialog.c
Log:
2006-10-01	Benedikt Meurer <benny at xfce.org>

	* thunar/thunar-properties-dialog.c(thunar_properties_dialog_init):
	  Use an input-only window to trap mouse events for mime type tooltip.




Modified: thunar/trunk/ChangeLog
===================================================================
--- thunar/trunk/ChangeLog	2006-10-01 13:11:39 UTC (rev 23254)
+++ thunar/trunk/ChangeLog	2006-10-01 13:49:56 UTC (rev 23255)
@@ -1,5 +1,10 @@
 2006-10-01	Benedikt Meurer <benny at xfce.org>
 
+	* thunar/thunar-properties-dialog.c(thunar_properties_dialog_init):
+	  Use an input-only window to trap mouse events for mime type tooltip.
+
+2006-10-01	Benedikt Meurer <benny at xfce.org>
+
 	* thunar/thunar-properties-dialog.c: Display the real mime type as
 	  tooltip for the "Kind" label. Bug #2369.
 

Modified: thunar/trunk/thunar/thunar-properties-dialog.c
===================================================================
--- thunar/trunk/thunar/thunar-properties-dialog.c	2006-10-01 13:11:39 UTC (rev 23254)
+++ thunar/trunk/thunar/thunar-properties-dialog.c	2006-10-01 13:49:56 UTC (rev 23255)
@@ -306,6 +306,8 @@
   gtk_widget_show (label);
 
   dialog->kind_ebox = gtk_event_box_new ();
+  gtk_event_box_set_above_child (GTK_EVENT_BOX (dialog->kind_ebox), TRUE);
+  gtk_event_box_set_visible_window (GTK_EVENT_BOX (dialog->kind_ebox), FALSE);
   exo_binding_new (G_OBJECT (dialog->kind_ebox), "visible", G_OBJECT (label), "visible");
   gtk_table_attach (GTK_TABLE (table), dialog->kind_ebox, 1, 2, row, row + 1, GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 3);
   gtk_widget_show (dialog->kind_ebox);



More information about the Xfce4-commits mailing list