tasque r175 - in trunk: . src/Backends/Rtm



Author: sharm
Date: Tue Dec 23 04:34:58 2008
New Revision: 175
URL: http://svn.gnome.org/viewvc/tasque?rev=175&view=rev

Log:
* tasque/src/Backends/Rtm/RtmPreferencesWidget.cs: Add a white EventBox
  to contain the RTM logo. Kind of ugly, but I'm willing to say we've
  fixed bug #532766.

Modified:
   trunk/ChangeLog
   trunk/src/Backends/Rtm/RtmPreferencesWidget.cs

Modified: trunk/src/Backends/Rtm/RtmPreferencesWidget.cs
==============================================================================
--- trunk/src/Backends/Rtm/RtmPreferencesWidget.cs	(original)
+++ trunk/src/Backends/Rtm/RtmPreferencesWidget.cs	Tue Dec 23 04:34:58 2008
@@ -27,9 +27,15 @@
 		{
 			LoadPreferences ();
 			
-			// We're using an event box so we can paint the background white
 			BorderWidth = 0;
-
+			
+			// We're using an event box so we can paint the background white
+			EventBox imageEb = new EventBox ();
+			imageEb.BorderWidth = 0;
+			imageEb.ModifyBg(StateType.Normal, new Gdk.Color(255,255,255));
+			imageEb.ModifyBase(StateType.Normal, new Gdk.Color(255,255,255)); 
+			imageEb.Show ();
+			
 			VBox mainVBox = new VBox(false, 0);
 			mainVBox.BorderWidth = 10;
 			mainVBox.Show();
@@ -44,7 +50,8 @@
 			spacer.SetPadding(0, 0, 125, 125);
 			spacer.Add(image);
 			spacer.Show();
-			mainVBox.PackStart(spacer, true, true, 0);
+			imageEb.Add (spacer);
+			mainVBox.PackStart(imageEb, true, true, 0);
 
 			// Status message label
 			statusLabel = new Label();



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