summaryrefslogtreecommitdiff
path: root/services
diff options
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-09-13 11:04:15 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-09-13 11:04:15 +0200
commit02669ddb7d520d859fecdf28ebd4fa9058a5cc3c (patch)
treea66d2dc59b994b28537711c3c047483194bf0523 /services
parent3f5eb6e2a11a69f30e4fcfb672bf7cdf06b817ce (diff)
Use MAX_INDICATOR_ENTRIES instead of hardcoding '100'
(bzr r3500.1.2)
Diffstat (limited to 'services')
-rw-r--r--services/panel-service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/panel-service.c b/services/panel-service.c
index e211a0b9f..318ce4c9a 100644
--- a/services/panel-service.c
+++ b/services/panel-service.c
@@ -42,7 +42,7 @@ G_DEFINE_TYPE (PanelService, panel_service, G_TYPE_OBJECT);
#define NOTIFY_TIMEOUT 80
#define N_TIMEOUT_SLOTS 50
-#define MAX_INDICATOR_ENTRIES 50
+#define MAX_INDICATOR_ENTRIES 100
#define COMPIZ_OPTION_SCHEMA "org.compiz.unityshell"
#define COMPIZ_OPTION_PATH "/org/compiz/profiles/unity/plugins/"
@@ -1679,7 +1679,7 @@ activate_next_prev_menu (PanelService *self,
if (!panel_service_entry_is_visible (self, new_entry))
continue;
- prio = parent_priority * 100 + index;
+ prio = parent_priority * MAX_INDICATOR_ENTRIES + index;
index++;
gpointer *values = g_new (gpointer, 2);