Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Indicator.vala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

public class Keyboard.Indicator : Wingpanel.Indicator {
public Wingpanel.IndicatorManager.ServerType server_type { get; construct; }
public Wingpanel.ServerType server_type { get; construct; }

private Gdk.Device device;
private GLib.Settings settings;
Expand All @@ -15,7 +15,7 @@ public class Keyboard.Indicator : Wingpanel.Indicator {
private Gtk.Label layouts_icon;
private Gtk.Revealer layouts_revealer;

public Indicator (Wingpanel.IndicatorManager.ServerType server_type) {
public Indicator (Wingpanel.ServerType server_type) {
GLib.Intl.bindtextdomain (Constants.GETTEXT_PACKAGE, Constants.LOCALEDIR);
GLib.Intl.bind_textdomain_codeset (Constants.GETTEXT_PACKAGE, "UTF-8");

Expand Down Expand Up @@ -152,7 +152,7 @@ public class Keyboard.Indicator : Wingpanel.Indicator {
}
}

public Wingpanel.Indicator? get_indicator (Module module, Wingpanel.IndicatorManager.ServerType server_type) {
public Wingpanel.Indicator? get_indicator (Module module, Wingpanel.ServerType server_type) {
debug ("Activating Keyboard Indicator");
var indicator = new Keyboard.Indicator (server_type);
return indicator;
Expand Down
4 changes: 2 additions & 2 deletions src/PopoverWidget.vala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class Keyboard.Widgets.PopoverWidget : Gtk.Box {

public signal void updated ();

public Wingpanel.IndicatorManager.ServerType server_type { get; construct; }
public Wingpanel.ServerType server_type { get; construct; }

private GLib.Settings settings;
#if IBUS_1_5_19
Expand All @@ -42,7 +42,7 @@ public class Keyboard.Widgets.PopoverWidget : Gtk.Box {

private IBus.Bus bus;

public PopoverWidget (Wingpanel.IndicatorManager.ServerType server_type) {
public PopoverWidget (Wingpanel.ServerType server_type) {
Object (server_type: server_type);
}

Expand Down