[gnome-panel] menu: turn old menu button object into applet
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] menu: turn old menu button object into applet
- Date: Sat, 15 Sep 2018 22:38:01 +0000 (UTC)
commit 71a0ad1debdcf9e54db9219935db06509e8197f0
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Sep 16 00:59:39 2018 +0300
menu: turn old menu button object into applet
modules/menu/gp-menu-module.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/modules/menu/gp-menu-module.c b/modules/menu/gp-menu-module.c
index 7e9af8350..291b2bc6b 100644
--- a/modules/menu/gp-menu-module.c
+++ b/modules/menu/gp-menu-module.c
@@ -420,6 +420,9 @@ menu_get_applet_id_from_iid (const gchar *iid)
if (g_strcmp0 (iid, "PanelInternalFactory::MenuBar") == 0)
return "menu-bar";
+ if (g_strcmp0 (iid, "PanelInternalFactory::MenuButton") == 0)
+ return "menu-button";
+
if (g_strcmp0 (iid, "PanelInternalFactory::UserMenu") == 0)
return "user-menu";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]