2006-11-16 [paul] 2.6.0cvs51
[claws.git] / src / gtk / about.c
index 653cbeaadffbbfd8011e3e7e38ebe1951abe4e71..3b64e5644ff9d600d9e06b0c5fd699044c81c657 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2005 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2006 Hiroyuki Yamamoto and the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -60,7 +60,6 @@ static GdkCursor *text_cursor = NULL;
 
 static void about_create(void);
 static gboolean key_pressed(GtkWidget *widget, GdkEventKey *event);
-static void about_uri_clicked(GtkButton *button, gpointer data);
 static gboolean about_textview_uri_clicked(GtkTextTag *tag, GObject *obj,
                                        GdkEvent *event, GtkTextIter *iter,
                                        GtkWidget *textview);
@@ -94,18 +93,13 @@ void about_show(void)
 static void about_create(void)
 {
        GtkWidget *vbox1;
-       GtkWidget *table;
-       GtkWidget *table2;
        GtkWidget *image;       
        GtkWidget *vbox2;
        GtkWidget *label;
        GtkWidget *button;
        GtkWidget *scrolledwin;
        GtkWidget *notebook;
-       GtkStyle *style;
-       GdkColormap *cmap;
-       GdkColor uri_color[2] = {{0, 0, 0, 0xffff}, {0, 0xffff, 0, 0}};
-       gboolean success[2];
+       GtkWidget *hbox;
        char *markup;
        GtkWidget *text;
        GtkWidget *confirm_area;
@@ -113,7 +107,9 @@ static void about_create(void)
        GtkTextBuffer *buffer;
        GtkTextIter iter;
        GtkTextTag *tag;
-
+       GdkColor uri_color;
+       GdkPixbuf *active_pixbuf;
+       GdkPixbuf *inactive_pixbuf;
 #if HAVE_SYS_UTSNAME_H
        struct utsname utsbuf;
 #endif
@@ -121,147 +117,53 @@ static void about_create(void)
        gint i;
 
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-       gtk_window_set_title(GTK_WINDOW(window), _("About Sylpheed-Claws"));
+       gtk_window_set_title(GTK_WINDOW(window), _("About Claws Mail"));
        gtk_container_set_border_width(GTK_CONTAINER(window), 8);
        gtk_window_set_resizable(GTK_WINDOW(window), FALSE);
-       gtk_widget_set_size_request(window, -1, -1);
+       gtk_widget_set_size_request(window, 450, -1);
        g_signal_connect(G_OBJECT(window), "delete_event",
                         G_CALLBACK(gtk_widget_hide_on_delete), NULL);
        g_signal_connect(G_OBJECT(window), "key_press_event",
                         G_CALLBACK(key_pressed), NULL);
        gtk_widget_realize(window);
 
-       vbox1 = gtk_vbox_new(FALSE, 0);
+       vbox1 = gtk_vbox_new(FALSE, 8);
        gtk_container_add(GTK_CONTAINER(window), vbox1);
 
-       table = gtk_table_new (1, 2, FALSE);
-       gtk_box_pack_start(GTK_BOX(vbox1), table, FALSE, FALSE, 0);
+       hbox = gtk_hbox_new(FALSE, 0);
+       gtk_widget_show (hbox);
+       gtk_box_pack_start(GTK_BOX(vbox1), hbox, TRUE, TRUE, 0);
 
-       image = stock_pixmap_widget(window, STOCK_PIXMAP_SYLPHEED_LOGO);
-       gtk_table_attach(GTK_TABLE(table), image, 0, 1, 0, 1,
-                        (GtkAttachOptions) (GTK_SHRINK),
-                        (GtkAttachOptions) (GTK_SHRINK), 8, 0);
+       image = stock_pixmap_widget(window, STOCK_PIXMAP_CLAWS_MAIL_LOGO);
+       gtk_box_pack_start(GTK_BOX(hbox), image, TRUE, TRUE, 0);
 
-       vbox2 = gtk_vbox_new (TRUE, 0);
-       gtk_table_attach(GTK_TABLE(table), vbox2, 1, 2, 0, 1,
-                        (GtkAttachOptions) (GTK_EXPAND),
-                        (GtkAttachOptions) (GTK_FILL), 0, 0);
+       vbox2 = gtk_vbox_new (FALSE, 0);
+       gtk_box_pack_start(GTK_BOX(hbox), vbox2, TRUE, TRUE, 0);
 
        label = gtk_label_new("");
        gtk_label_set_selectable(GTK_LABEL(label), TRUE);
        gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_CENTER);
        gtk_box_pack_start(GTK_BOX(vbox2), label, FALSE, FALSE, 0);
        markup = g_markup_printf_escaped
