From 561072d209aeab64e950f16bcdce602cf9ce6ad5 Mon Sep 17 00:00:00 2001 From: Burt P Date: Sun, 7 Jul 2019 14:09:59 -0500 Subject: Use SVG for distro icons Signed-off-by: Burt P --- modules/computer.c | 2 +- pixmaps/distros/arch.png | Bin 851 -> 0 bytes pixmaps/distros/arch.svg | 1 + pixmaps/distros/clear-linux-os.png | Bin 846 -> 0 bytes pixmaps/distros/clear-linux-os.svg | 1 + pixmaps/distros/debian.png | Bin 842 -> 0 bytes pixmaps/distros/debian.svg | 1 + pixmaps/distros/fedora.png | Bin 1067 -> 0 bytes pixmaps/distros/fedora.svg | 1 + pixmaps/distros/kubuntu.svg | 1 + pixmaps/distros/ubuntu.png | Bin 891 -> 0 bytes pixmaps/distros/ubuntu.svg | 1 + 12 files changed, 7 insertions(+), 1 deletion(-) delete mode 100644 pixmaps/distros/arch.png create mode 100644 pixmaps/distros/arch.svg delete mode 100644 pixmaps/distros/clear-linux-os.png create mode 100644 pixmaps/distros/clear-linux-os.svg delete mode 100644 pixmaps/distros/debian.png create mode 100644 pixmaps/distros/debian.svg delete mode 100644 pixmaps/distros/fedora.png create mode 100644 pixmaps/distros/fedora.svg create mode 100644 pixmaps/distros/kubuntu.svg delete mode 100644 pixmaps/distros/ubuntu.png create mode 100644 pixmaps/distros/ubuntu.svg diff --git a/modules/computer.c b/modules/computer.c index faa4198e..cc3e9be3 100644 --- a/modules/computer.c +++ b/modules/computer.c @@ -552,7 +552,7 @@ gchar *callback_os(void) info_set_view_type(info, SHELL_VIEW_DETAIL); distro_icon = computer->os->distrocode - ? idle_free(g_strdup_printf("distros/%s.png", + ? idle_free(g_strdup_printf("distros/%s.svg", computer->os->distrocode)) : NULL; diff --git a/pixmaps/distros/arch.png b/pixmaps/distros/arch.png deleted file mode 100644 index e2800c0e..00000000 Binary files a/pixmaps/distros/arch.png and /dev/null differ diff --git a/pixmaps/distros/arch.svg b/pixmaps/distros/arch.svg new file mode 100644 index 00000000..350295b8 --- /dev/null +++ b/pixmaps/distros/arch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pixmaps/distros/clear-linux-os.png b/pixmaps/distros/clear-linux-os.png deleted file mode 100644 index 29938a47..00000000 Binary files a/pixmaps/distros/clear-linux-os.png and /dev/null differ diff --git a/pixmaps/distros/clear-linux-os.svg b/pixmaps/distros/clear-linux-os.svg new file mode 100644 index 00000000..87cd71e3 --- /dev/null +++ b/pixmaps/distros/clear-linux-os.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pixmaps/distros/debian.png b/pixmaps/distros/debian.png deleted file mode 100644 index fe63aca6..00000000 Binary files a/pixmaps/distros/debian.png and /dev/null differ diff --git a/pixmaps/distros/debian.svg b/pixmaps/distros/debian.svg new file mode 100644 index 00000000..506556af --- /dev/null +++ b/pixmaps/distros/debian.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pixmaps/distros/fedora.png b/pixmaps/distros/fedora.png deleted file mode 100644 index 369d14b8..00000000 Binary files a/pixmaps/distros/fedora.png and /dev/null differ diff --git a/pixmaps/distros/fedora.svg b/pixmaps/distros/fedora.svg new file mode 100644 index 00000000..ae0153ca --- /dev/null +++ b/pixmaps/distros/fedora.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pixmaps/distros/kubuntu.svg b/pixmaps/distros/kubuntu.svg new file mode 100644 index 00000000..39626d9d --- /dev/null +++ b/pixmaps/distros/kubuntu.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pixmaps/distros/ubuntu.png b/pixmaps/distros/ubuntu.png deleted file mode 100644 index 4a8950a1..00000000 Binary files a/pixmaps/distros/ubuntu.png and /dev/null differ diff --git a/pixmaps/distros/ubuntu.svg b/pixmaps/distros/ubuntu.svg new file mode 100644 index 00000000..c7a7ed06 --- /dev/null +++ b/pixmaps/distros/ubuntu.svg @@ -0,0 +1 @@ + \ No newline at end of file -- cgit v1.2.3