~ubuntu-branches/ubuntu/quantal/shotwell/quantal

« back to all changes in this revision

Viewing changes to src/sidebar/Tree.vala

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-02-21 13:52:58 UTC
  • mto: This revision was merged to the branch mainline in revision 47.
  • Revision ID: package-import@ubuntu.com-20120221135258-ao9jiib5qicomq7q
Tags: upstream-0.11.92
ImportĀ upstreamĀ versionĀ 0.11.92

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright 2011 Yorba Foundation
 
1
/* Copyright 2011-2012 Yorba Foundation
2
2
 *
3
3
 * This software is licensed under the GNU Lesser General Public License
4
4
 * (version 2.1 or later).  See the COPYING file in this distribution. 
817
817
    private Gtk.TreePath? get_path_from_event(Gdk.EventButton event) {
818
818
        int x, y;
819
819
        Gdk.ModifierType mask;
820
 
        event.window.get_pointer(out x, out y, out mask);
 
820
        event.window.get_device_position(Gdk.Display.get_default().get_device_manager().
 
821
            get_client_pointer(), out x, out y, out mask);
821
822
        
822
823
        int cell_x, cell_y;
823
824
        Gtk.TreePath path;