chore(swappy): rename swapp shot to swappshot

This commit is contained in:
Jeremy Attali 2019-12-23 16:57:23 -05:00
parent b90500ed34
commit 72374ebf55

View File

@ -137,9 +137,9 @@ static void action_save_area_to_file(struct swappy_state *state) {
c_time_string = ctime(&current_time);
c_time_string[strlen(c_time_string) - 1] = '\0';
char path[MAX_PATH];
snprintf(path, MAX_PATH, "%s/%s %s", state->storage_path, "Swapp Shot",
snprintf(path, MAX_PATH, "%s/%s %s", state->storage_path, "Swappshot",
c_time_string);
g_info("saving swapp shot to: \"%s\"", path);
g_info("saving swappshot to: \"%s\"", path);
gdk_pixbuf_savev(pixbuf, path, "png", NULL, NULL, &error);
if (error != NULL) {
@ -148,7 +148,7 @@ static void action_save_area_to_file(struct swappy_state *state) {
}
char message[MAX_PATH];
snprintf(message, MAX_PATH, "Saved Swapp Shot to: %s\n", path);
snprintf(message, MAX_PATH, "Saved Swappshot to: %s\n", path);
notification_send("Swappy", message);
}