aboutsummaryrefslogtreecommitdiff
path: root/src/idoscalemenuitem.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-03-10 00:04:36 -0600
committerCharles Kerr <charles.kerr@canonical.com>2012-03-10 00:04:36 -0600
commitdb0c18cb60b97199c6b842f20c69110ad1d90818 (patch)
tree2f8ae5ec71d91c7113da90f24765fbfdee58f21b /src/idoscalemenuitem.h
parentdfbd1c2fc5a79cd14894e46e56c2c316059c4508 (diff)
downloadayatana-ido-db0c18cb60b97199c6b842f20c69110ad1d90818.tar.gz
ayatana-ido-db0c18cb60b97199c6b842f20c69110ad1d90818.tar.bz2
ayatana-ido-db0c18cb60b97199c6b842f20c69110ad1d90818.zip
add primary-clicked and secondary-clicked signals for lp bug #921065
Diffstat (limited to 'src/idoscalemenuitem.h')
-rw-r--r--src/idoscalemenuitem.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/idoscalemenuitem.h b/src/idoscalemenuitem.h
index b325ecd..81a3474 100644
--- a/src/idoscalemenuitem.h
+++ b/src/idoscalemenuitem.h
@@ -59,6 +59,10 @@ struct _IdoScaleMenuItem
struct _IdoScaleMenuItemClass
{
GtkMenuItemClass parent_class;
+
+ /* signal default handlers */
+ void (*primary_clicked)(IdoScaleMenuItem * self);
+ void (*secondary_clicked)(IdoScaleMenuItem * self);
};
@@ -85,6 +89,8 @@ void ido_scale_menu_item_set_primary_label (IdoScaleMenuItem
const gchar *ido_scale_menu_item_get_secondary_label (IdoScaleMenuItem *menuitem);
void ido_scale_menu_item_set_secondary_label (IdoScaleMenuItem *menuitem,
const gchar *label);
+void ido_scale_menu_item_primary_clicked (IdoScaleMenuItem *menuitem);
+void ido_scale_menu_item_secondary_clicked (IdoScaleMenuItem *menuitem);
G_END_DECLS