-               ("<span weight=\"bold\" size=\"xx-large\">Sylpheed-Claws</span>\nversion %s",
+               ("<span weight=\"bold\" size=\"xx-large\">Claws Mail</span>\nversion %s",
                 VERSION);
        gtk_label_set_markup(GTK_LABEL(label), markup);
        g_free(markup);
 
-       button = gtk_button_new_with_label(" "HOMEPAGE_URI" ");
+       button = gtkut_get_link_btn(window, HOMEPAGE_URI, " "HOMEPAGE_URI" ");
        gtk_box_pack_start(GTK_BOX(vbox2), button, FALSE, FALSE, 0);
-       gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE);
-       g_signal_connect(G_OBJECT(button), "clicked",
-                        G_CALLBACK(about_uri_clicked), NULL);
-       buf[0] = ' ';
-       for (i = 1; i <= strlen(HOMEPAGE_URI); i++) buf[i] = '_';
-       strcpy(buf + i, " ");
-       gtk_label_set_pattern(GTK_LABEL(GTK_BIN(button)->child), buf);
-       cmap = gdk_drawable_get_colormap(window->window);
-       gdk_colormap_alloc_colors(cmap, uri_color, 2, FALSE, TRUE, success);
-       if (success[0] == TRUE && success[1] == TRUE) {
-               gtk_widget_ensure_style(GTK_BIN(button)->child);
-               style = gtk_style_copy
-                       (gtk_widget_get_style(GTK_BIN(button)->child));
-               style->fg[GTK_STATE_NORMAL]   = uri_color[0];
-               style->fg[GTK_STATE_ACTIVE]   = uri_color[1];
-               style->fg[GTK_STATE_PRELIGHT] = uri_color[0];
-               gtk_widget_set_style(GTK_BIN(button)->child, style);
-       } else
-               g_warning("about_create(): color allocation failed.\n");
-
-#if HAVE_SYS_UTSNAME_H
-       uname(&utsbuf);
-       g_snprintf(buf, sizeof(buf),
-                  _("GTK+ %d.%d.%d / GLib %d.%d.%d\n"
-                  "Operating System: %s %s (%s)"),
-                  gtk_major_version, gtk_minor_version, gtk_micro_version,
-                  glib_major_version, glib_minor_version, glib_micro_version,
-                  utsbuf.sysname, utsbuf.release, utsbuf.machine);
-#elif defined(G_OS_WIN32)
-       g_snprintf(buf, sizeof(buf),
-                  _("GTK+ %d.%d.%d / GLib %d.%d.%d\n"
-                  "Operating System: %s"),
-                  gtk_major_version, gtk_minor_version, gtk_micro_version,
-                  glib_major_version, glib_minor_version, glib_micro_version,
-                  "Win32");
-#else
-       g_snprintf(buf, sizeof(buf),
-                  _("GTK+ %d.%d.%d / GLib %d.%d.%d\n"
-                  "Operating System: unknown"),
-                  gtk_major_version, gtk_minor_version, gtk_micro_version,
-                  glib_major_version, glib_minor_version, glib_micro_version);
-#endif
-
-       label = gtk_label_new(buf);
-       gtk_label_set_selectable(GTK_LABEL(label), TRUE);
-       gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_CENTER);
-       gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
-       gtk_box_pack_start(GTK_BOX(vbox2), label, FALSE, FALSE, 0);
 
-       g_snprintf(buf, sizeof(buf),
-                  _("Compiled-in features:\n%s"),
-#if USE_THREADS
-                  " gthread"
-#endif
-#if INET6
-                  " IPv6"
-#endif
-#if HAVE_ICONV
-                  " iconv"
-#endif
-#if HAVE_LIBCOMPFACE
-                  " compface"
-#endif
-#if USE_OPENSSL
-                  " OpenSSL"
-#endif
-#if USE_LDAP
-                  " LDAP"
-#endif
-#if USE_JPILOT
-                  " JPilot"
-#endif
-#if USE_ASPELL
-                  " GNU/aspell"
-#endif
-#if HAVE_LIBETPAN
-                  " libetpan"
-#endif
-#if USE_GNOMEPRINT
-                  " libgnomeprint"
-#endif
-       "");
-
-       label = gtk_label_new(buf);
+       label = gtk_label_new
+               (_("Copyright (C) 1999-2006 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>\n"
+                "and the Claws Mail team"));
+       gtk_misc_set_padding(GTK_MISC(label), 0, 12);
        gtk_label_set_selectable(GTK_LABEL(label), TRUE);
        gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_CENTER);
        gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
        gtk_box_pack_start(GTK_BOX(vbox2), label, FALSE, FALSE, 0);
 
