summaryrefslogtreecommitdiff
path: root/mixer/applet.c
diff options
context:
space:
mode:
authorRonald Bultje <rbultje@src.gnome.org>2005-11-02 21:20:00 +0000
committerRonald Bultje <rbultje@src.gnome.org>2005-11-02 21:20:00 +0000
commit92e20767570acf5902c447bcb8bc773d1e88aeef (patch)
treefdd061e262bda48d5425853f5587880d3c378532 /mixer/applet.c
parentd80aa92a99e271afd9589353432adf2690df3656 (diff)
Do some magic to make the flicker between show-all, size-calculation and
* applet.c: (gnome_volume_applet_popup_dock): Do some magic to make the flicker between show-all, size-calculation and re-position of the applet less noticeable by doing a rough guess position before the show-all.
Diffstat (limited to 'mixer/applet.c')
-rw-r--r--mixer/applet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mixer/applet.c b/mixer/applet.c
index 0ff704448..20047d816 100644
--- a/mixer/applet.c
+++ b/mixer/applet.c
@@ -571,6 +571,8 @@ gnome_volume_applet_popup_dock (GnomeVolumeApplet *applet)
gint x, y;
/* show (before reposition, so size allocation is done) */
+ gnome_volume_applet_get_dock_position (applet, &x, &y);
+ gtk_window_move (GTK_WINDOW (applet->dock), x, y);
gtk_widget_show_all (GTK_WIDGET (applet->dock));
/* reposition */