From 6a8eda0888cc095d9224d1e8c556a4c0acc67a1a Mon Sep 17 00:00:00 2001 From: David Bordoley Date: Mon, 21 Apr 2003 15:26:24 +0000 Subject: Added tooltips to all the actions. 2003-04-21 David Bordoley * src/ephy-history-window.c: * src/bookmarks/ephy-bookmarks-editor.c: Added tooltips to all the actions. --- ChangeLog | 7 +++++ src/bookmarks/ephy-bookmarks-editor.c | 50 ++++++++++++++++++++++------------ src/ephy-history-window.c | 51 ++++++++++++++++++++++------------- 3 files changed, 73 insertions(+), 35 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3a2815b8f..76719af1c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-04-21 David Bordoley + + * src/ephy-history-window.c: + * src/bookmarks/ephy-bookmarks-editor.c: + + Added tooltips to all the actions. + 2003-04-21 David Bordoley * src/ephy-history-window.c: (cmd_clear): diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index 09ddb3bce..3cac56784 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -143,45 +143,61 @@ static EggActionGroupEntry ephy_bookmark_popup_entries [] = { /* File Menu*/ { "NewTopic", N_("_New Topic"), GTK_STOCK_NEW, "N", - NULL, G_CALLBACK (cmd_add_topic), NULL }, + N_("Create a new topic"), + G_CALLBACK (cmd_add_topic), NULL }, { "OpenInWindow", N_("_Open in New Window"), GTK_STOCK_OPEN, "O", - NULL, G_CALLBACK (cmd_open_bookmarks_in_browser), NULL }, + N_("Open the selected bookmark in a new window"), + G_CALLBACK (cmd_open_bookmarks_in_browser), NULL }, { "OpenInTab", N_("Open in New _Tab"), NULL, "O", - NULL, G_CALLBACK (cmd_open_bookmarks_in_tabs), NULL }, + N_("Open the selected bookmark in a new tab"), + G_CALLBACK (cmd_open_bookmarks_in_tabs), NULL }, { "Rename", N_("_Rename"), NULL, "F2", - NULL, G_CALLBACK (cmd_rename), NULL }, + N_("Rename the selected bookmark or topic"), G_CALLBACK (cmd_rename), NULL }, { "Delete", N_("_Delete"), GTK_STOCK_DELETE, NULL, - NULL, G_CALLBACK (cmd_delete), NULL }, + N_("Delete the selected bookmark or topic"), + G_CALLBACK (cmd_delete), NULL }, { "ShowInToolbar", N_("_Show in the Toolbar"), NULL, NULL, - NULL, G_CALLBACK (cmd_show_in_the_toolbar), NULL, TOGGLE_ACTION }, + N_("Show the selected bookmark or topic in the bookmarks toolbar"), + G_CALLBACK (cmd_show_in_the_toolbar), NULL, TOGGLE_ACTION }, { "Properties", N_("_Properties"), GTK_STOCK_PROPERTIES, "Return", - NULL, G_CALLBACK (cmd_bookmark_properties), NULL }, + N_("View or modify the properties of the selected bookmark"), + G_CALLBACK (cmd_bookmark_properties), NULL }, { "Close", N_("_Close"), GTK_STOCK_CLOSE, "W", - NULL, G_CALLBACK (cmd_close), NULL }, + N_("Close the bookmarks window"), + G_CALLBACK (cmd_close), NULL }, /* Edit Menu */ { "Cut", N_("Cu_t"), GTK_STOCK_CUT, "X", - NULL, G_CALLBACK (cmd_cut), NULL }, + N_("Cut the selection"), + G_CALLBACK (cmd_cut), NULL }, { "Copy", N_("_Copy"), GTK_STOCK_COPY, "C", - NULL, G_CALLBACK (cmd_copy), NULL }, + N_("Copy the selection"), + G_CALLBACK (cmd_copy), NULL }, { "Paste", N_("_Paste"), GTK_STOCK_PASTE, "V", - NULL, G_CALLBACK (cmd_paste), NULL }, + N_("Paste the clipboard"), + G_CALLBACK (cmd_paste), NULL }, { "SelectAll", N_("Select _All"), NULL, "A", - NULL, G_CALLBACK (cmd_select_all), NULL }, + N_("Select all bookmarks or text"), + G_CALLBACK (cmd_select_all), NULL }, /* View Menu */ { "ViewTitle", N_("_Title"), NULL, NULL, - NULL, NULL, NULL, RADIO_ACTION, NULL }, + N_("Show only the title column"), + NULL, NULL, RADIO_ACTION, NULL }, { "ViewLocation", N_("_Location"), NULL, NULL, - NULL, NULL, NULL, RADIO_ACTION, "ViewTitle" }, + N_("Show only the location column"), + NULL, NULL, RADIO_ACTION, "ViewTitle" }, { "ViewTitleLocation", N_("T_itle and Location"), NULL, NULL, - NULL, NULL, NULL, RADIO_ACTION, "ViewTitle" }, + N_("Show both the title and location columns"), + NULL, NULL, RADIO_ACTION, "ViewTitle" }, /* Help Menu */ { "HelpContents", N_("_Contents"), GTK_STOCK_HELP, "F1", - NULL, G_CALLBACK (cmd_help_contents), NULL }, + N_("Display bookmarks help"), + G_CALLBACK (cmd_help_contents), NULL }, { "HelpAbout", N_("_About"), GNOME_STOCK_ABOUT, NULL, - NULL, G_CALLBACK (window_cmd_help_about), NULL }, + N_("Display credits for the web browser creators"), + G_CALLBACK (window_cmd_help_about), NULL }, }; static guint ephy_bookmark_popup_n_entries = G_N_ELEMENTS (ephy_bookmark_popup_entries); diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c index efa6e16aa..88de5b344 100644 --- a/src/ephy-history-window.c +++ b/src/ephy-history-window.c @@ -122,41 +122,56 @@ static EggActionGroupEntry ephy_history_ui_entries [] = { /* File Menu */ { "OpenInWindow", N_("_Open in New Window"), GTK_STOCK_OPEN, "O", - NULL, G_CALLBACK (cmd_open_bookmarks_in_browser), NULL }, + N_("Open the selected history item in a new window"), + G_CALLBACK (cmd_open_bookmarks_in_browser), NULL }, { "OpenInTab", N_("Open in New _Tab"), NULL, "O", - NULL, G_CALLBACK (cmd_open_bookmarks_in_tabs), NULL }, + N_("Open the selected history item in a new tab"), + G_CALLBACK (cmd_open_bookmarks_in_tabs), NULL }, { "Delete", N_("_Delete"), GTK_STOCK_DELETE, NULL, - NULL, G_CALLBACK (cmd_delete), NULL}, + N_("Delete the selected history item"), + G_CALLBACK (cmd_delete), NULL }, { "BookmarkPage", N_("Boo_kmark Page..."), EPHY_STOCK_BOOKMARK_PAGE, "D", - NULL, G_CALLBACK (cmd_bookmark_page), NULL }, + N_("Bookmark the selected history item"), + G_CALLBACK (cmd_bookmark_page), NULL }, { "Close", N_("_Close"), GTK_STOCK_CLOSE, "W", - NULL, G_CALLBACK (cmd_close), NULL }, + N_("Close the history window"), + G_CALLBACK (cmd_close), NULL }, /* Edit Menu */ { "Cut", N_("Cu_t"), GTK_STOCK_CUT, "X", - NULL, G_CALLBACK (cmd_cut), NULL }, + N_("Cut the selection"), + G_CALLBACK (cmd_cut), NULL }, { "Copy", N_("_Copy"), GTK_STOCK_COPY, "C", - NULL, G_CALLBACK (cmd_copy), NULL }, + N_("Copy the selection"), + G_CALLBACK (cmd_copy), NULL }, { "Paste", N_("_Paste"), GTK_STOCK_PASTE, "V", - NULL, G_CALLBACK (cmd_paste), NULL }, + N_("Paste the clipboard"), + G_CALLBACK (cmd_paste), NULL }, { "SelectAll", N_("Select _All"), NULL, "A", - NULL, G_CALLBACK (cmd_select_all), NULL }, + N_("Select all history items or text"), + G_CALLBACK (cmd_select_all), NULL }, { "Clear", N_("C_lear History"), GTK_STOCK_CLEAR, NULL, - NULL, G_CALLBACK (cmd_clear), NULL }, - + N_("Clear your browsing history"), + G_CALLBACK (cmd_clear), NULL }, + /* View Menu */ { "ViewTitle", N_("_Title"), NULL, NULL, - NULL, NULL, NULL, RADIO_ACTION, NULL }, + N_("Show only the title column"), + NULL, NULL, RADIO_ACTION, NULL }, { "ViewLocation", N_("_Location"), NULL, NULL, - NULL, NULL, NULL, RADIO_ACTION, "ViewTitle" }, + N_("Show only the location column"), + NULL, NULL, RADIO_ACTION, "ViewTitle" }, { "ViewTitleLocation", N_("T_itle and Location"), NULL, NULL, - NULL, NULL, NULL, RADIO_ACTION, "ViewTitle" }, - - /* Help Menu */ + N_("Show both the title and location columns"), + NULL, NULL, RADIO_ACTION, "ViewTitle" }, + + /* Help Menu */ { "HelpContents", N_("_Contents"), GTK_STOCK_HELP, "F1", - NULL, G_CALLBACK (cmd_help_contents), NULL }, + N_("Display history help"), + G_CALLBACK (cmd_help_contents), NULL }, { "HelpAbout", N_("_About"), GNOME_STOCK_ABOUT, NULL, - NULL, G_CALLBACK (window_cmd_help_about), NULL }, + N_("Display credits for the web browser creators"), + G_CALLBACK (window_cmd_help_about), NULL }, }; static guint ephy_history_ui_n_entries = G_N_ELEMENTS (ephy_history_ui_entries); -- cgit v1.2.3