diff --git a/data/org.gnome.Gtranslator.desktop.in.in b/data/org.gnome.Gtranslator.desktop.in.in index 44213468b0884e04e7127279907f89ca8cb2db43..c4db0ba5c273eba6e1ac1712f5a623ff2b33d157 100644 --- a/data/org.gnome.Gtranslator.desktop.in.in +++ b/data/org.gnome.Gtranslator.desktop.in.in @@ -11,3 +11,9 @@ StartupNotify=true MimeType=text/x-gettext-translation;text/x-gettext-translation-template; Categories=GNOME;GTK;Development;Utility;Translation; Keywords=Gtranslator;Translation;Editor;Gettext;Write; +Actions=new-window; + +[Desktop Action new-window] +Exec=gtranslator +Name=New Window +Icon=window-new diff --git a/src/gtr-application.c b/src/gtr-application.c index 3c75ca401166a483b702485202d71977a21ba867..6a7ed047de4b9d72b82ba603825910aa4b16acc4 100644 --- a/src/gtr-application.c +++ b/src/gtr-application.c @@ -574,7 +574,7 @@ static GActionEntry app_entries[] = { { "find", find_activated, NULL, NULL, NULL }, { "find-next", find_next_activated, NULL, NULL, NULL }, { "find-prev", find_prev_activated, NULL, NULL, NULL }, - { "new_window", new_window_activated, NULL, NULL, NULL }, + { "new-window", new_window_activated, NULL, NULL, NULL }, { "preferences", preferences_activated, NULL, NULL, NULL }, { "edit_header", edit_header_activated, NULL, NULL, NULL }, { "clear_msgstr", clear_msgstr_activated, NULL, NULL, NULL }, diff --git a/src/gtr-dl-teams.ui b/src/gtr-dl-teams.ui index 1443ca14cc2cb955603d1bd0f98e3300144fc19d..56a6ab5c1005515f1e690bd958f7a395f94d25df 100644 --- a/src/gtr-dl-teams.ui +++ b/src/gtr-dl-teams.ui @@ -5,7 +5,7 @@
New Window - app.new_window + app.new-window Preferences diff --git a/src/gtr-projects.ui b/src/gtr-projects.ui index f9cdba8a0f7c53b075acc070b3a7207e8a3c744a..7c68b6a39dd72b5b6578d811dc9139a8b2f138d1 100644 --- a/src/gtr-projects.ui +++ b/src/gtr-projects.ui @@ -5,7 +5,7 @@
New Window - app.new_window + app.new-window Preferences diff --git a/src/gtr-tab.ui b/src/gtr-tab.ui index 44f40c1dfd56f1482b23c835e24b1d057b1ee815..b3093b2a33f4ee85abf1e54c6c149bc6890a6f14 100644 --- a/src/gtr-tab.ui +++ b/src/gtr-tab.ui @@ -258,7 +258,7 @@
New Window - app.new_window + app.new-window Preferences