summarylogtreecommitdiffstats
path: root/002-fix-other-icon-path.patch
diff options
context:
space:
mode:
Diffstat (limited to '002-fix-other-icon-path.patch')
-rw-r--r--002-fix-other-icon-path.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/002-fix-other-icon-path.patch b/002-fix-other-icon-path.patch
new file mode 100644
index 000000000000..6a6b1b0db5b5
--- /dev/null
+++ b/002-fix-other-icon-path.patch
@@ -0,0 +1,21 @@
+diff '--color=auto' --unified --recursive --text src/auto-cpufreq-2.0.0/auto_cpufreq/gui/objects.py src.new/auto-cpufreq-2.0.0/auto_cpufreq/gui/objects.py
+--- src/auto-cpufreq-2.0.0/auto_cpufreq/gui/objects.py
++++ src.new/auto-cpufreq-2.0.0/auto_cpufreq/gui/objects.py
+@@ -221,7 +221,7 @@ class AboutDialog(Gtk.Dialog):
+ self.add_button("Close", Gtk.ResponseType.CLOSE)
+ self.set_default_size(400, 350)
+ img_buffer = GdkPixbuf.Pixbuf.new_from_file_at_scale(
+- filename="/usr/local/share/auto-cpufreq/images/icon.png",
++ filename="/usr/share/pixmaps/auto-cpufreq.png",
+ width=150,
+ height=150,
+ preserve_aspect_ratio=True)
+@@ -297,4 +297,4 @@ class DaemonNotRunningView(Gtk.Box):
+ )
+ dialog.format_secondary_text(f"The following error occured:\n{e}")
+ dialog.run()
+- dialog.destroy()
+\ No newline at end of file
++ dialog.destroy()
+--
+2.42.0