From 22f47f873af60ffb1646cd815636fb3c859a1f79 Mon Sep 17 00:00:00 2001 From: Peter Hatina Date: Fri, 26 Jun 2015 13:13:36 +0200 Subject: [PATCH] Disable overlay scrolling --- wireshark-0011-Disable-overlay-scrolling.patch | 14 ++++++++++++++ wireshark.spec | 10 ++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 wireshark-0011-Disable-overlay-scrolling.patch diff --git a/wireshark-0011-Disable-overlay-scrolling.patch b/wireshark-0011-Disable-overlay-scrolling.patch new file mode 100644 index 0000000..866977c --- /dev/null +++ b/wireshark-0011-Disable-overlay-scrolling.patch @@ -0,0 +1,14 @@ +diff --git a/ui/gtk/gui_utils.c b/ui/gtk/gui_utils.c +index 66f756f..f05f8de 100644 +--- a/ui/gtk/gui_utils.c ++++ b/ui/gtk/gui_utils.c +@@ -770,6 +770,9 @@ setup_scrolled_window(GtkWidget *scrollw) + { + gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrollw), + GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); ++#if GTK_CHECK_VERSION(3,16,0) ++ gtk_scrolled_window_set_overlay_scrolling(GTK_SCROLLED_WINDOW(scrollw), FALSE); ++#endif /* OVERLAY_SCROLLING */ + + scrolled_windows = g_list_append(scrolled_windows, scrollw); + diff --git a/wireshark.spec b/wireshark.spec index 6cdcf85..4b32d59 100644 --- a/wireshark.spec +++ b/wireshark.spec @@ -21,7 +21,7 @@ Summary: Network traffic analyzer Name: wireshark Version: 1.12.6 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL+ Group: Applications/Internet Source0: http://wireshark.org/download/src/%{name}-%{version}.tar.bz2 @@ -44,7 +44,8 @@ Patch7: wireshark-0007-Install-autoconf-related-file.patch Patch8: wireshark-0008-move-default-temporary-directory-to-var-tmp.patch # Fedora-specific Patch9: wireshark-0009-Fix-paths-in-a-wireshark.desktop-file.patch -Patch10: wireshark-0010-gdk.patch +Patch10: wireshark-0010-gdk.patch +Patch11: wireshark-0011-Disable-overlay-scrolling.patch Url: http://www.wireshark.org/ BuildRequires: libpcap-devel >= 0.9 @@ -166,6 +167,7 @@ Cflags: -I\${includedir}" > wireshark.pc.in %patch8 -p1 -b .tmp_dir %patch9 -p1 -b .fix_paths %patch10 -p1 -b .gdk +%patch11 -p1 -b .overlay_scrolling %build %ifarch s390 s390x sparcv9 sparc64 @@ -413,6 +415,10 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %{_datadir}/aclocal/* %changelog +* Fri Jun 26 2015 Peter Hatina - 1.12.6-3 +- Disable overlay scrolling in main window +- Resolves: rhbz#1235830 + * Fri Jun 26 2015 Peter Hatina - 1.12.6-2 - Add symlink plugins/current -> plugins/%{version}