aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-02-19 16:08:28 +0100
committerdec05eba <dec05eba@protonmail.com>2023-02-19 16:08:28 +0100
commit537668081ff618a976f9a98e65fcfcdf7935500b (patch)
tree8de4f8e4eeaf0e67342052bae7e82b2375c228eb /src/main.cpp
parent6194d66356658668f76ea5f786bcd4cf0028dfd9 (diff)
Readd notification for saving video
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9e60ab6..8d70ad9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1053,7 +1053,7 @@ static gboolean on_start_replay_button_click(GtkButton *button, gpointer userdat
static gboolean on_replay_save_button_click(GtkButton *button, gpointer userdata) {
GtkApplication *app = (GtkApplication*)userdata;
kill(gpu_screen_recorder_process, SIGUSR1);
- //show_notification(app, "GPU Screen Recorder", "Saved replay", G_NOTIFICATION_PRIORITY_NORMAL);
+ show_notification(app, "GPU Screen Recorder", "Saved replay", G_NOTIFICATION_PRIORITY_NORMAL);
return true;
}
@@ -1071,7 +1071,7 @@ static gboolean on_start_recording_button_click(GtkButton *button, gpointer user
if(exit_success) {
std::string notification_body = std::string("The recording was saved to ") + record_file_current_filename;
- //show_notification(app, "GPU Screen Recorder", notification_body.c_str(), G_NOTIFICATION_PRIORITY_NORMAL);
+ show_notification(app, "GPU Screen Recorder", notification_body.c_str(), G_NOTIFICATION_PRIORITY_NORMAL);
} else {
std::string notification_body = std::string("Failed to save the recording to ") + record_file_current_filename;
show_notification(app, "GPU Screen Recorder", notification_body.c_str(), G_NOTIFICATION_PRIORITY_URGENT);