# HG changeset patch # User giacomo # Date 1169035760 28800 # Node ID fea1b8594cd84983e7eb9f068fb743ba89393434 # Parent 0fb258122933bfbd302128f08b3f27d319e11bc2 [svn] - removed other obsolete (and annoying) gdk_window_set_hints calls diff -r 0fb258122933 -r fea1b8594cd8 ChangeLog --- a/ChangeLog Wed Jan 17 03:11:48 2007 -0800 +++ b/ChangeLog Wed Jan 17 04:09:20 2007 -0800 @@ -1,3 +1,11 @@ +2007-01-17 11:11:48 +0000 Giacomo Lozito + revision [3716] + - added audacious_menu_main_show(x,y,button,time) in util.h, convenience function to display the audacious main popup menu + trunk/src/audacious/ui_main.c | 10 ++++++++++ + trunk/src/audacious/util.h | 2 ++ + 2 files changed, 12 insertions(+) + + 2007-01-17 10:24:15 +0000 William Pitcock revision [3714] - fix gconf backend diff -r 0fb258122933 -r fea1b8594cd8 src/audacious/ui_main.c --- a/src/audacious/ui_main.c Wed Jan 17 03:11:48 2007 -0800 +++ b/src/audacious/ui_main.c Wed Jan 17 04:09:20 2007 -0800 @@ -2465,6 +2465,9 @@ return; } + if (cfg.player_x != -1 && cfg.player_y != -1) + gtk_window_move(GTK_WINDOW(mainwin), cfg.player_x, cfg.player_y); + gtk_widget_show_all(mainwin); if (nullmask) @@ -2473,23 +2476,11 @@ nullmask = NULL; } - gdk_window_set_hints(mainwin->window, 0, 0, - !bmp_active_skin->properties.mainwin_width ? PLAYER_WIDTH : - bmp_active_skin->properties.mainwin_width, - !bmp_active_skin->properties.mainwin_height ? PLAYER_HEIGHT : - bmp_active_skin->properties.mainwin_height, - !bmp_active_skin->properties.mainwin_width ? PLAYER_WIDTH : - bmp_active_skin->properties.mainwin_width, - !bmp_active_skin->properties.mainwin_height ? PLAYER_HEIGHT : - bmp_active_skin->properties.mainwin_height, - GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE); gtk_window_resize(GTK_WINDOW(mainwin), !bmp_active_skin->properties.mainwin_width ? PLAYER_WIDTH : bmp_active_skin->properties.mainwin_width, !bmp_active_skin->properties.mainwin_height ? PLAYER_HEIGHT : bmp_active_skin->properties.mainwin_height); - if (cfg.player_x != -1 && cfg.player_y != -1) - gtk_window_move(GTK_WINDOW(mainwin), cfg.player_x, cfg.player_y); draw_main_window(TRUE);