Mercurial > audlegacy
comparison audacious/ui_fileinfo.c @ 1401:3bc53d7f9012 trunk
[svn] - now filepopup_pointer_check_iter() returns immediately if cfg.show_filepopup_for_tuple is FALSE.
author | yaz |
---|---|
date | Fri, 14 Jul 2006 07:55:53 -0700 |
parents | c19443be579d |
children | 1abfc389ecc6 |
comparison
equal
deleted
inserted
replaced
1400:c40785ffb875 | 1401:3bc53d7f9012 |
---|---|
178 gint x, y, pos; | 178 gint x, y, pos; |
179 TitleInput *tuple; | 179 TitleInput *tuple; |
180 static gint prev_x = 0, prev_y = 0, ctr = 0; | 180 static gint prev_x = 0, prev_y = 0, ctr = 0; |
181 gboolean skip = FALSE; | 181 gboolean skip = FALSE; |
182 | 182 |
183 if (playlistwin_is_shaded() || playlistwin_list->pl_tooltips == FALSE | 183 if (!cfg.show_filepopup_for_tuple || playlistwin_is_shaded() |
184 || playlistwin_list->pl_tooltips == FALSE | |
184 || gdk_window_at_pointer(NULL, NULL) != GDK_WINDOW(playlistwin->window) | 185 || gdk_window_at_pointer(NULL, NULL) != GDK_WINDOW(playlistwin->window) |
185 || gdk_window_at_pointer(NULL, NULL) == NULL) | 186 || gdk_window_at_pointer(NULL, NULL) == NULL) |
186 { | 187 { |
187 ctr = 0; | 188 ctr = 0; |
188 if ( filepopup_win->window != NULL && | 189 if ( filepopup_win->window != NULL && |
216 filepopup_hide(NULL); | 217 filepopup_hide(NULL); |
217 return TRUE; | 218 return TRUE; |
218 } | 219 } |
219 | 220 |
220 tuple = playlist_get_tuple(pos); | 221 tuple = playlist_get_tuple(pos); |
221 if(cfg.show_filepopup_for_tuple){ | 222 filepopup_show_for_tuple(tuple); |
222 filepopup_show_for_tuple(tuple); | |
223 } | |
224 } | 223 } |
225 | 224 |
226 return TRUE; | 225 return TRUE; |
227 } | 226 } |
228 | 227 |