diff --git a/src/tint2conf/properties_rw.c b/src/tint2conf/properties_rw.c index ab75c1a..ad217a3 100644 --- a/src/tint2conf/properties_rw.c +++ b/src/tint2conf/properties_rw.c @@ -900,7 +900,7 @@ void add_entry(char *key, char *value) } /* Battery */ - else if (strcmp(key, "systray") == 0) { + else if (strcmp(key, "battery") == 0) { // Obsolete option config_has_battery = 1; config_battery_enabled = atoi(value); @@ -1466,4 +1466,4 @@ char *get_action(GtkWidget *combo) if (gtk_combo_box_get_active(GTK_COMBO_BOX(combo)) == 10) return "prev_task"; return "none"; -} \ No newline at end of file +}