-       table2 = gtk_table_new (2, 3, FALSE);
-       gtk_box_pack_start(GTK_BOX(vbox1), table2, FALSE, FALSE, 0);
-
-       label = gtk_label_new
-               (_("Copyright (C) 1999-2005 Hiroyuki Yamamoto <hiro-y@kcn.ne.jp>\n"
-                "and the Sylpheed-Claws team"));
-       gtk_label_set_selectable(GTK_LABEL(label), TRUE);
-       gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_CENTER);
-       gtk_table_attach(GTK_TABLE(table2), label, 0, 1, 0, 1,
-                        (GtkAttachOptions) (GTK_EXPAND),
-                        (GtkAttachOptions) (GTK_SHRINK), 0, 6);
-
        notebook = gtk_notebook_new();
-       gtk_widget_set_size_request(notebook, -1, 200);
+       gtk_widget_set_size_request(notebook, -1, 220);
        gtk_widget_show(notebook);
 
        scrolledwin = gtk_scrolled_window_new(NULL, NULL);
@@ -295,20 +197,63 @@ static void about_create(void)
                                NULL);
 
        gtk_text_buffer_insert(buffer, &iter, _(
-                               "Sylpheed-Claws is a lightweight, fast and "
-                               "highly-configurable e-mail client.\n\n"
-                               "For further information visit the Sylpheed-"
-                               "Claws website:\n"), -1);
+                               "Claws Mail is a lightweight, fast and "
+                               "highly-configurable email client.\n\n"
+                               "For further information visit the Claws Mail "
+                               "website:\n"), -1);
        gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, HOMEPAGE_URI, -1,
                                "link", NULL);
        gtk_text_buffer_insert(buffer, &iter, _("\n\n"
-                               "Sylpheed-Claws is free software released "
+                               "Claws Mail is free software released "
                                "under the GPL license. If you wish to donate "
-                               "to the Sylpheed-Claws project you can do "
+                               "to the Claws Mail project you can do "
                                "so at:\n"), -1);
        gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, DONATE_URI, -1,
                                "link", NULL);
-       gtk_text_buffer_insert(buffer, &iter, _("\n"), -1);
+
+       gtk_text_buffer_create_tag(buffer, "indented-list-item",
+                               "indent", 8,
+                               NULL);
+       gtk_text_buffer_create_tag(buffer, "underlined-list-title",
+                               "underline", PANGO_UNDERLINE_SINGLE,
+                               NULL);
+
+       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, (_("\n\nSystem Information\n")), -1,
+                       "underlined-list-title", NULL);
+
+#if HAVE_SYS_UTSNAME_H
+       uname(&utsbuf);
+       g_snprintf(buf, sizeof(buf),
+                  _("GTK+ %d.%d.%d / GLib %d.%d.%d\n"
+                    "Locale: %s (charset: %s)\n"
+                    "Operating System: %s %s (%s)"),
+                  gtk_major_version, gtk_minor_version, gtk_micro_version,
+                  glib_major_version, glib_minor_version, glib_micro_version,
+                  conv_get_current_locale(), conv_get_locale_charset_str(),
+                  utsbuf.sysname, utsbuf.release, utsbuf.machine);
+#elif defined(G_OS_WIN32)
+       g_snprintf(buf, sizeof(buf),
+                  _("GTK+ %d.%d.%d / GLib %d.%d.%d\n"
+                    "Locale: %s (charset: %s)\n"
+                    "Operating System: %s"),
+                  gtk_major_version, gtk_minor_version, gtk_micro_version,
+                  glib_major_version, glib_minor_version, glib_micro_version,
+                  conv_get_current_locale(), conv_get_locale_charset_str(),
+                  "Win32");
+#else
+       g_snprintf(buf, sizeof(buf),
+                  _("GTK+ %d.%d.%d / GLib %d.%d.%d\n"
+                    "Locale: %s (charset: %s)\n"
+                    "Operating System: unknown"),
+                  gtk_major_version, gtk_minor_version, gtk_micro_version,
+                  glib_major_version, glib_minor_version, glib_micro_version,
+                  conv_get_current_locale(), conv_get_locale_charset_str());
+#endif
+
+       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, buf, -1,
+                                                "indented-list-item", NULL);
+
+       gtk_text_buffer_insert(buffer, &iter, "\n", -1);
 
        g_signal_connect(G_OBJECT(tag), "event",
                                G_CALLBACK(about_textview_uri_clicked), text);
