Skip to content

Commit abb8978

Browse files
committed
Always first applauncher
1 parent de20e24 commit abb8978

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Services/IndicatorSorter.vala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public class Wingpanel.Services.IndicatorSorter : Object {
3232
private static Gee.HashMap<string, int> indicator_order = new Gee.HashMap<string,int> ();
3333
static construct {
3434
indicator_order[AYATANA_INDICATOR] = 0;
35+
indicator_order[Indicator.APP_LAUNCHER] = 0;
3536
indicator_order[UNKNOWN_INDICATOR] = 1;
3637
indicator_order[Indicator.ACCESSIBILITY] = 2;
3738
indicator_order[Indicator.NIGHT_LIGHT] = 3;

src/Widgets/Panel.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public class Wingpanel.Widgets.Panel : Gtk.EventBox {
259259
switch (indicator.position) {
260260
case IndicatorPosition.LEFT:
261261
indicator_entry.set_transition_type (Gtk.RevealerTransitionType.SLIDE_RIGHT);
262-
left_menubar.add (indicator_entry);
262+
left_menubar.insert_sorted (indicator_entry);
263263
break;
264264
case IndicatorPosition.CENTER:
265265
indicator_entry.set_transition_type (Gtk.RevealerTransitionType.SLIDE_DOWN);

0 commit comments

Comments
 (0)