diff options
Diffstat (limited to 'src/gui/menus/binary.c')
-rw-r--r-- | src/gui/menus/binary.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gui/menus/binary.c b/src/gui/menus/binary.c index 591efcd..af6e8c4 100644 --- a/src/gui/menus/binary.c +++ b/src/gui/menus/binary.c @@ -39,6 +39,9 @@ /* Réagit au menu "Binaire -> Points d'entrée". */ static void mcb_binary_entry_points(GtkMenuItem *, GMenuBar *); +/* Réagit au menu "Binaire -> Attacher un débogueur". */ +static void mcb_binary_attach_debugger(GtkMenuItem *, GMenuBar *); + /* Réagit au menu "Binaire -> Enregistrements...". */ static void mcb_binary_storage(GtkMenuItem *, GMenuBar *); @@ -81,6 +84,13 @@ GtkWidget *build_menu_binary(GObject *ref, GtkAccelGroup *accgroup, GMenuBar *ba submenuitem = qck_create_menu_separator(); gtk_container_add(GTK_CONTAINER(menubar), submenuitem); + submenuitem = qck_create_menu_item(ref, "mnu_binary_attach_debugger", _("Attach a debugger"), + G_CALLBACK(mcb_binary_attach_debugger), bar); + gtk_container_add(GTK_CONTAINER(menubar), submenuitem); + + submenuitem = qck_create_menu_separator(); + gtk_container_add(GTK_CONTAINER(menubar), submenuitem); + submenuitem = qck_create_menu_item(ref, "mnu_binary_storage", _("Storage..."), G_CALLBACK(mcb_binary_storage), bar); gtk_container_add(GTK_CONTAINER(menubar), submenuitem); @@ -180,6 +190,25 @@ static void mcb_binary_entry_points(GtkMenuItem *menuitem, GMenuBar *bar) * Paramètres : menuitem = élément de menu sélectionné. * * bar = barre de menu parente. * * * +* Description : Réagit au menu "Binaire -> Attacher un débogueur". * +* * +* Retour : - * +* * +* Remarques : - * +* * +******************************************************************************/ + +static void mcb_binary_attach_debugger(GtkMenuItem *menuitem, GMenuBar *bar) +{ + +} + + +/****************************************************************************** +* * +* Paramètres : menuitem = élément de menu sélectionné. * +* bar = barre de menu parente. * +* * * Description : Réagit au menu "Binaire -> Enregistrements...". * * * * Retour : - * |