@@ -319,7 +264,7 @@ static void about_create(void)
 
        gtk_notebook_append_page(GTK_NOTEBOOK(notebook),
                                scrolledwin,
-                               gtk_label_new(_("Info")));
+                               gtk_label_new_with_mnemonic(_("_Info")));
 
        scrolledwin = gtk_scrolled_window_new(NULL, NULL);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
@@ -341,13 +286,13 @@ static void about_create(void)
 
        /* init formatting tag: indentation  for list items */
        gtk_text_buffer_create_tag(buffer, "indented-list-item",
-                               "indent", 24,
+                               "indent", 8,
                                NULL);
        gtk_text_buffer_create_tag(buffer, "underlined-list-title",
                                "underline", PANGO_UNDERLINE_SINGLE,
                                NULL);
 
-       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, (_("The Sylpheed-Claws Team\n")), -1,
+       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, (_("The Claws Mail Team\n")), -1,
                        "underlined-list-title", NULL);
 
        for (i = 0; TEAM_LIST[i] != NULL; i++) {
@@ -409,7 +354,7 @@ static void about_create(void)
                        gchar *conv = conv_codeset_strdup(DOC_TEAM_LIST[i], CS_ISO_8859_1, CS_UTF_8);
                        if (conv)
                                gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, conv, -1,
-                                               "undeindented-list-itemitle", NULL);
+                                               "indented-list-item", NULL);
                        g_free(conv);
                }
                gtk_text_buffer_insert(buffer, &iter, "\n", 1);
@@ -468,7 +413,138 @@ static void about_create(void)
 
        gtk_notebook_append_page(GTK_NOTEBOOK(notebook),
                                 scrolledwin,
-                                gtk_label_new(_("Authors")));
+                                gtk_label_new_with_mnemonic(_("_Authors")));
+
+       scrolledwin = gtk_scrolled_window_new(NULL, NULL);
+       gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
+                                      GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
+       gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrolledwin),
+                                           GTK_SHADOW_IN);
+
+       text = gtk_text_view_new();
+       gtk_text_view_set_editable(GTK_TEXT_VIEW(text), FALSE);
+       gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(text), GTK_WRAP_WORD);
+       gtk_text_view_set_left_margin(GTK_TEXT_VIEW(text), 6);
+       gtk_text_view_set_right_margin(GTK_TEXT_VIEW(text), 6);
+       gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW(text), FALSE);
+       gtk_container_add(GTK_CONTAINER(scrolledwin), text);
+       gtk_widget_add_events(text, GDK_LEAVE_NOTIFY_MASK);
+
+       buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text));
+       gtk_text_buffer_get_iter_at_offset(buffer, &iter, 0);
+
+       gtk_text_buffer_insert(buffer, &iter, _("Compiled-in Features\n"), -1);
+
+       gtk_text_buffer_create_tag(buffer, "bold", "weight", PANGO_WEIGHT_BOLD,
+                                  NULL);
+
+       stock_pixbuf_gdk(window, STOCK_PIXMAP_ACTIVE, &active_pixbuf);
+       stock_pixbuf_gdk(window, STOCK_PIXMAP_INACTIVE, &inactive_pixbuf);
+
+#if INET6
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, active_pixbuf);
+#else
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, inactive_pixbuf);
+#endif
+       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, (" IPv6 "), -1,
+                                                "bold", NULL);
+       gtk_text_buffer_insert(buffer, &iter, 
+               (gchar *)Q_("IPv6|adds support for IPv6 addresses, the new internet "
+                           "addressing protocol\n"), -1);
+
+#if HAVE_ICONV
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, active_pixbuf);
+#else
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, inactive_pixbuf);
+#endif
+       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, (" iconv "), -1,
+                                                "bold", NULL);
+       gtk_text_buffer_insert(buffer, &iter, 
+               (gchar *)Q_("iconv|allows converting to and from different character sets\n"), -1);
+
+#if HAVE_LIBCOMPFACE
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, active_pixbuf);
+#else
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, inactive_pixbuf);
+#endif
+       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, (" compface "), -1,
+                                                "bold", NULL);
+       gtk_text_buffer_insert(buffer, &iter, 
+               (gchar *)Q_("compface|adds support for the X-Face header\n"), -1);
+
+#if USE_OPENSSL
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, active_pixbuf);
+#else
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, inactive_pixbuf);
+#endif
+       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, (" OpenSSL "), -1,
+                                                "bold", NULL);
+       gtk_text_buffer_insert(buffer, &iter, 
+               (gchar *)Q_("OpenSSL|adds support for encrypted connections to servers\n"), -1);
+
+#if USE_LDAP
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, active_pixbuf);
+#else
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, inactive_pixbuf);
+#endif
+       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, (" LDAP "), -1,
+                                                "bold", NULL);
+       gtk_text_buffer_insert(buffer, &iter, 
+               (gchar *)Q_("LDAP|adds support for LDAP shared addressbooks\n"), -1);
+
+#if USE_JPILOT
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, active_pixbuf);
+#else
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, inactive_pixbuf);
+#endif
+       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, (" JPilot "), -1,
+                                                "bold", NULL);
+       gtk_text_buffer_insert(buffer, &iter, 
+               (gchar *)Q_("JPilot|adds support for PalmOS addressbooks\n"), -1);
+
+#if USE_ASPELL
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, active_pixbuf);
+#else
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, inactive_pixbuf);
+#endif
+       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, (" GNU/aspell "), -1,
+                                                "bold", NULL);
+       gtk_text_buffer_insert(buffer, &iter, 
+               (gchar *)Q_("GNU/aspell|adds support for spell checking\n"), -1);
+
+#if HAVE_LIBETPAN
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, active_pixbuf);
+#else
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, inactive_pixbuf);
+#endif
+       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, (" libetpan "), -1,
+                                                "bold", NULL);
+       gtk_text_buffer_insert(buffer, &iter, 
+               (gchar *)Q_("libetpan|adds support for IMAP servers\n"), -1);
+
+#if USE_GNOMEPRINT
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, active_pixbuf);
+#else
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, inactive_pixbuf);
+#endif
+       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, (" libgnomeprint "), -1,
+                                                "bold", NULL);
+       gtk_text_buffer_insert(buffer, &iter, 
+               (gchar *)Q_("libgnomeprint|adds support for a complete print dialog\n"), -1);
+
+#if HAVE_LIBSM
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, active_pixbuf);
+#else
+       gtk_text_buffer_insert_pixbuf(buffer, &iter, inactive_pixbuf);
+#endif
+       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, (" libSM "), -1,
+                                                "bold", NULL);
+       gtk_text_buffer_insert(buffer, &iter, 
+               (gchar *)Q_("libSM|adds support for session handling\n"), -1);
+
+       gtk_notebook_append_page(GTK_NOTEBOOK(notebook),
+                                scrolledwin,
+                                gtk_label_new_with_mnemonic(_("_Features")));
 
        scrolledwin = gtk_scrolled_window_new(NULL, NULL);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
