diff src/audacious/ui_skinned_button.h @ 2964:7926d46872c8 trunk

right click on mainwin_about brings menu
author Tomasz Mon <desowin@gmail.com>
date Mon, 02 Jul 2007 10:28:05 +0200
parents 4e71092ab29b
children 934c1a79904f
line wrap: on
line diff
--- a/src/audacious/ui_skinned_button.h	Mon Jul 02 10:11:37 2007 +0200
+++ b/src/audacious/ui_skinned_button.h	Mon Jul 02 10:28:05 2007 +0200
@@ -35,15 +35,6 @@
 typedef struct _UiSkinnedButtonClass	UiSkinnedButtonClass;
 
 enum {
-	PRESSED,
-	RELEASED,
-	CLICKED,
-	DOUBLED,
-	REDRAW,
-	LAST_SIGNAL
-};
-
-enum {
 	TYPE_NOT_SET,
 	TYPE_PUSH,
 	TYPE_TOGGLE,
@@ -71,11 +62,12 @@
 
 struct _UiSkinnedButtonClass {
 	GtkBinClass parent_class;
-	void (* pressed)  (UiSkinnedButton *button);
-	void (* released) (UiSkinnedButton *button);
-	void (* clicked)  (UiSkinnedButton *button);
-	void (* doubled)  (UiSkinnedButton *button);
-	void (* redraw)   (UiSkinnedButton *button);
+	void (* pressed)       (UiSkinnedButton *button);
+	void (* released)      (UiSkinnedButton *button);
+	void (* clicked)       (UiSkinnedButton *button);
+	void (* right_clicked) (UiSkinnedButton *button);
+	void (* doubled)       (UiSkinnedButton *button);
+	void (* redraw)        (UiSkinnedButton *button);
 };
 
 GType ui_skinned_button_get_type(void) G_GNUC_CONST;