diff options
author | Piers Cornwell <piers@myrealbox.com> | 2004-01-05 06:12:11 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-05 06:12:11 +0800 |
commit | 4dd3ca40e89ad2ce3ad67b8732691766d862587a (patch) | |
tree | e922d6369d377eec35615f563be7aa5977aa3b0b /embed/mozilla | |
parent | 488df92059bf5fc9aaf70f88d5c4ece00129d3d5 (diff) | |
download | gsoc2013-epiphany-4dd3ca40e89ad2ce3ad67b8732691766d862587a.tar gsoc2013-epiphany-4dd3ca40e89ad2ce3ad67b8732691766d862587a.tar.gz gsoc2013-epiphany-4dd3ca40e89ad2ce3ad67b8732691766d862587a.tar.bz2 gsoc2013-epiphany-4dd3ca40e89ad2ce3ad67b8732691766d862587a.tar.lz gsoc2013-epiphany-4dd3ca40e89ad2ce3ad67b8732691766d862587a.tar.xz gsoc2013-epiphany-4dd3ca40e89ad2ce3ad67b8732691766d862587a.tar.zst gsoc2013-epiphany-4dd3ca40e89ad2ce3ad67b8732691766d862587a.zip |
Add help buttons to Certificate Viewer, PDM, print and print setup
2004-01-04 Piers Cornwell <piers@myrealbox.com>
* data/glade/certificate-dialogs.glade:
* data/glade/epiphany.glade:
* data/glade/print.glade:
* embed/mozilla/GtkNSSDialogs.cpp:
* embed/print-dialog.c: (ephy_print_dialog_response_cb),
(ephy_print_setup_dialog_help_button_cb):
* src/pdm-dialog.c: (pdm_dialog_show_help):
* src/prefs-dialog.c: (prefs_dialog_show_help):
Add help buttons to Certificate Viewer, PDM, print and print setup
dialogues.
Diffstat (limited to 'embed/mozilla')
-rw-r--r-- | embed/mozilla/GtkNSSDialogs.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/embed/mozilla/GtkNSSDialogs.cpp b/embed/mozilla/GtkNSSDialogs.cpp index 94d8e9527..809ad9fd9 100644 --- a/embed/mozilla/GtkNSSDialogs.cpp +++ b/embed/mozilla/GtkNSSDialogs.cpp @@ -72,6 +72,7 @@ #include "GtkNSSDialogs.h" #include "ephy-glade.h" +#include "ephy-gui.h" #include <time.h> @@ -1390,7 +1391,19 @@ GtkNSSDialogs::ViewCert(nsIInterfaceRequestor *ctx, g_object_unref (gxml); gtk_widget_show_all (dialog); - gtk_dialog_run (GTK_DIALOG (dialog)); + + int res; + while (1) + { + res = gtk_dialog_run (GTK_DIALOG (dialog)); + if (res == GTK_RESPONSE_HELP) + { + ephy_gui_help (GTK_WINDOW (dialog), "epiphany", "using-certificate-viewer"); + continue; + } + break; + } + gtk_widget_destroy (dialog); return NS_OK; } |