aboutsummaryrefslogtreecommitdiff
path: root/src/app-menu-item.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-17 15:01:13 -0600
committerTed Gould <ted@gould.cx>2010-02-17 15:01:13 -0600
commit958bb92e0346294d34d7628061faf134f1043621 (patch)
tree28802d8bfe78dd4fb0a48dac696c8093eef7db23 /src/app-menu-item.c
parentde7363b6804d843f9c8c9a692297570bf1a19cfe (diff)
downloadayatana-indicator-messages-958bb92e0346294d34d7628061faf134f1043621.tar.gz
ayatana-indicator-messages-958bb92e0346294d34d7628061faf134f1043621.tar.bz2
ayatana-indicator-messages-958bb92e0346294d34d7628061faf134f1043621.zip
Adding in a shortcuts changed signal
Diffstat (limited to 'src/app-menu-item.c')
-rw-r--r--src/app-menu-item.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c
index 5d53053..e9ba0f1 100644
--- a/src/app-menu-item.c
+++ b/src/app-menu-item.c
@@ -34,6 +34,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
enum {
COUNT_CHANGED,
NAME_CHANGED,
+ SHORTCUTS_CHANGED,
LAST_SIGNAL
};
@@ -96,6 +97,13 @@ app_menu_item_class_init (AppMenuItemClass *klass)
NULL, NULL,
g_cclosure_marshal_VOID__STRING,
G_TYPE_NONE, 1, G_TYPE_STRING);
+ signals[SHORTCUTS_CHANGED] = g_signal_new(APP_MENU_ITEM_SIGNAL_SHORTCUTS_CHANGED,
+ G_TYPE_FROM_CLASS(klass),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (AppMenuItemClass, shortcuts_changed),
+ NULL, NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE, 0, G_TYPE_NONE);
return;
}