[nautilus] icon-container: use gdk_window_move() to position the typeahead popup
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] icon-container: use gdk_window_move() to position the typeahead popup
- Date: Mon, 17 Oct 2011 20:27:38 +0000 (UTC)
commit 4c74f176542935b8ea8f61f9bb9ae6cdb35466ea
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Oct 17 15:31:12 2011 -0400
icon-container: use gdk_window_move() to position the typeahead popup
For some reason, gtk_window_move() doesn't always work reliably, while
gdk_window_move() seems to always position the window in the requested
coordinates.
https://bugzilla.gnome.org/show_bug.cgi?id=660807
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/857710
libnautilus-private/nautilus-icon-container.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c
index aec831f..deefa76 100644
--- a/libnautilus-private/nautilus-icon-container.c
+++ b/libnautilus-private/nautilus-icon-container.c
@@ -4830,7 +4830,7 @@ nautilus_icon_container_search_position_func (NautilusIconContainer *container,
y = cont_y + cont_height;
}
- gtk_window_move (GTK_WINDOW (search_dialog), x, y);
+ gdk_window_move (gtk_widget_get_window (search_dialog), x, y);
}
/* Cut and paste from gtkwindow.c */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]