[Xfce4-commits] [apps/gigolo] 08/26: Fix missing labels on actions

noreply at xfce.org noreply at xfce.org
Thu Oct 25 08:04:00 CEST 2018


This is an automated email from the git hooks/post-receive script.

l   a   n   d   r   y       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/gigolo.

commit 024cc3a54864d846e0c6f2fb55ec62884b9a411c
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Tue Oct 16 21:46:39 2018 -0400

    Fix missing labels on actions
---
 src/window.c | 51 +++++++++++++++++++++++++--------------------------
 1 file changed, 25 insertions(+), 26 deletions(-)

diff --git a/src/window.c b/src/window.c
index f4b5304..4f7b6d0 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1265,32 +1265,31 @@ static void create_ui_elements(GigoloWindow *window, GtkUIManager *ui_manager)
 		"</toolbar>"
 	"</ui>";
 	const GtkActionEntry entries[] = {
-		{ "File", NULL, N_("_File"), NULL, NULL, NULL },
-		{ "Edit", NULL, N_("_Edit"), NULL, NULL, NULL },
-		{ "Actions", NULL, N_("_Actions"), NULL, NULL, NULL },
-		{ "View", NULL, N_("_View"), NULL, NULL, NULL },
-		{ "Help", NULL, N_("_Help"), NULL, NULL, NULL },
-		{ "Preferences", "preferences-system",
-			NULL, "<Ctrl>p", NULL, G_CALLBACK(action_preferences_cb) },
-		{ "CreateBookmark", "list-add",
-			N_("Create _Bookmark"), "<Ctrl>n", NULL, G_CALLBACK(action_create_bookmark_cb) },
-		{ "EditBookmarks", "gtk-edit",
-			N_("_Edit Bookmarks"), "<Ctrl>b",
-			N_("Open the bookmark manager to add, edit or delete bookmarks"),
-			G_CALLBACK(action_bookmark_edit_cb) },
-		{ "Connect", "gtk-connect", NULL, NULL, NULL, G_CALLBACK(action_mount_cb) },
-		{ "Disconnect", "gtk-disconnect", NULL, NULL,
-			N_("Disconnect the selected resource"), G_CALLBACK(action_unmount_cb) },
-		{ "Open", "document-open", NULL, "<Ctrl>o",
-			N_("Open the selected resource with a file manager"), G_CALLBACK(action_open_cb) },
-		{ "OpenTerminal", NULL, _("Open in _Terminal"), "<Ctrl>t",
-			N_("Start a terminal from here"), G_CALLBACK(action_open_terminal_cb) },
-		{ "CopyURI", "edit-copy", N_("Copy _URI"), "<Ctrl>c", NULL, G_CALLBACK(action_copy_uri_cb) },
-		{ "Quit", "application-exit", NULL, "<Ctrl>q", N_("Quit Gigolo"), G_CALLBACK(action_quit_cb) },
-		{ "OnlineHelp", "go-home", _("Online Help"), NULL, NULL, G_CALLBACK(action_help_cb) },
-		{ "SupportedSchemes", NULL, _("Supported Protocols"), NULL, NULL, G_CALLBACK(action_supported_schemes_cb) },
-		{ "About", "help-abount", NULL, NULL, NULL, G_CALLBACK(action_about_cb) }
-	};
+		{"File", NULL, N_("_File"), NULL, NULL, NULL},
+		{"Edit", NULL, N_("_Edit"), NULL, NULL, NULL},
+		{"Actions", NULL, N_("_Actions"), NULL, NULL, NULL},
+		{"View", NULL, N_("_View"), NULL, NULL, NULL},
+		{"Help", NULL, N_("_Help"), NULL, NULL, NULL},
+		{"Preferences", "preferences-system",
+		 N_("_Preferences"), "<Ctrl>p", NULL, G_CALLBACK(action_preferences_cb)},
+		{"CreateBookmark", "list-add",
+		 N_("Create _Bookmark"), "<Ctrl>n", NULL, G_CALLBACK(action_create_bookmark_cb)},
+		{"EditBookmarks", "gtk-edit",
+		 N_("_Edit Bookmarks"), "<Ctrl>b",
+		 N_("Open the bookmark manager to add, edit or delete bookmarks"),
+		 G_CALLBACK(action_bookmark_edit_cb)},
+		{"Connect", "gtk-connect", N_("_Connect"), NULL, NULL, G_CALLBACK(action_mount_cb)},
+		{"Disconnect", "gtk-disconnect", N_("_Disconnect"), NULL,
+		 N_("Disconnect the selected resource"), G_CALLBACK(action_unmount_cb)},
+		{"Open", "document-open", N_("_Open"), "<Ctrl>o",
+		 N_("Open the selected resource with a file manager"), G_CALLBACK(action_open_cb)},
+		{"OpenTerminal", NULL, _("Open in _Terminal"), "<Ctrl>t",
+		 N_("Start a terminal from here"), G_CALLBACK(action_open_terminal_cb)},
+		{"CopyURI", "edit-copy", N_("Copy _URI"), "<Ctrl>c", NULL, G_CALLBACK(action_copy_uri_cb)},
+		{"Quit", "application-exit", N_("_Quit"), "<Ctrl>q", N_("Quit Gigolo"), G_CALLBACK(action_quit_cb)},
+		{"OnlineHelp", "go-home", _("Online Help"), NULL, NULL, G_CALLBACK(action_help_cb)},
+		{"SupportedSchemes", NULL, _("Supported Protocols"), NULL, NULL, G_CALLBACK(action_supported_schemes_cb)},
+		{"About", "help-about", N_("_About"), NULL, NULL, G_CALLBACK(action_about_cb)}};
 	const guint entries_n = G_N_ELEMENTS(entries);
 
 	const GtkToggleActionEntry toggle_entries[] = {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list