summaryrefslogtreecommitdiffstats
path: root/deskutils/gnome-utils/files/patch-logview_logview.c
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/gnome-utils/files/patch-logview_logview.c')
-rw-r--r--deskutils/gnome-utils/files/patch-logview_logview.c26
1 files changed, 21 insertions, 5 deletions
diff --git a/deskutils/gnome-utils/files/patch-logview_logview.c b/deskutils/gnome-utils/files/patch-logview_logview.c
index 4ac243d34..f3991b236 100644
--- a/deskutils/gnome-utils/files/patch-logview_logview.c
+++ b/deskutils/gnome-utils/files/patch-logview_logview.c
@@ -1,6 +1,22 @@
---- logview/logview.c.orig Tue Nov 30 00:29:01 2004
-+++ logview/logview.c Tue Nov 30 00:30:44 2004
-@@ -656,7 +656,7 @@
+--- logview/logview.c.orig Mon Jul 11 17:31:04 2005
++++ logview/logview.c Mon Jul 11 17:31:50 2005
+@@ -815,6 +815,7 @@ FileSelectResponse (GtkWidget * chooser,
+ {
+ char *f;
+ LogviewWindow *logview = data;
++ Log *tl;
+
+ gtk_widget_hide (GTK_WIDGET (chooser));
+ if (response != GTK_RESPONSE_OK)
+@@ -834,7 +835,6 @@ FileSelectResponse (GtkWidget * chooser,
+ }
+ }
+
+- Log *tl;
+ if ((tl = OpenLogFile (f, TRUE)) != NULL)
+ logview_add_log (logview, tl);
+ }
+@@ -930,7 +930,7 @@ open_databases (void)
if ( ! found) {
g_snprintf (full_name, sizeof (full_name),
@@ -9,7 +25,7 @@
if (access (full_name, R_OK) == 0) {
found = TRUE;
g_free (cfg->regexp_db_path);
-@@ -678,7 +678,7 @@
+@@ -952,7 +952,7 @@ open_databases (void)
if ( ! found) {
g_snprintf (full_name, sizeof (full_name),
@@ -18,7 +34,7 @@
if (access (full_name, R_OK) == 0) {
found = TRUE;
g_free (cfg->descript_db_path);
-@@ -709,7 +709,7 @@
+@@ -983,7 +983,7 @@ open_databases (void)
if ( ! found) {
g_snprintf (full_name, sizeof (full_name),