Mercurial > audlegacy
diff src/audacious/ui_fileopener.c @ 2440:7f0318090690 trunk
[svn] - set the gtk2 fileopener position to the center of the screen
author | giacomo |
---|---|
date | Mon, 29 Jan 2007 07:08:18 -0800 |
parents | 4a1d1c324685 |
children | 48c352f89a4e |
line wrap: on
line diff
--- a/src/audacious/ui_fileopener.c Sun Jan 28 22:19:02 2007 -0800 +++ b/src/audacious/ui_fileopener.c Mon Jan 29 07:08:18 2007 -0800 @@ -134,6 +134,7 @@ window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_title(GTK_WINDOW(window), window_title); gtk_window_set_default_size(GTK_WINDOW(window), 700, 450); + gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER); gtk_container_set_border_width(GTK_CONTAINER(window), 10); vbox = gtk_vbox_new(FALSE, 0);