changeset 2353:0fb258122933 trunk

[svn] - added audacious_menu_main_show(x,y,button,time) in util.h, convenience function to display the audacious main popup menu
author giacomo
date Wed, 17 Jan 2007 03:11:48 -0800
parents 19c91d5731ab
children fea1b8594cd8
files ChangeLog src/audacious/ui_main.c src/audacious/util.h
diffstat 3 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jan 17 02:24:15 2007 -0800
+++ b/ChangeLog	Wed Jan 17 03:11:48 2007 -0800
@@ -1,3 +1,11 @@
+2007-01-17 10:24:15 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [3714]
+  - fix gconf backend
+  
+  trunk/src/libaudacious/configdb_gconf.c |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2007-01-17 00:49:21 +0000  Giacomo Lozito <james@develia.org>
   revision [3712]
   - simplify and optimize the metadata tooltip trigger function
--- a/src/audacious/ui_main.c	Wed Jan 17 02:24:15 2007 -0800
+++ b/src/audacious/ui_main.c	Wed Jan 17 03:11:48 2007 -0800
@@ -3668,6 +3668,16 @@
 }
 
 
+void
+audacious_menu_main_show( gint x , gint y , guint button , guint time )
+{
+  /* convenience function that shows the main popup menu wherever requested */
+  ui_manager_popup_menu_show( GTK_MENU(mainwin_general_menu),
+                              x , y , button , time );
+  return;
+}
+
+
 /* toggleactionentries actions */
 
 void
--- a/src/audacious/util.h	Wed Jan 17 02:24:15 2007 -0800
+++ b/src/audacious/util.h	Wed Jan 17 03:11:48 2007 -0800
@@ -143,6 +143,8 @@
 
 gchar *audacious_get_localdir(void);
 
+void audacious_menu_main_show( gint x , gint y , guint button , guint time );
+
 G_END_DECLS
 
 #endif