nemo r51 - trunk/gtk



Author: arj
Date: Mon Jan  7 18:52:59 2008
New Revision: 51
URL: http://svn.gnome.org/viewvc/nemo?rev=51&view=rev

Log:
Add some more spacing to tooltip to make it look better



Modified:
   trunk/gtk/Common.cs
   trunk/gtk/DisplayDocumentItem.cs

Modified: trunk/gtk/Common.cs
==============================================================================
--- trunk/gtk/Common.cs	(original)
+++ trunk/gtk/Common.cs	Mon Jan  7 18:52:59 2008
@@ -12,7 +12,7 @@
 	{
 		public static void show_hand_and_tooltip(Gtk.Widget widget, string tooltip_text)
 		{
-			GtkCommon.tooltip.SetTip(widget, tooltip_text, tooltip_text);
+			GtkCommon.tooltip.SetTip(widget, " " + tooltip_text + " ", " " + tooltip_text + " ");
 
 			widget.Realized += delegate {
 				widget.GdkWindow.Cursor = new Gdk.Cursor(Gdk.CursorType.Hand2);

Modified: trunk/gtk/DisplayDocumentItem.cs
==============================================================================
--- trunk/gtk/DisplayDocumentItem.cs	(original)
+++ trunk/gtk/DisplayDocumentItem.cs	Mon Jan  7 18:52:59 2008
@@ -37,7 +37,7 @@
 
 		public void set_snippet_tip(string text_snippet)
 		{
-			GtkCommon.tooltip.SetTip(snippet_wrapper, text_snippet, text_snippet);
+			GtkCommon.tooltip.SetTip(snippet_wrapper, " " + text_snippet + " ", " " + text_snippet + " ");
 		}
 	}
 }
\ No newline at end of file



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