Skip to content

Commit

Permalink
Update meson for removal of pixellated icon
Browse files Browse the repository at this point in the history
Also fix typo in comments.
  • Loading branch information
ADBeveridge committed Jun 29, 2024
1 parent 9d5c698 commit a7f3b20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions data/icons/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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, ('@[email protected]').format(application_id)),
install_dir: join_paths(get_option('datadir'), 'icons', png_dir)
)

6 changes: 3 additions & 3 deletions src/raider-window.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);
Expand Down

0 comments on commit a7f3b20

Please sign in to comment.