wireshark/debian/patches/16_licence_about_location.patch
Balint Reczey d81f907aea debian: Refresh patches
Change-Id: Ib31e658cfa87f31fad9750f1ba2cf326d0944689
Signed-off-by: Balint Reczey <balint.reczey@canonical.com>
Reviewed-on: https://code.wireshark.org/review/22970
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-08-07 07:13:16 +00:00

27 lines
778 B
Diff

Description: Change location of license file in about dialog
Forwarded: not-needed
Author: Frederic Peters <fpeters@debian.org>
--- a/ui/gtk/about_dlg.c
+++ b/ui/gtk/about_dlg.c
@@ -522,7 +522,7 @@
#if defined(_WIN32)
absolute_path = get_datafile_path("COPYING.txt");
#else
- absolute_path = get_datafile_path("COPYING");
+ absolute_path = get_datafile_path("ABOUT.GPL");
#endif
page = text_page_new(absolute_path);
--- a/ui/qt/about_dialog.cpp
+++ b/ui/qt/about_dialog.cpp
@@ -335,7 +335,7 @@
#if defined(_WIN32)
f_license.setFileName(get_datafile_path("COPYING.txt"));
#else
- f_license.setFileName(get_datafile_path("COPYING"));
+ f_license.setFileName(get_datafile_path("ABOUT.GPL"));
#endif
f_license.open(QFile::ReadOnly | QFile::Text);