[gnote] Fix Preferences menu item not visible in menu
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix Preferences menu item not visible in menu
- Date: Sat, 23 Mar 2019 14:31:41 +0000 (UTC)
commit 50dfbe96e8a09241bc421bbe4749371aa9418709
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]