linuxmint/Cinnamon — Issue #193: Window List Conextual menu options
Author: academo
Created: 2012-01-23 19:07:46+00:00
State: open

Hi,

I note on cinnamon 1.2 with classic layout the Windows list (bottom) contextual menu have this order : Minimize, Unmaximize/Maximize/Close and It should be Close,Maximize/Unmaximize/Minimize.

I follow the code for this on ui/windowList.js

if (this.orientation == St.Side.BOTTOM) {
this.addMenuItem(this.itemMinimizeWindow);
this.addMenuItem(this.itemMaximizeWindow);
this.addMenuItem(this.itemCloseWindow);
}
else {
this.addMenuItem(this.itemCloseWindow);
this.addMenuItem(this.itemMaximizeWindow);
this.addMenuItem(this.itemMinimizeWindow);
}

I just invert the order and It looks fine now:

if (this.orientation == St.Side.BOTTOM) {
this.addMenuItem(this.itemCloseWindow);
this.addMenuItem(this.itemMaximizeWindow);
this.addMenuItem(this.itemMinimizeWindow);
}
else {
this.addMenuItem(this.itemMinimizeWindow);
this.addMenuItem(this.itemMaximizeWindow);
this.addMenuItem(this.itemCloseWindow);
}

I'm not sure if you wanted in the way It was or It was a bug, but I'm used to have it on that order and I'm sure lot of users too.

Maybe you could also make a config for that.

I would like to help developing this kind of simple things but I don't know how start collaborating. Do you have an IRC channel or skype group or something? Thanks :)