From b3863d7911440b702014f55dad7bead5877e48fb Mon Sep 17 00:00:00 2001 From: Ricardo Mones Date: Wed, 13 Mar 2013 15:59:52 +0000 Subject: [PATCH] 2013-03-13 [mones] 3.9.0cvs122 * src/plugins/pdf_viewer/poppler_viewer.c Fix crash closing PDF information alert panel and use a better label than the plugin name for the dialog --- ChangeLog | 6 ++++++ PATCHSETS | 1 + configure.ac | 2 +- src/plugins/pdf_viewer/poppler_viewer.c | 11 +++-------- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 54c34af2b..b5dfe0dee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-03-13 [mones] 3.9.0cvs122 + + * src/plugins/pdf_viewer/poppler_viewer.c + Fix crash closing PDF information alert panel and use + a better label than the plugin name for the dialog + 2013-03-13 [colin] 3.9.0cvs121 * src/plugins/fancy/fancy_prefs.c diff --git a/PATCHSETS b/PATCHSETS index 24a102189..2eb07d293 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -4619,3 +4619,4 @@ ( cvs diff -u -r 1.1.2.5 -r 1.1.2.6 src/plugins/fancy/fancy_prefs.c; cvs diff -u -r 1.1.2.3 -r 1.1.2.4 src/plugins/fancy/fancy_prefs.h; cvs diff -u -r 1.1.2.6 -r 1.1.2.7 src/plugins/fancy/fancy_viewer.c; cvs diff -u -r 1.1.2.5 -r 1.1.2.6 src/plugins/fancy/fancy_viewer.h; ) > 3.9.0cvs119.patchset ( cvs diff -u -r 1.1.2.6 -r 1.1.2.7 src/plugins/fancy/fancy_prefs.c; cvs diff -u -r 1.1.2.4 -r 1.1.2.5 src/plugins/fancy/fancy_prefs.h; cvs diff -u -r 1.1.2.7 -r 1.1.2.8 src/plugins/fancy/fancy_viewer.c; cvs diff -u -r 1.1.2.6 -r 1.1.2.7 src/plugins/fancy/fancy_viewer.h; ) > 3.9.0cvs120.patchset ( cvs diff -u -r 1.1.2.7 -r 1.1.2.8 src/plugins/fancy/fancy_prefs.c; ) > 3.9.0cvs121.patchset +( cvs diff -u -r 1.1.2.1 -r 1.1.2.2 src/plugins/pdf_viewer/poppler_viewer.c; ) > 3.9.0cvs122.patchset diff --git a/configure.ac b/configure.ac index 58b5fadf6..0603a44e2 100644 --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,7 @@ MINOR_VERSION=9 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=121 +EXTRA_VERSION=122 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/plugins/pdf_viewer/poppler_viewer.c b/src/plugins/pdf_viewer/poppler_viewer.c index 60f890925..03b0372c6 100644 --- a/src/plugins/pdf_viewer/poppler_viewer.c +++ b/src/plugins/pdf_viewer/poppler_viewer.c @@ -1162,14 +1162,9 @@ static void pdf_viewer_show_document_index_cb(GtkButton *button, PdfViewer *view static void pdf_viewer_button_document_info_cb(GtkButton *button, PdfViewer *viewer) { - gchar *buf; - buf = g_strdup_printf(_("PDF Viewer Plugin")); - - alertpanel_full(buf, NULL, GTK_STOCK_CLOSE, NULL, NULL, - FALSE,(GtkWidget *) pdf_viewer_fill_info_table(viewer), - ALERT_NOTICE, - G_ALERTDEFAULT); - g_free(buf); + alertpanel_full(_("PDF properties"), NULL, GTK_STOCK_CLOSE, NULL, NULL, + FALSE, (GtkWidget *) pdf_viewer_fill_info_table(viewer), + ALERT_NOTICE, G_ALERTDEFAULT); } /* -- 2.25.1