@@ -516,7 +592,7 @@ static void about_create(void)
        gtk_text_buffer_insert(buffer, &iter,
                _("This product includes software developed by the OpenSSL Project "
                  "for use in the OpenSSL Toolkit ("), -1);
-       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, "http://www.openssl.org/", -1,
+       gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, OPENSSL_URI, -1,
                "link", NULL);
        gtk_text_buffer_insert(buffer, &iter, _(").\n"), -1);
 
@@ -530,7 +606,7 @@ static void about_create(void)
 
        gtk_notebook_append_page(GTK_NOTEBOOK(notebook),
                                 scrolledwin,
-                                gtk_label_new(_("License")));
+                                gtk_label_new_with_mnemonic(_("_License")));
 
        gtk_box_pack_start(GTK_BOX(vbox1), notebook, TRUE, TRUE, 0);
 
@@ -554,11 +630,6 @@ static gboolean key_pressed(GtkWidget *widget, GdkEventKey *event)
        return FALSE;
 }
 
-static void about_uri_clicked(GtkButton *button, gpointer data)
-{
-       open_uri(HOMEPAGE_URI, prefs_common.uri_cmd);
-}
-
 static gboolean about_textview_uri_clicked(GtkTextTag *tag, GObject *obj,
                                        GdkEvent *event, GtkTextIter *iter,
                                        GtkWidget *textview)
@@ -713,7 +784,7 @@ static void about_textview_uri_update(GtkWidget *textview, gint x, gint y)
        }
 
        /* compare previous hovered link and this one
-          (here links must be unique in text buffer otherwise RemoteURI structures should be
+          (here links must be unique in text buffer otherwise ClickableText structures should be
           used as in textview.c) */
        same = (uri != NULL && uri_hover != NULL
                && strcmp((char*)uri, (char*)uri_hover) == 0);