/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2005 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2006 Hiroyuki Yamamoto and the Sylpheed-Claws 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
static gboolean about_textview_leave_notify(GtkWidget *widget,
GdkEventCrossing *event,
GtkWidget *textview);
-static gboolean about_textview_visibility_notify(GtkWidget *widget,
- GdkEventVisibility *event,
- GtkWidget *textview);
static void about_textview_uri_update(GtkWidget *textview, gint x, gint y);
static GtkItemFactoryEntry textview_link_popup_entries[] =
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");
+ (_("Copyright (C) 1999-2006 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,
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),
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_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);
return FALSE;
}
-static gboolean about_textview_visibility_notify(GtkWidget *widget,
- GdkEventVisibility *event,
- GtkWidget *textview)
-{
- gint wx, wy;
- GdkWindow *window;
-
- window = gtk_text_view_get_window(GTK_TEXT_VIEW(widget),
- GTK_TEXT_WINDOW_TEXT);
-
- /* check if occurred for the text window part */
- if (window != event->window) {
- return FALSE;
- }
-
- gdk_window_get_pointer(widget->window, &wx, &wy, NULL);
- about_textview_uri_update(textview, wx, wy);
-
- return FALSE;
-}
-
static void about_textview_uri_update(GtkWidget *textview, gint x, gint y)
{
GtkTextBuffer *buffer;