diff --git a/Settings.ui b/Settings.ui
index 8ce762e..b7253e3 100644
--- a/Settings.ui
+++ b/Settings.ui
@@ -4125,7 +4125,7 @@
False
True
- 1
+ 0
@@ -4142,12 +4142,52 @@
position_bottom_button
+
+ False
+ True
+ 1
+
+
+
+
False
True
2
+
+
+
+ False
+ True
+ 3
+
+
False
diff --git a/prefs.js b/prefs.js
index 58c37ca..f5a01c2 100644
--- a/prefs.js
+++ b/prefs.js
@@ -209,6 +209,12 @@ const Settings = new Lang.Class({
case 'TOP':
this._builder.get_object('position_top_button').set_active(true);
break;
+ case 'LEFT':
+ this._builder.get_object('position_left_button').set_active(true);
+ break;
+ case 'RIGHT':
+ this._builder.get_object('position_right_button').set_active(true);
+ break;
}
@@ -1685,7 +1691,17 @@ const Settings = new Lang.Class({
position_top_button_toggled_cb: function(button) {
if (button.get_active())
this._settings.set_string('panel-position', "TOP");
- },
+ },
+
+ position_left_button_toggled_cb: function(button) {
+ if (button.get_active())
+ this._settings.set_string('panel-position', "LEFT");
+ },
+
+ position_right_button_toggled_cb: function(button) {
+ if (button.get_active())
+ this._settings.set_string('panel-position', "RIGHT");
+ },
dots_bottom_button_toggled_cb: function(button) {
if (button.get_active())
diff --git a/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml b/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml
index 2d5fa11..38760de 100644
--- a/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml
+++ b/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml
@@ -42,11 +42,11 @@
-
+
+