summarylogtreecommitdiffstats
path: root/002-fix-other-icon-path.patch
diff options
context:
space:
mode:
authorParmjot Singh2023-10-25 21:02:15 +1300
committerParmjot Singh2023-10-25 21:08:12 +1300
commit2684ee47bb332223b6513b639b017a6cd369098e (patch)
tree31b45cb8bb8a14d485d89e62d9e883e1ed15557f /002-fix-other-icon-path.patch
parentae51e12558c39c89166f6634df087b5783189827 (diff)
downloadaur-2684ee47bb332223b6513b639b017a6cd369098e.tar.gz
fix path for icon
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