aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-01-22 15:35:58 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-01-22 15:35:58 -0500
commit83041e48159a847e0736033ae99ea1ff690a2455 (patch)
tree8676979fe0b429f1e7e435d3e63741d0366056e7
parentsupport gadget versions with [X-Gadget-Version] .desktop entry (diff)
downloadenlightenment-83041e48159a847e0736033ae99ea1ff690a2455.tar.gz
add menu item for reporting bugs
-rw-r--r--src/bin/e_int_menus.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/bin/e_int_menus.c b/src/bin/e_int_menus.c
index 46a68c9e3..13a711955 100644
--- a/src/bin/e_int_menus.c
+++ b/src/bin/e_int_menus.c
@@ -44,6 +44,7 @@ static void _e_int_menus_virtuals_pre_cb(void *data, E_Menu *m);
static void _e_int_menus_virtuals_item_cb(void *data, E_Menu *m, E_Menu_Item *mi);
static void _e_int_menus_virtuals_icon_cb(void *data, E_Menu *m, E_Menu_Item *mi);
static void _e_int_menus_themes_about(void *data, E_Menu *m, E_Menu_Item *mi);
+static void _e_int_menus_report_bug(void *data, E_Menu *m, E_Menu_Item *mi);
static void _e_int_menus_lost_clients_pre_cb(void *data, E_Menu *m);
static void _e_int_menus_lost_clients_free_hook(void *obj);
static void _e_int_menus_lost_clients_item_cb(void *data, E_Menu *m, E_Menu_Item *mi);
@@ -251,6 +252,11 @@ e_int_menus_main_new(void)
e_util_menu_item_theme_icon_set(mi, "preferences-desktop-theme");
e_menu_item_callback_set(mi, _e_int_menus_themes_about, NULL);
+ mi = e_menu_item_new(subm);
+ e_menu_item_label_set(mi, _("Report Bug"));
+ e_util_menu_item_theme_icon_set(mi, "dialog-error");
+ e_menu_item_callback_set(mi, _e_int_menus_report_bug, NULL);
+
l = _e_int_menus_augmentation_find("enlightenment/1");
if (l) _e_int_menus_augmentation_add(subm, l);
@@ -638,6 +644,12 @@ _e_int_menus_themes_about(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Menu_
if (about) e_theme_about_show(about);
}
+static void
+_e_int_menus_report_bug(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
+{
+ e_util_open("https://www.enlightenment.org/contrib/report-bug.md", NULL);
+}
+
/*
static void
_e_int_menus_fwin_favorites_item_cb(void *data, E_Menu *m, E_Menu_Item *mi)