0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/komorebi/extra-wallpaper-creator-OnScreen-InitialPage.vala.patch
2022-11-28 19:19:47 +00:00

30 lines
1.5 KiB
Diff

--- a/extra/wallpaper-creator/OnScreen/InitialPage.vala
+++ b/extra/wallpaper-creator/OnScreen/InitialPage.vala
@@ -39,7 +39,7 @@
Label chooseFileLabel = new Label("Where is the image located?");
Box locationBox = new Box(Orientation.HORIZONTAL, 10);
- Entry locationEntry = new Entry() { placeholder_text = "/Users/cheesecakeufo/my_picture.jpg" };
+ Entry locationEntry = new Entry() { placeholder_text = "@TERMUX_HOME@/my_picture.jpg" };
FileChooserButton chooseFileButton = new FileChooserButton("Choose File", Gtk.FileChooserAction.OPEN);
Revealer revealer = new Revealer();
@@ -105,7 +105,7 @@
chooseFileButton.set_filter (imageFilter);
chooseFileLabel.label = "Where is the image located?";
- locationEntry.placeholder_text = "/Users/cheesecakeufo/my_picture.jpg";
+ locationEntry.placeholder_text = "@TERMUX_HOME@/my_picture.jpg";
locationEntry.set_sensitive(false);
revealer.set_reveal_child(false);
@@ -127,7 +127,7 @@
chooseFileButton.set_filter (videoFilter);
chooseFileLabel.label = "Where is the video located?";
- locationEntry.placeholder_text = "/Users/cheesecakeufo/my_video.mp4";
+ locationEntry.placeholder_text = "@TERMUX_HOME@/my_video.mp4";
locationEntry.set_sensitive(false);
revealer.set_reveal_child(true);