xrandr-indicator: Adjust to PopupMenu API change

setShowDot() has become setOrnament()

https://bugzilla.gnome.org/show_bug.cgi?id=699335
This commit is contained in:
Florian Müllner
2013-04-30 17:15:17 +02:00
parent 8628addfc9
commit d903f1f15b
+1 -1
View File
@@ -94,7 +94,7 @@ const Indicator = new Lang.Class({
if (bitmask & allowedRotations) {
let item = new PopupMenu.PopupMenuItem(Gettext.gettext(name));
if (bitmask & currentRotation)
item.setShowDot(true);
item.setOrnament(PopupMenu.Ornament.DOT);
item.connect('activate', Lang.bind(this, function(item, event) {
/* ensure config is saved so we get a backup if anything goes wrong */
config.save();