Hello community, here is the log from the commit of package tomboy checked in at Tue Aug 28 19:21:37 CEST 2007. -------- --- GNOME/tomboy/tomboy.changes 2007-08-27 19:36:21.000000000 +0200 +++ /mounts/work_src_done/STABLE/tomboy/tomboy.changes 2007-08-27 23:20:22.009394000 +0200 @@ -1,0 +2,7 @@ +Mon Aug 27 23:20:07 CEST 2007 - btimothy@suse.de + +- Fix the position of the TODO items that show up in tomboy's + main menu when the panel/notification area that tomboy's in + is at the top of the screen. + +------------------------------------------------------------------- New: ---- tomboy-menu-tasks-position.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tomboy.spec ++++++ --- /var/tmp/diff_new_pack.e26576/_old 2007-08-28 19:21:19.000000000 +0200 +++ /var/tmp/diff_new_pack.e26576/_new 2007-08-28 19:21:19.000000000 +0200 @@ -16,7 +16,7 @@ Group: Productivity/Office/Other Requires: mono Version: 0.7.4 -Release: 7 +Release: 9 Summary: GNOME Note Taking Application URL: http://www.beatniksoftware.com/tomboy/ Source: %{name}-%{version}.tar.bz2 @@ -29,6 +29,7 @@ Patch5: tomboy-sync-fixes-r1445.patch Patch6: tomboy-sync-fixes-r1446.patch Patch7: tomboy-sync-dialog-string-r1447.patch +Patch8: tomboy-menu-tasks-position.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: mono-core Requires: dbus-1-x11 @@ -66,6 +67,7 @@ %patch5 %patch6 %patch7 +%patch8 %build autoreconf -f -i @@ -132,6 +134,10 @@ %changelog * Mon Aug 27 2007 - btimothy@suse.de +- Fix the position of the TODO items that show up in tomboy's + main menu when the panel/notification area that tomboy's in + is at the top of the screen. +* Mon Aug 27 2007 - btimothy@suse.de - Expose events for note save/add/delete over DBus. Fixes BGO #465639. - Synchronization fixes from svn.gnome.org/svn/tomboy/trunk r1444. ++++++ tomboy-menu-tasks-position.patch ++++++ Fix the position of the TODO items that show up in tomboy's main menu when the panel/notification area that tomboy's in is at the top of the screen. --- Tomboy/Addins/Tasks/TasksApplicationAddin.cs 2007-08-27 15:12:12.000000000 -0600 +++ /home/boyd/projects/tomboy/Tomboy/Addins/Tasks/TasksApplicationAddin.cs 2007-08-27 15:07:21.000000000 -0600 @@ -142,7 +142,16 @@ // List the top "max_size" tasks Gtk.TreeIter iter; Gtk.SeparatorMenuItem separator; - int position = tomboy_tray_menu.Children.Length - 7; + + // Determine whether the icon is near the top/bottom of the screen + // TODO: Do this better! + int x, y; + Tomboy.Tray.GdkWindow.GetOrigin (out x, out y); + int position; + if (y < 24) + position = 2; + else + position = tomboy_tray_menu.Children.Length - 7; separator = new Gtk.SeparatorMenuItem (); tomboy_tray_menu.Insert (separator, position++); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org