From eaf289e8ebb017f7de4081a1564737da044dd341 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sat, 4 Jul 2020 07:15:29 +0200 Subject: Switch automatically to a tab when user-requested This changes behavior but doesn't breaks meaning nor documentation and significantly improves usability. So meant to be applied directly into 1.0.x release branch. Closes: https://gitlab.com/lanodan/badWolf/-/issues/8 --- keybindings.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'keybindings.c') diff --git a/keybindings.c b/keybindings.c index 75860ed..95e3fd5 100644 --- a/keybindings.c +++ b/keybindings.c @@ -14,7 +14,7 @@ about_dialogCb_activate_link(GtkAboutDialog *about_dialog, gchar *uri, gpointer (void)about_dialog; struct Window *window = (struct Window *)user_data; - badwolf_new_tab(GTK_NOTEBOOK(window->notebook), new_browser(window, uri, NULL)); + badwolf_new_tab(GTK_NOTEBOOK(window->notebook), new_browser(window, uri, NULL), FALSE); gtk_widget_destroy(GTK_WIDGET(about_dialog)); @@ -112,7 +112,9 @@ commonCb_key_press_event(struct Window *window, GdkEvent *event, struct Client * { case GDK_KEY_Page_Down: gtk_notebook_next_page(notebook); return TRUE; case GDK_KEY_Page_Up: gtk_notebook_prev_page(notebook); return TRUE; - case GDK_KEY_t: badwolf_new_tab(notebook, new_browser(window, NULL, NULL)); return TRUE; + case GDK_KEY_t: + badwolf_new_tab(notebook, new_browser(window, NULL, NULL), TRUE); + return TRUE; } } } -- cgit v1.3.1-23-gd82d From 639fcd202b64af2707208ef92872fce6bc0eafe3 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sun, 25 Oct 2020 03:03:56 +0100 Subject: Update badwolf's description in code as well --- keybindings.c | 2 +- po/fr.po | 11 +++++------ po/messages.pot | 6 +++--- po/pt_BR.po | 6 +++--- po/tr.po | 6 +++--- 5 files changed, 15 insertions(+), 16 deletions(-) (limited to 'keybindings.c') diff --git a/keybindings.c b/keybindings.c index ef33aaa..13f2a48 100644 --- a/keybindings.c +++ b/keybindings.c @@ -29,7 +29,7 @@ badwolf_about_dialog(GtkWindow *main_window, gpointer user_data) char *comments = NULL; - comments = g_strdup_printf(_("Minimalist and privacy-oriented WebKitGTK+ browser\n" + comments = g_strdup_printf(_("Minimalist and privacy-oriented web browser based on WebKitGTK\n" "Runtime WebKit version: %d.%d.%d"), webkit_get_major_version(), webkit_get_minor_version(), diff --git a/po/fr.po b/po/fr.po index d938819..ec8fcc9 100644 --- a/po/fr.po +++ b/po/fr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Badwolf 0.3.0+gd88f2e7\n" "Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n" -"POT-Creation-Date: 2020-10-25 02:35+0100\n" +"POT-Creation-Date: 2020-10-25 02:59+0100\n" "PO-Revision-Date: 2019-12-22 00:57+0100\n" "Last-Translator: Haelwenn (lanodan) Monnier \n" "Language-Team: French\n" @@ -18,17 +18,17 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: downloads.c:117 -#, fuzzy, c-format +#, c-format msgid "%02i:%02i:%02i Download cancelled" msgstr "%02i:%02i:%02i Téléchargement annulé" #: downloads.c:119 -#, fuzzy, c-format +#, c-format msgid "%02i:%02i:%02i Download error" msgstr "%02i:%02i:%02i Erreur du téléchargement" #: downloads.c:141 -#, fuzzy, c-format +#, c-format msgid "%02i:%02i:%02i Download finished" msgstr "%02i:%02i:%02i Téléchargement finit" @@ -135,7 +135,7 @@ msgstr "Erreur : L'identité ne correspond pas à celle attendue.\n" #: keybindings.c:32 #, c-format msgid "" -"Minimalist and privacy-oriented WebKitGTK+ browser\n" +"Minimalist and privacy-oriented web browser based on WebKitGTK\n" "Runtime WebKit version: %d.%d.%d" msgstr "" "Navigateur WebKitGTK+ minimaliste et orienté vie privée\n" @@ -169,7 +169,6 @@ msgid "TLS Error for %s." msgstr "Erreur TLS pour %s." #: badwolf.c:439 -#, fuzzy msgid "Temporarily Add Exception" msgstr "Ajouter Temporairement une Exception" diff --git a/po/messages.pot b/po/messages.pot index dfddb74..aef9ca2 100644 --- a/po/messages.pot +++ b/po/messages.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Badwolf 1.0.3+g0391361.develop\n" +"Project-Id-Version: Badwolf 1.0.3+g15232cd.develop\n" "Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n" -"POT-Creation-Date: 2020-10-25 02:35+0100\n" +"POT-Creation-Date: 2020-10-25 02:59+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -129,7 +129,7 @@ msgstr "" #: keybindings.c:32 #, c-format msgid "" -"Minimalist and privacy-oriented WebKitGTK+ browser\n" +"Minimalist and privacy-oriented web browser based on WebKitGTK\n" "Runtime WebKit version: %d.%d.%d" msgstr "" diff --git a/po/pt_BR.po b/po/pt_BR.po index 56f5ea0..5320ec9 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Badwolf 0.4.0+g607300e\n" "Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n" -"POT-Creation-Date: 2020-10-25 02:35+0100\n" +"POT-Creation-Date: 2020-10-25 02:59+0100\n" "PO-Revision-Date: 2020-05-17 20:18-0300\n" "Last-Translator: Pedro Lucas Porcellis \n" "Language-Team: Brazilian Portuguese\n" @@ -132,9 +132,9 @@ msgid "Error: The given identity doesn't match the expected one.\n" msgstr "Erro: A identidade não confere com a esperada.\n" #: keybindings.c:32 -#, c-format +#, fuzzy, c-format msgid "" -"Minimalist and privacy-oriented WebKitGTK+ browser\n" +"Minimalist and privacy-oriented web browser based on WebKitGTK\n" "Runtime WebKit version: %d.%d.%d" msgstr "" "Navegador orientado pela privacidade e minimalismo\n" diff --git a/po/tr.po b/po/tr.po index 5c387ee..b7dbda9 100644 --- a/po/tr.po +++ b/po/tr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Badwolf 1.0.2+g17b9802.develop\n" "Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n" -"POT-Creation-Date: 2020-10-25 02:35+0100\n" +"POT-Creation-Date: 2020-10-25 02:59+0100\n" "PO-Revision-Date: 2020-07-17 23:50+0300\n" "Last-Translator: Oğuz Ersen \n" "Language-Team: Turkish\n" @@ -132,9 +132,9 @@ msgid "Error: The given identity doesn't match the expected one.\n" msgstr "Hata: Verilen kimlik beklenen ile eşleşmiyor.\n" #: keybindings.c:32 -#, c-format +#, fuzzy, c-format msgid "" -"Minimalist and privacy-oriented WebKitGTK+ browser\n" +"Minimalist and privacy-oriented web browser based on WebKitGTK\n" "Runtime WebKit version: %d.%d.%d" msgstr "" "Sadelik ve gizlilik odaklı WebKitGTK+ tarayıcısı\n" -- cgit v1.3.1-23-gd82d From 46ce59c9d63a8ab20117b5eb85afb52c0d6390a1 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Fri, 9 Apr 2021 07:44:41 +0200 Subject: Update copyright year --- COPYING | 2 +- README.md | 2 +- badwolf.c | 2 +- keybindings.c | 4 ++-- uri.c | 2 +- uri_test.c | 2 +- usr.bin.badwolf | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) (limited to 'keybindings.c') diff --git a/COPYING b/COPYING index 6ba3f5f..ff830e0 100644 --- a/COPYING +++ b/COPYING @@ -1,4 +1,4 @@ -Copyright (c) 2019-2020, Badwolf Authors +Copyright (c) 2019-2021, Badwolf Authors All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/README.md b/README.md index 8dd6cf2..d2f194b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Minimalist and privacy-oriented WebKitGTK+ browser. Homepage: ``` -Copyright © 2019-2020 Badwolf Authors +Copyright © 2019-2021 Badwolf Authors SPDX-License-Identifier: BSD-3-Clause ``` diff --git a/badwolf.c b/badwolf.c index bad849d..bf5d183 100644 --- a/badwolf.c +++ b/badwolf.c @@ -1,5 +1,5 @@ // BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser -// Copyright © 2019-2020 Badwolf Authors +// Copyright © 2019-2021 Badwolf Authors // SPDX-License-Identifier: BSD-3-Clause #include "badwolf.h" diff --git a/keybindings.c b/keybindings.c index 13f2a48..bfc8f7a 100644 --- a/keybindings.c +++ b/keybindings.c @@ -1,5 +1,5 @@ // BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser -// Copyright © 2019-2020 Badwolf Authors +// Copyright © 2019-2021 Badwolf Authors // SPDX-License-Identifier: BSD-3-Clause #include "keybindings.h" @@ -42,7 +42,7 @@ badwolf_about_dialog(GtkWindow *main_window, gpointer user_data) "SPDX-License-Identifier: BSD-3-Clause"); gtk_about_dialog_set_copyright( GTK_ABOUT_DIALOG(about_dialog), - "2019-2020 Badwolf Authors "); + "2019-2021 Badwolf Authors "); gtk_about_dialog_set_website(GTK_ABOUT_DIALOG(about_dialog), homepage); gtk_about_dialog_set_comments(GTK_ABOUT_DIALOG(about_dialog), comments); gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(about_dialog), version); diff --git a/uri.c b/uri.c index 912bf86..3cbc1d6 100644 --- a/uri.c +++ b/uri.c @@ -1,5 +1,5 @@ // BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser -// Copyright © 2019-2020 Badwolf Authors +// Copyright © 2019-2021 Badwolf Authors // SPDX-License-Identifier: BSD-3-Clause #include "uri.h" diff --git a/uri_test.c b/uri_test.c index a153817..28bdde9 100644 --- a/uri_test.c +++ b/uri_test.c @@ -1,5 +1,5 @@ // BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser -// Copyright © 2019-2020 Badwolf Authors +// Copyright © 2019-2021 Badwolf Authors // SPDX-License-Identifier: BSD-3-Clause #include "uri.h" diff --git a/usr.bin.badwolf b/usr.bin.badwolf index 0ebce5d..861ee9f 100644 --- a/usr.bin.badwolf +++ b/usr.bin.badwolf @@ -1,5 +1,5 @@ # BadWolf: Minimalist and privacy-oriented WebKitGTK+ browser -# Copyright © 2019-2020 Badwolf Authors +# Copyright © 2019-2021 Badwolf Authors # SPDX-License-Identifier: BSD-3-Clause # # Made on Gentoo Linux with PREFIX=/usr -- cgit v1.3.1-23-gd82d