Fixed linting issues
This commit is contained in:
@@ -149,7 +149,7 @@ namespace SwayNotificationCenter {
|
|||||||
public void add_widgets () {
|
public void add_widgets () {
|
||||||
// Remove all widgets
|
// Remove all widgets
|
||||||
foreach (var widget in widgets.data) {
|
foreach (var widget in widgets.data) {
|
||||||
box.remove(widget);
|
box.remove (widget);
|
||||||
}
|
}
|
||||||
widgets.remove_range (0, widgets.length);
|
widgets.remove_range (0, widgets.length);
|
||||||
|
|
||||||
|
@@ -153,8 +153,8 @@ namespace SwayNotificationCenter {
|
|||||||
|
|
||||||
/** Reloads the config file */
|
/** Reloads the config file */
|
||||||
public void reload_config () throws Error {
|
public void reload_config () throws Error {
|
||||||
print("\n");
|
print ("\n");
|
||||||
message("Reloading config\n");
|
message ("Reloading config\n");
|
||||||
ConfigModel.reload_config ();
|
ConfigModel.reload_config ();
|
||||||
noti_daemon.control_center.add_widgets ();
|
noti_daemon.control_center.add_widgets ();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user