From 3d7629fc67819da501b38ad3a85cf1f616e5d27b Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 5 Oct 2004 11:53:47 +0000 Subject: Set window icon. 2004-10-05 Christian Persch * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: Set window icon. --- ChangeLog | 8 ++++++++ embed/mozilla/GtkNSSClientAuthDialogs.cpp | 2 ++ embed/mozilla/GtkNSSDialogs.cpp | 16 ++++++++++++++++ embed/mozilla/GtkNSSKeyPairDialogs.cpp | 2 ++ 4 files changed, 28 insertions(+) diff --git a/ChangeLog b/ChangeLog index a6343cbce..34f4b5305 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-10-05 Christian Persch + + * embed/mozilla/GtkNSSClientAuthDialogs.cpp: + * embed/mozilla/GtkNSSDialogs.cpp: + * embed/mozilla/GtkNSSKeyPairDialogs.cpp: + + Set window icon. + 2004-10-04 Christian Persch * lib/ephy-gui.c: (ephy_gui_menu_position_tree_selection), diff --git a/embed/mozilla/GtkNSSClientAuthDialogs.cpp b/embed/mozilla/GtkNSSClientAuthDialogs.cpp index d95988111..28143b2e8 100644 --- a/embed/mozilla/GtkNSSClientAuthDialogs.cpp +++ b/embed/mozilla/GtkNSSClientAuthDialogs.cpp @@ -157,6 +157,8 @@ GtkNSSClientAuthDialogs::ChooseCertificate (nsIInterfaceRequestor *ctx, GTK_RESPONSE_OK, NULL); + gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser"); + gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE); gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE); gtk_container_set_border_width (GTK_CONTAINER (dialog), 5); diff --git a/embed/mozilla/GtkNSSDialogs.cpp b/embed/mozilla/GtkNSSDialogs.cpp index 1f8926760..b6b2f05b0 100644 --- a/embed/mozilla/GtkNSSDialogs.cpp +++ b/embed/mozilla/GtkNSSDialogs.cpp @@ -219,6 +219,8 @@ display_cert_warning_box (nsIInterfaceRequestor *ctx, GTK_DIALOG_DESTROY_WITH_PARENT, NULL); + gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser"); + higgy_setup_dialog (GTK_DIALOG (dialog), GTK_STOCK_DIALOG_WARNING, &label, &vbox); @@ -487,6 +489,8 @@ GtkNSSDialogs::NotifyCrlNextupdate (nsIInterfaceRequestor *ctx, GTK_RESPONSE_OK, NULL); + gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser"); + higgy_setup_dialog (GTK_DIALOG (dialog), GTK_STOCK_DIALOG_ERROR, &label, NULL); @@ -552,6 +556,8 @@ GtkNSSDialogs::ConfirmDownloadCACert(nsIInterfaceRequestor *ctx, _("_Trust CA"), GTK_RESPONSE_ACCEPT, NULL); + gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser"); + higgy_setup_dialog (GTK_DIALOG (dialog), GTK_STOCK_DIALOG_WARNING, &label, &content_vbox); gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT); @@ -647,6 +653,8 @@ GtkNSSDialogs::NotifyCACertExists (nsIInterfaceRequestor *ctx) GTK_RESPONSE_OK, NULL); + gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser"); + higgy_setup_dialog (GTK_DIALOG (dialog), GTK_STOCK_DIALOG_ERROR, &label, NULL); @@ -768,6 +776,8 @@ GtkNSSDialogs::SetPKCS12FilePassword(nsIInterfaceRequestor *ctx, GTK_RESPONSE_CANCEL, NULL); + gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser"); + higgy_setup_dialog (GTK_DIALOG (dialog), GTK_STOCK_DIALOG_QUESTION, &label, &vbox); @@ -878,6 +888,8 @@ GtkNSSDialogs::GetPKCS12FilePassword(nsIInterfaceRequestor *ctx, _("I_mport Certificate"), GTK_RESPONSE_OK, NULL); + gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser"); + higgy_setup_dialog (GTK_DIALOG (dialog), GTK_STOCK_DIALOG_QUESTION, &label, &vbox); gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); @@ -959,6 +971,8 @@ GtkNSSDialogs::CrlImportStatusDialog(nsIInterfaceRequestor *ctx, nsICRLInfo *crl GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); + gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser"); + higgy_setup_dialog (GTK_DIALOG (dialog), GTK_STOCK_DIALOG_INFO, &label, &vbox); @@ -1301,6 +1315,8 @@ GtkNSSDialogs::ViewCert(nsIInterfaceRequestor *ctx, gtk_window_set_transient_for (GTK_WINDOW(dialog), GTK_WINDOW(gparent)); gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE); + gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser"); + gtk_window_set_title (GTK_WINDOW (dialog), _("Certificate Properties")); gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE); diff --git a/embed/mozilla/GtkNSSKeyPairDialogs.cpp b/embed/mozilla/GtkNSSKeyPairDialogs.cpp index 55fa5968c..2ac454182 100644 --- a/embed/mozilla/GtkNSSKeyPairDialogs.cpp +++ b/embed/mozilla/GtkNSSKeyPairDialogs.cpp @@ -174,6 +174,8 @@ GtkNSSKeyPairDialogs::DisplayGeneratingKeypairInfo (nsIInterfaceRequestor *ctx, dialog = gtk_dialog_new_with_buttons ("", GTK_WINDOW (gparent), GTK_DIALOG_NO_SEPARATOR, NULL); + gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser"); + gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE); gtk_container_set_border_width (GTK_CONTAINER (dialog), 5); -- cgit v1.2.3