diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-10-03 05:23:44 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-10-03 05:23:44 +0000 |
commit | 14fa6c26047c0cdeb745a2dcdd2ca91700e92e15 (patch) | |
tree | 69de78365e233bee15cd9c53977814f96e4acbc9 | |
parent | 24b8bee24222e4841147a1971479e8835a999c19 (diff) | |
download | gdk-pixbuf-14fa6c26047c0cdeb745a2dcdd2ca91700e92e15.tar.gz |
Fix positioning near the monitor boundaries. (#154341, Ken Harris)
2004-10-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_search_position_func):
Fix positioning near the monitor boundaries. (#154341,
Ken Harris)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 6 | ||||
-rw-r--r-- | gtk/gtktreeview.c | 5 |
5 files changed, 29 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2004-10-03 Matthias Clasen <mclasen@redhat.com> + + * gtk/gtktreeview.c (gtk_tree_view_search_position_func): + Fix positioning near the monitor boundaries. (#154341, + Ken Harris) + 2004-10-01 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkglobals-win32.c: Enable wintab (tablets) by diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 781d064f8..5432923e3 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2004-10-03 Matthias Clasen <mclasen@redhat.com> + + * gtk/gtktreeview.c (gtk_tree_view_search_position_func): + Fix positioning near the monitor boundaries. (#154341, + Ken Harris) + 2004-10-01 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkglobals-win32.c: Enable wintab (tablets) by diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 781d064f8..5432923e3 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2004-10-03 Matthias Clasen <mclasen@redhat.com> + + * gtk/gtktreeview.c (gtk_tree_view_search_position_func): + Fix positioning near the monitor boundaries. (#154341, + Ken Harris) + 2004-10-01 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkglobals-win32.c: Enable wintab (tablets) by diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 781d064f8..5432923e3 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2004-10-03 Matthias Clasen <mclasen@redhat.com> + + * gtk/gtktreeview.c (gtk_tree_view_search_position_func): + Fix positioning near the monitor boundaries. (#154341, + Ken Harris) + 2004-10-01 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkglobals-win32.c: Enable wintab (tablets) by diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 66edf3681..81cb74f35 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -11783,6 +11783,11 @@ gtk_tree_view_search_position_func (GtkTreeView *tree_view, GdkWindow *tree_window = GTK_WIDGET (tree_view)->window; GdkScreen *screen = gdk_drawable_get_screen (tree_window); GtkRequisition requisition; + gint monitor_num; + GdkRectangle monitor; + + monitor_num = gdk_screen_get_monitor_at_window (screen, tree_window); + gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor); gtk_widget_realize (search_dialog); |