tomboy r2276 - in trunk: . Tomboy



Author: sharm
Date: Mon Jan 12 16:02:56 2009
New Revision: 2276
URL: http://svn.gnome.org/viewvc/tomboy?rev=2276&view=rev

Log:
* tomboy/Tomboy/Applet.cs: Rename TomboyAppletEventBox to
  TomboyPanelAppletEventBox. Fixes problem with panel applet icon
  background (bug #567308), caused by many themes matching on widget
  class names with patterns like "*Tray*" (which is why it worked when
  the class was TomboyTray) and "*PanelApplet*".

Modified:
   trunk/ChangeLog
   trunk/Tomboy/Applet.cs

Modified: trunk/Tomboy/Applet.cs
==============================================================================
--- trunk/Tomboy/Applet.cs	(original)
+++ trunk/Tomboy/Applet.cs	Mon Jan 12 16:02:56 2009
@@ -17,7 +17,7 @@
 	public class TomboyApplet : PanelApplet
 	{
 		NoteManager manager;
-		TomboyAppletEventBox applet_event_box;
+		TomboyPanelAppletEventBox applet_event_box;
 		TomboyPrefsKeybinder keybinder;
 
 		// Keep referenced so our callbacks don't get reaped.
@@ -47,7 +47,7 @@
 			Logger.Log ("Applet Created...");
 
 			manager = Tomboy.DefaultNoteManager;
-			applet_event_box = new TomboyAppletEventBox (manager);
+			applet_event_box = new TomboyPanelAppletEventBox (manager);
 			keybinder = new TomboyPrefsKeybinder (manager, applet_event_box);
 
 			Flags |= PanelAppletFlags.ExpandMinor;
@@ -139,7 +139,7 @@
 	
 	public enum PanelOrientation { Horizontal, Vertical };
 	
-	public class TomboyAppletEventBox : Gtk.EventBox, ITomboyTray
+	public class TomboyPanelAppletEventBox : Gtk.EventBox, ITomboyTray
 	{
 		NoteManager manager;
 		TomboyTray tray;
@@ -147,7 +147,7 @@
 		Gtk.Image image;
 		int panel_size;
 
-		public TomboyAppletEventBox (NoteManager manager)
+		public TomboyPanelAppletEventBox (NoteManager manager)
 : base ()
 		{
 			this.manager = manager;



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