[-]
[+]
|
Changed |
wireshark.changes
|
|
[-]
[+]
|
Changed |
wireshark.spec
^
|
|
[-]
[+]
|
Deleted |
wireshark-1.2.0-disable-warning-dialog.patch
^
|
@@ -1,41 +0,0 @@
-Index: gtk/main.c
-===================================================================
---- gtk/main.c.orig
-+++ gtk/main.c
-@@ -1246,13 +1246,13 @@ set_display_filename(capture_file *cf)
- }
-
- GtkWidget *close_dlg = NULL;
--
-+/*
- static void
- priv_warning_dialog_cb(gpointer dialog, gint btn _U_, gpointer data _U_)
- {
- recent.privs_warn_if_elevated = !simple_dialog_check_get(dialog);
- }
--
-+*/
- #ifdef _WIN32
- static void
- npf_warning_dialog_cb(gpointer dialog, gint btn _U_, gpointer data _U_)
-@@ -1792,9 +1792,10 @@ check_and_warn_user_startup(gchar *cf_na
- #endif
- {
- gchar *cur_user, *cur_group;
-- gpointer priv_warning_dialog;
-+// gpointer priv_warning_dialog;
-
- /* Tell the user not to run as root. */
-+/*
- if (running_with_special_privs() && recent.privs_warn_if_elevated) {
- cur_user = get_cur_username();
- cur_group = get_cur_groupname();
-@@ -1806,7 +1807,7 @@ check_and_warn_user_startup(gchar *cf_na
- simple_dialog_check_set(priv_warning_dialog, "Don't show this message again.");
- simple_dialog_set_cb(priv_warning_dialog, priv_warning_dialog_cb, NULL);
- }
--
-+*/
- #ifdef _WIN32
- /* Warn the user if npf.sys isn't loaded. */
- if (!stdin_capture && !cf_name && !npf_sys_is_running() && recent.privs_warn_if_no_npf && get_os_major_version() >= 6) {
|
[-]
[+]
|
Added |
wireshark-1.6.0-disable-warning-dialog.patch
^
|
@@ -0,0 +1,39 @@
+--- gtk/main.c.orig 2011-06-07 17:59:29.000000000 +0200
++++ gtk/main.c 2011-06-12 19:54:26.414533419 +0200
+@@ -1380,13 +1380,13 @@
+ }
+
+ static GtkWidget *close_dlg = NULL;
+-
++/*
+ static void
+ priv_warning_dialog_cb(gpointer dialog, gint btn _U_, gpointer data _U_)
+ {
+ recent.privs_warn_if_elevated = !simple_dialog_check_get(dialog);
+ }
+-
++*/
+ #ifdef _WIN32
+ static void
+ npf_warning_dialog_cb(gpointer dialog, gint btn _U_, gpointer data _U_)
+@@ -1966,9 +1966,10 @@
+ #endif
+ {
+ gchar *cur_user, *cur_group;
+- gpointer priv_warning_dialog;
++// gpointer priv_warning_dialog;
+
+ /* Tell the user not to run as root. */
++/*
+ if (running_with_special_privs() && recent.privs_warn_if_elevated) {
+ cur_user = get_cur_username();
+ cur_group = get_cur_groupname();
+@@ -1980,7 +1981,7 @@
+ simple_dialog_check_set(priv_warning_dialog, "Don't show this message again.");
+ simple_dialog_set_cb(priv_warning_dialog, priv_warning_dialog_cb, NULL);
+ }
+-
++*/
+ #ifdef _WIN32
+ /* Warn the user if npf.sys isn't loaded. */
+ if (!stdin_capture && !cf_name && !npf_sys_is_running() && recent.privs_warn_if_no_npf && get_os_major_version() >= 6) {
|