diff --git a/src/gtk/mainwindow.c b/src/gtk/mainwindow.c
index a72d680..c2a5a92 100644
--- a/src/gtk/mainwindow.c
+++ b/src/gtk/mainwindow.c
@@ -47,6 +47,16 @@
ACTION_GROUP_MAX
};
+ enum popup_group
+ {
+ POPUP_DEFAULT,
+ POPUP_ONLINE,
+ POPUP_OFFLINE,
+ POPUP_SELECTION,
+
+ POPUP_MAX
+ };
+
static const gchar *groupname[ACTION_GROUP_MAX+1] = { "default",
"online",
"offline",
@@ -56,6 +66,13 @@
"paste",
NULL
};
+
+ static const gchar *popupname[POPUP_MAX+1] = { "default",
+ "online",
+ "offline",
+ "selection",
+ NULL
+ };
/*--[ Implement ]------------------------------------------------------------------------------------*/
static void save_toggle(GtkWidget *widget, LIB3270_TOGGLE id, gboolean toggled, const gchar *name, GtkWindow *toplevel)
@@ -208,7 +225,7 @@
}
// Create window
- window = ui_parse_xml_folder(path,groupname,terminal,widget_setup);
+ window = ui_parse_xml_folder(path,groupname,popupname,terminal,widget_setup);
group = g_object_get_data(G_OBJECT(window),"action_groups");
// Setup action groups
diff --git a/src/gtk/uiparser/uiparser.cbp b/src/gtk/uiparser/uiparser.cbp
index 349bdb6..5288f37 100644
--- a/src/gtk/uiparser/uiparser.cbp
+++ b/src/gtk/uiparser/uiparser.cbp
@@ -31,13 +31,12 @@
-
+
-
+
-
--
libgit2 0.21.2