diff --git a/content/settings.js b/content/settings.js index cc8e5a3..7ba9bf8 100644 --- a/content/settings.js +++ b/content/settings.js @@ -106,4 +106,6 @@ function disableAll() { document.getElementById("customcloseorder-pref").value = 4; document.getElementById("closebeforeafternotother-pref").value = false; + + document.getElementById("tabsidebarcollapseonfullscreen-pref").value = true; } diff --git a/content/settings.xul b/content/settings.xul index 57ca6e3..139b735 100644 --- a/content/settings.xul +++ b/content/settings.xul @@ -20,6 +20,8 @@ + + @@ -111,6 +113,15 @@ + + + + + + + + diff --git a/content/tabkit.js b/content/tabkit.js index f7096b9..2659be9 100644 --- a/content/tabkit.js +++ b/content/tabkit.js @@ -6109,6 +6109,10 @@ window.tabkit = new function _tabkit() { // Primarily just a 'namespace' to hide // Good for HTML5 full screen video viewing this.onFullScreenToggle = function onFullScreenToggle(event) { + + var isMaxFullScreenAllowed = _prefs.getBoolPref("tabSidebarCollapseOnFullscreen"); + if (!isMaxFullScreenAllowed) return; + var tabsToolbar = document.getElementById("TabsToolbar"); //FF4+ tabbar // This value is the value before switch, tested in FF 31.1.0 & 36.0.1 var isFullScreenBeforeEvent = window.fullScreen; diff --git a/defaults/preferences/defaults.js b/defaults/preferences/defaults.js index 846e734..2fc3626 100644 --- a/defaults/preferences/defaults.js +++ b/defaults/preferences/defaults.js @@ -118,6 +118,11 @@ pref("extensions.tabkit@jomel.me.uk.description", "chrome://tabkit/locale/tabkit //} +//{ ### Fullscreen related ### +pref("extensions.tabkit.tabSidebarCollapseOnFullscreen", true); + + + //// Max no. of recent windows to keep (0 to disable completely, -1 for unlimited) //pref("extensions.tabkit.maxRecentWindows", 10); diff --git a/locale/en-US/settings.dtd b/locale/en-US/settings.dtd index a46255e..16adfbe 100644 --- a/locale/en-US/settings.dtd +++ b/locale/en-US/settings.dtd @@ -38,6 +38,9 @@ + + + diff --git a/locale/fr-FR/firstRunWizard.dtd b/locale/fr-FR/firstRunWizard.dtd new file mode 100644 index 0000000..2680b47 --- /dev/null +++ b/locale/fr-FR/firstRunWizard.dtd @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/locale/fr-FR/overlay.dtd b/locale/fr-FR/overlay.dtd new file mode 100644 index 0000000..706a716 --- /dev/null +++ b/locale/fr-FR/overlay.dtd @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/locale/fr-FR/settings.dtd b/locale/fr-FR/settings.dtd new file mode 100644 index 0000000..b10f312 --- /dev/null +++ b/locale/fr-FR/settings.dtd @@ -0,0 +1,200 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/locale/fr-FR/tabkit.properties b/locale/fr-FR/tabkit.properties new file mode 100644 index 0000000..f9e3ac1 --- /dev/null +++ b/locale/fr-FR/tabkit.properties @@ -0,0 +1,18 @@ +extensions.tabkit@jomel.me.uk.description=Tab grouping, vertical tab tree, multi-rows, and other tweaks. + +tab_kit = Tab Kit +doubleclickcollapse_warning = Vous avez double cliqué sur un groupe d'onglets. Par défaut ceci le replie. Pour le redéplier double cliquez le une seconde fois ou cliquez sur le bouton + qui est apparu. Si vous souhaitez désactiver ce comportement, décochez Tab Kit Options -> Contrôles -> Double cliquer sur un groupe pour le plier/déplier. +doubleclickcollapse_dont_mention_again = J'ai compris, ne me le répétez pas. +incompatible_warning = Tab Kit est considéré comme étant incompatible avec %1$S. Il est recommandé que vous désactiviez %1$S ou que vous désactiviez Tab Kit (vous pourrez rechanger ceci via le menu Outils->Extensions). +incompatible_disable = Désactiver %1$S +incompatible_ignore = Ignorer +incompatible_dont_ask_again = Ne pas le redemander +incompatible_restart = Tab Kit sera (ré)activé après un redémarrage de Firefox. +incompatible_restart_now = Redémarrer maintenant +incompatible_restart_later = Je redémarrerai plus tard +regroup_warning = Votre sélection inclut des onglets déjà groupés. Êtes-vous sûr de vouloir les changer de groupe ? +regroup_warning_prompt_me = M'avertir quand j'essaie de regrouper des groupes d'onglets existants +mark_as_unread = Marquer comme non lu +mark_as_read = Marquer comme lu +search_tabs = Chercher des onglets +include_page_text = Inclure le texte de la page