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)
This commit is contained in:
Matthias Clasen 2004-10-03 05:19:52 +00:00 committed by Matthias Clasen
parent aae6fbcd0f
commit 41f17245c5
5 changed files with 33 additions and 0 deletions

View File

@ -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 Paolo Borelli <pborelli@katamail.com> 2004-10-01 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it * gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it
@ -51,6 +57,7 @@
call layout_clear_attributes, and also delegate calls to dependent call layout_clear_attributes, and also delegate calls to dependent
cell layouts. (#154191, Martyn Russell) cell layouts. (#154191, Martyn Russell)
>>>>>>> 1.5869
2004-10-01 Matthias Clasen <mclasen@redhat.com> 2004-10-01 Matthias Clasen <mclasen@redhat.com>
* modules/input/iminuktitut.c: Fix the spelling of Inuktitut * modules/input/iminuktitut.c: Fix the spelling of Inuktitut

View File

@ -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 Paolo Borelli <pborelli@katamail.com> 2004-10-01 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it * gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it
@ -51,6 +57,7 @@
call layout_clear_attributes, and also delegate calls to dependent call layout_clear_attributes, and also delegate calls to dependent
cell layouts. (#154191, Martyn Russell) cell layouts. (#154191, Martyn Russell)
>>>>>>> 1.5869
2004-10-01 Matthias Clasen <mclasen@redhat.com> 2004-10-01 Matthias Clasen <mclasen@redhat.com>
* modules/input/iminuktitut.c: Fix the spelling of Inuktitut * modules/input/iminuktitut.c: Fix the spelling of Inuktitut

View File

@ -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 Paolo Borelli <pborelli@katamail.com> 2004-10-01 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it * gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it
@ -51,6 +57,7 @@
call layout_clear_attributes, and also delegate calls to dependent call layout_clear_attributes, and also delegate calls to dependent
cell layouts. (#154191, Martyn Russell) cell layouts. (#154191, Martyn Russell)
>>>>>>> 1.5869
2004-10-01 Matthias Clasen <mclasen@redhat.com> 2004-10-01 Matthias Clasen <mclasen@redhat.com>
* modules/input/iminuktitut.c: Fix the spelling of Inuktitut * modules/input/iminuktitut.c: Fix the spelling of Inuktitut

View File

@ -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 Paolo Borelli <pborelli@katamail.com> 2004-10-01 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it * gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it
@ -51,6 +57,7 @@
call layout_clear_attributes, and also delegate calls to dependent call layout_clear_attributes, and also delegate calls to dependent
cell layouts. (#154191, Martyn Russell) cell layouts. (#154191, Martyn Russell)
>>>>>>> 1.5869
2004-10-01 Matthias Clasen <mclasen@redhat.com> 2004-10-01 Matthias Clasen <mclasen@redhat.com>
* modules/input/iminuktitut.c: Fix the spelling of Inuktitut * modules/input/iminuktitut.c: Fix the spelling of Inuktitut

View File

@ -12266,6 +12266,11 @@ gtk_tree_view_search_position_func (GtkTreeView *tree_view,
GdkWindow *tree_window = GTK_WIDGET (tree_view)->window; GdkWindow *tree_window = GTK_WIDGET (tree_view)->window;
GdkScreen *screen = gdk_drawable_get_screen (tree_window); GdkScreen *screen = gdk_drawable_get_screen (tree_window);
GtkRequisition requisition; 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); gtk_widget_realize (search_dialog);