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,12 +4,12 @@
*/

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

private EndSessionDialog? current_dialog;
private PopoverWidget? popover_widget;

public Indicator (Wingpanel.IndicatorManager.ServerType server_type) {
public Indicator (Wingpanel.ServerType server_type) {
Object (
code_name: "quick-settings",
server_type: server_type,
Expand Down Expand Up @@ -119,6 +119,6 @@ public class QuickSettings.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) {
return new QuickSettings.Indicator (server_type);
}
4 changes: 2 additions & 2 deletions src/PopoverWidget.vala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

public class QuickSettings.PopoverWidget : Gtk.Box {
public Wingpanel.IndicatorManager.ServerType server_type { get; construct; }
public Wingpanel.ServerType server_type { get; construct; }

private const string FDO_ACCOUNTS_NAME = "org.freedesktop.Accounts";
private const string FDO_ACCOUNTS_PATH = "/org/freedesktop/Accounts";
Expand All @@ -15,7 +15,7 @@ public class QuickSettings.PopoverWidget : Gtk.Box {
private UserList accounts_view;
private Gtk.Button current_user_button;

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

Expand Down
4 changes: 2 additions & 2 deletions src/Widgets/SessionBox.vala
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
*/

public class QuickSettings.SessionBox : Gtk.Box {
public Wingpanel.IndicatorManager.ServerType server_type { get; construct; }
public Wingpanel.ServerType server_type { get; construct; }

private Gtk.Popover? popover;

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

Expand Down