From a7f3b2061861fc9838d11662d4f790e3fa265f4e Mon Sep 17 00:00:00 2001 From: Alan Beveridge Date: Sat, 29 Jun 2024 15:33:36 -0700 Subject: [PATCH] Update meson for removal of pixellated icon Also fix typo in comments. --- data/icons/meson.build | 5 ----- src/raider-window.c | 6 +++--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/data/icons/meson.build b/data/icons/meson.build index 8e8ffcb..6130fab 100644 --- a/data/icons/meson.build +++ b/data/icons/meson.build @@ -12,9 +12,4 @@ install_data( install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir) ) -png_dir = join_paths('hicolor', '256x256', 'apps') -install_data( - join_paths(png_dir, ('@0@.png').format(application_id)), - install_dir: join_paths(get_option('datadir'), 'icons', png_dir) -) diff --git a/src/raider-window.c b/src/raider-window.c index 07aacce..d3cfad3 100644 --- a/src/raider-window.c +++ b/src/raider-window.c @@ -308,11 +308,11 @@ gboolean raider_window_open_file(GFile *file, gpointer data, gchar *title) g_object_unref(file); return TRUE; } - /* Files limit is divided by two because the file count will be double when the processes are launched. */ - // TODO: May be inaccurate. + // TODO: The file limit divided by two may no longer be needed since the redo of the shredding backend. if (window->file_count >= (get_open_files_limit() / 2)) { gchar *message = g_strdup(_("Cannot load more files")); + printf("%s\n", message); raider_window_show_toast(window, message); g_free(message); @@ -337,7 +337,7 @@ gboolean raider_window_open_file(GFile *file, gpointer data, gchar *title) } /********** End of file opening section. **********/ -/******** Asychronously launch shred on all files. *********/ +/******** Asynchronously launch shred on all files. *********/ static void raider_window_shred_files_finish(GObject *source_object, GAsyncResult *res, gpointer user_data) { RaiderWindow *window = RAIDER_WINDOW(source_object);