forked from AuroraMiddleware/gtk
filechooserwidget: Fix rename popover position calculation
Since the browse_file_popover is positioned correctly, just convert the coordinates in the same way we do there. https://bugzilla.gnome.org/show_bug.cgi?id=778746
This commit is contained in:
parent
385e1236a7
commit
d637b0eeed
@ -1629,7 +1629,7 @@ rename_selected_cb (GtkTreeModel *model,
|
||||
gtk_tree_view_get_cell_area (GTK_TREE_VIEW (priv->browse_files_tree_view),
|
||||
path, priv->list_name_column, &rect);
|
||||
|
||||
gtk_tree_view_convert_tree_to_widget_coords (GTK_TREE_VIEW (priv->browse_files_tree_view),
|
||||
gtk_tree_view_convert_bin_window_to_widget_coords (GTK_TREE_VIEW (priv->browse_files_tree_view),
|
||||
rect.x, rect.y, &rect.x, &rect.y);
|
||||
|
||||
filename = g_file_get_basename (priv->rename_file_source_file);
|
||||
|
Loading…
Reference in New Issue
Block a user