xarchiver.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
--- a/src/window.c 2022-07-03 19:33:57.181805213 +0300
|
||||
+++ b/src/window.c 2022-07-03 19:32:30.683186090 +0300
|
||||
@@ -2597,6 +2597,7 @@
|
||||
|
||||
gboolean xa_treeview_mouse_button_press (GtkWidget *widget, GdkEventButton *event, XArchive *archive)
|
||||
{
|
||||
+ static guint32 last_button1;
|
||||
XEntry *entry;
|
||||
GtkTreePath *path;
|
||||
GtkTreeIter iter;
|
||||
@@ -2620,14 +2621,17 @@
|
||||
|
||||
if (event->button == 1)
|
||||
{
|
||||
- GdkModifierType state;
|
||||
-
|
||||
- gdk_event_get_state((GdkEvent *) event, &state);
|
||||
-
|
||||
- if (gtk_tree_selection_iter_is_selected(selection, &iter) && ((state & (GDK_SHIFT_MASK | GDK_CONTROL_MASK)) == 0))
|
||||
- return TRUE;
|
||||
+ if (event->time - last_button1 > 250)
|
||||
+ {
|
||||
+ last_button1 = event->time;
|
||||
+
|
||||
+ if (gtk_tree_selection_iter_is_selected(selection, &iter) && ((event->state & (GDK_SHIFT_MASK | GDK_CONTROL_MASK)) == 0))
|
||||
+ return TRUE;
|
||||
+ else
|
||||
+ return FALSE;
|
||||
+ }
|
||||
else
|
||||
- return FALSE;
|
||||
+ event->button = 2;
|
||||
}
|
||||
|
||||
if (!gtk_tree_selection_iter_is_selected(selection, &iter))
|
||||
@@ -1,16 +0,0 @@
|
||||
--- xarchiver-0.5.3.orig/xarchiver.desktop.in 2014-05-12 01:08:12.159131913 +0000
|
||||
+++ xarchiver-0.5.3/xarchiver.desktop.in 2014-05-12 01:09:02.585526393 +0000
|
||||
@@ -4,11 +4,11 @@
|
||||
_Name=Xarchiver
|
||||
_Comment=A GTK+2 only archive manager
|
||||
_GenericName=Archive manager
|
||||
-Exec=xarchiver
|
||||
+Exec=xarchiver %f
|
||||
Icon=xarchiver
|
||||
Terminal=false
|
||||
Type=Application
|
||||
X-MultipleArgs=false
|
||||
Categories=GTK;Archiving;Utility;
|
||||
StartupNotify=true
|
||||
-MimeType=application/x-arj;application/arj;application/x-bzip;application/x-bzip-compressed-tar;application/x-gzip;application/x-rar;application/x-rar-compressed;application/x-tar;application/x-zip;application/x-zip-compressed;application/zip;multipart/x-zip;application/x-7z-compressed;application/x-compressed-tar;application/x-bzip2;application/x-bzip2-compressed-tar;
|
||||
+MimeType=application/x-arj;application/arj;application/x-bzip;application/x-bzip-compressed-tar;application/x-gzip;application/x-rar;application/x-rar-compressed;application/x-tar;application/x-zip;application/x-zip-compressed;application/zip;application/x-7z-compressed;application/x-compressed-tar;application/x-bzip2;application/x-bzip2-compressed-tar;application/x-lzma;application/x-lzma-compressed-tar;application/x-lzop;application/x-lzop-compressed-tar;application/x-xz;application/x-xz-compressed-tar;application/x-deb;application/x-rpm;
|
||||
@@ -17,7 +17,7 @@
|
||||
<Description>
|
||||
GTK+3 frontend to 7z, zip, rar, tar, bzip2, gzip, arj, lha, rpm and deb(open and extract only). Xarchiver allows you to create, add, extract and delete files in the above formats. 7z, zip, rar, arj password protected archives are supported.
|
||||
</Description>
|
||||
<Archive sha1sum="e7576d43d44cbb8dcede71aa1d39f5c319f1134c" type="targz">https://github.com/ib/xarchiver/archive/0.5.4.17.tar.gz</Archive>
|
||||
<Archive sha1sum="e6be58a958117c23dc3cfe963d733bd114f3046b" type="targz">https://github.com/ib/xarchiver/archive/refs/tags/0.5.4.18.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
@@ -28,7 +28,7 @@
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level="1">xarchiver-0.5.3-add-mime-types.patch</Patch> -->
|
||||
<Patch level="1">Re-enable_left_mouse_button_double_clicks.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -62,6 +62,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2022-07-03</Date>
|
||||
<Version>0.5.4.18</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Pisilinux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2021-01-25</Date>
|
||||
<Version>0.5.4.17</Version>
|
||||
|
||||
Reference in New Issue
Block a user