mirror of
https://github.com/jtheoof/swappy.git
synced 2024-08-16 18:20:45 +03:00
chore(swappy): rename swapp shot to swappshot
This commit is contained in:
parent
b90500ed34
commit
72374ebf55
@ -137,9 +137,9 @@ static void action_save_area_to_file(struct swappy_state *state) {
|
||||
c_time_string = ctime(¤t_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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user