[gnote/gnome-3-32] Fix Preferences menu item not visible in menu
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/gnome-3-32] Fix Preferences menu item not visible in menu
- Date: Sun, 24 Mar 2019 14:31:57 +0000 (UTC)
commit 33769290be1f65d4dfccd53d9ba6936080bc6fa0
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sat Mar 23 16:15:38 2019 +0200
Fix Preferences menu item not visible in menu
src/actionmanager.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index 1add3119..db281956 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2011-2018 Aurimas Cernius
+ * Copyright (C) 2011-2019 Aurimas Cernius
* Copyright (C) 2009 Hubert Figuiere
*
* This program is free software: you can redistribute it and/or modify
@@ -219,7 +219,7 @@ namespace gnote {
int order = 100000;
if(add_app_menu_section(widgets, order, APP_ACTION_MANAGE)) {
// end section
- widgets[order] = NULL;
+ widgets[order++] = NULL;
}
add_app_menu_section(widgets, order, APP_ACTION_LAST);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]