diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-10-05 19:53:47 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-10-05 19:53:47 +0800 |
commit | 3d7629fc67819da501b38ad3a85cf1f616e5d27b (patch) | |
tree | fd6bacc710c2449ad671c282dc5ff339247d8dfb /embed/mozilla | |
parent | 72cc23164627a75a0a390e98035e321f5b96fe01 (diff) | |
download | gsoc2013-epiphany-3d7629fc67819da501b38ad3a85cf1f616e5d27b.tar gsoc2013-epiphany-3d7629fc67819da501b38ad3a85cf1f616e5d27b.tar.gz gsoc2013-epiphany-3d7629fc67819da501b38ad3a85cf1f616e5d27b.tar.bz2 gsoc2013-epiphany-3d7629fc67819da501b38ad3a85cf1f616e5d27b.tar.lz gsoc2013-epiphany-3d7629fc67819da501b38ad3a85cf1f616e5d27b.tar.xz gsoc2013-epiphany-3d7629fc67819da501b38ad3a85cf1f616e5d27b.tar.zst gsoc2013-epiphany-3d7629fc67819da501b38ad3a85cf1f616e5d27b.zip |
Set window icon.
2004-10-05 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/GtkNSSClientAuthDialogs.cpp:
* embed/mozilla/GtkNSSDialogs.cpp:
* embed/mozilla/GtkNSSKeyPairDialogs.cpp:
Set window icon.
Diffstat (limited to 'embed/mozilla')
-rw-r--r-- | embed/mozilla/GtkNSSClientAuthDialogs.cpp | 2 | ||||
-rw-r--r-- | embed/mozilla/GtkNSSDialogs.cpp | 16 | ||||
-rw-r--r-- | embed/mozilla/GtkNSSKeyPairDialogs.cpp | 2 |
3 files changed, 20 insertions, 0 deletions
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); |