tomboy r2083 - in trunk: . Tomboy
- From: sharm svn gnome org
- To: svn-commits-list gnome org
- Subject: tomboy r2083 - in trunk: . Tomboy
- Date: Fri, 15 Aug 2008 14:21:49 +0000 (UTC)
Author: sharm
Date: Fri Aug 15 14:21:49 2008
New Revision: 2083
URL: http://svn.gnome.org/viewvc/tomboy?rev=2083&view=rev
Log:
* Tomboy/Tomboy.cs: Use Gtk.StatusIcon.GetGeometry method to get a
Gdk.Screen, as the Gtk.StatusIcon.Screen property is only available
in gtk-sharp >= 2.12. Should fix bug #547900.
Modified:
trunk/ChangeLog
trunk/Tomboy/Tomboy.cs
Modified: trunk/Tomboy/Tomboy.cs
==============================================================================
--- trunk/Tomboy/Tomboy.cs (original)
+++ trunk/Tomboy/Tomboy.cs Fri Aug 15 14:21:49 2008
@@ -240,8 +240,14 @@
static void OnShowHelpAction (object sender, EventArgs args)
{
+ Gdk.Screen screen = null;
+ if (tray_icon != null) {
+ Gdk.Rectangle area;
+ Gtk.Orientation orientation;
+ tray_icon.GetGeometry (out screen, out area, out orientation);
+ }
GuiUtils.ShowHelp("tomboy.xml", null,
- tray_icon == null ? null : tray_icon.Screen,
+ screen,
null);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]