Show on the right screen. (Fixes bug 133411, apart from the leak.)
2004-02-04 Morten Welinder <terra@gnome.org> * gtk/gtktoolbar.c (show_menu): Show on the right screen. (Fixes bug 133411, apart from the leak.)
This commit is contained in:

committed by
Morten Welinder

parent
9f35c7ae42
commit
0b14aeea37
@ -1,3 +1,8 @@
|
|||||||
|
2004-02-04 Morten Welinder <terra@gnome.org>
|
||||||
|
|
||||||
|
* gtk/gtktoolbar.c (show_menu): Show on the right screen. (Fixes
|
||||||
|
bug 133411, apart from the leak.)
|
||||||
|
|
||||||
Tue Feb 3 13:39:27 2004 Manish Singh <yosh@gimp.org>
|
Tue Feb 3 13:39:27 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last
|
* gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-02-04 Morten Welinder <terra@gnome.org>
|
||||||
|
|
||||||
|
* gtk/gtktoolbar.c (show_menu): Show on the right screen. (Fixes
|
||||||
|
bug 133411, apart from the leak.)
|
||||||
|
|
||||||
Tue Feb 3 13:39:27 2004 Manish Singh <yosh@gimp.org>
|
Tue Feb 3 13:39:27 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last
|
* gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-02-04 Morten Welinder <terra@gnome.org>
|
||||||
|
|
||||||
|
* gtk/gtktoolbar.c (show_menu): Show on the right screen. (Fixes
|
||||||
|
bug 133411, apart from the leak.)
|
||||||
|
|
||||||
Tue Feb 3 13:39:27 2004 Manish Singh <yosh@gimp.org>
|
Tue Feb 3 13:39:27 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last
|
* gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-02-04 Morten Welinder <terra@gnome.org>
|
||||||
|
|
||||||
|
* gtk/gtktoolbar.c (show_menu): Show on the right screen. (Fixes
|
||||||
|
bug 133411, apart from the leak.)
|
||||||
|
|
||||||
Tue Feb 3 13:39:27 2004 Manish Singh <yosh@gimp.org>
|
Tue Feb 3 13:39:27 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last
|
* gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2004-02-04 Morten Welinder <terra@gnome.org>
|
||||||
|
|
||||||
|
* gtk/gtktoolbar.c (show_menu): Show on the right screen. (Fixes
|
||||||
|
bug 133411, apart from the leak.)
|
||||||
|
|
||||||
Tue Feb 3 13:39:27 2004 Manish Singh <yosh@gimp.org>
|
Tue Feb 3 13:39:27 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last
|
* gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last
|
||||||
|
@ -2466,11 +2466,14 @@ show_menu (GtkToolbar *toolbar,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gtk_window_set_screen (GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (priv->menu))),
|
||||||
|
gtk_widget_get_screen (GTK_WIDGET (toolbar)));
|
||||||
gtk_widget_show_all (GTK_WIDGET (priv->menu));
|
gtk_widget_show_all (GTK_WIDGET (priv->menu));
|
||||||
|
|
||||||
gtk_menu_popup (GTK_MENU (priv->menu), NULL, NULL,
|
gtk_menu_popup (priv->menu, NULL, NULL,
|
||||||
menu_position_func, toolbar,
|
menu_position_func, toolbar,
|
||||||
event? event->button : 0, event? event->time : gtk_get_current_event_time());
|
event? event->button : 0,
|
||||||
|
event? event->time : gtk_get_current_event_time());
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Reference in New Issue
Block a user