mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Make batch copy copy IDs instead of Refs
This commit is contained in:
@@ -87,7 +87,7 @@ template FlattoolGuiWindow : Adw.ApplicationWindow {
|
||||
Button batch_copy_button {
|
||||
icon-name: "edit-copy-symbolic";
|
||||
label: _("Copy");
|
||||
tooltip-text: _("Copy Selected Flatpaks' Ref Seperated by a New Line");
|
||||
tooltip-text: _("Copy Selected Flatpaks' IDs Seperated by a New Line");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -563,7 +563,7 @@ class FlattoolGuiWindow(Adw.ApplicationWindow):
|
||||
to_copy = ""
|
||||
for i in range(len(self.selected_host_flatpak_indexes)):
|
||||
host_flatpak_index = self.selected_host_flatpak_indexes[i]
|
||||
to_copy += f"{(self.host_flatpaks[host_flatpak_index][8])}\n"
|
||||
to_copy += f"{(self.host_flatpaks[host_flatpak_index][2])}\n"
|
||||
print(to_copy)
|
||||
self.clipboard.set(to_copy)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user