]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/commitdiff
Fix zoom decrement icon. https://redmine.stoutner.com/issues/1230
authorSoren Stoutner <soren@stoutner.com>
Mon, 14 Oct 2024 23:48:33 +0000 (16:48 -0700)
committerSoren Stoutner <soren@stoutner.com>
Mon, 14 Oct 2024 23:48:33 +0000 (16:48 -0700)
doc/index.docbook
src/windows/BrowserWindow.cpp

index a9c5ac32a1beb14d5f7a618d6bd9f76b8b3d613a..f40ecc3746a4b3f938fe9db88b9fb1efb58dbb5d 100644 (file)
                         </listitem>
                     </varlistentry>
 
+                    <!-- Open with Firefox. -->
+                    <varlistentry  id="file-open-with-firefox">
+                        <term>
+                            <menuchoice>
+                                <shortcut>
+                                    <keycombo action="simul">&Alt;<keycap>F</keycap></keycombo>
+                                </shortcut>
+
+                                <guimenu>File</guimenu>
+
+                                <guimenuitem>Open with Firefox</guimenuitem>
+                            </menuchoice>
+                        </term>
+
+                        <listitem>
+                            <para>
+                                Open the current URL in Firefox.  This entry only displays if Firefox is installed.
+                            </para>
+                        </listitem>
+                    </varlistentry>
+
+                    <!-- Open with Chromium. -->
+                    <varlistentry  id="file-open-with-chromium">
+                        <term>
+                            <menuchoice>
+                                <shortcut>
+                                    <keycombo action="simul">&Alt;<keycap>C</keycap></keycombo>
+                                </shortcut>
+
+                                <guimenu>File</guimenu>
+
+                                <guimenuitem>Open with Chromium</guimenuitem>
+                            </menuchoice>
+                        </term>
+
+                        <listitem>
+                            <para>
+                                Open the current URL in Chromium.  This entry only displays if Chromium is installed.
+                            </para>
+                        </listitem>
+                    </varlistentry>
+
                     <!-- Quit. -->
                     <varlistentry  id="file-quit">
                         <term>
 
         <!-- Version 0.6.2. -->
         <sect1 id="version_0.6.2">
-            <title>0.6.2 - 30 September 2024</title>
+            <title><ulink url="https://www.stoutner.com/privacy-browser-pc-0-6-2/">0.6.2</ulink> -
+                <ulink url="https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=commitdiff;h=b9083b1fd4aecc77cc090508d9448050b88c69ed;ds=sidebyside">30 September 2024</ulink></title>
 
             <itemizedlist>
                 <listitem><para>Fix a <ulink url="https://redmine.stoutner.com/issues/1226">PIE/PIC crash</ulink> in the Ubuntu packages (hopefully).</para></listitem>
index 4e9f3035da4ff1d7c611f8a9ffbeb314f11dd295..c101c8e9a27f271d78ea9dda6d675579bfda586f 100644 (file)
@@ -14,7 +14,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with Privacy Browser PC.  If not, see <http://www.gnu.org/licenses/>.
+ * along with Privacy Browser PC.  If not, see <https://www.gnu.org/licenses/>.
  */
 
 // Application headers.
@@ -498,8 +498,8 @@ BrowserWindow::BrowserWindow(bool firstWindow, QString *initialUrlStringPointer)
     findTextLineEditPointer->setClearButtonEnabled(true);
 
     // Add the actions to the URL line edit.
-    bookmarkedActionPointer = urlLineEditPointer->addAction(QIcon::fromTheme("non-starred-symbolic"), QLineEdit::LeadingPosition);
-    QAction *addOrEditDomainSettingsActionPointer = urlLineEditPointer->addAction(QIcon::fromTheme("settings-configure", QIcon::fromTheme(QLatin1String("preferences-desktop"))),
+    bookmarkedActionPointer = urlLineEditPointer->addAction(QIcon::fromTheme(QLatin1String("non-starred-symbolic")), QLineEdit::LeadingPosition);
+    QAction *addOrEditDomainSettingsActionPointer = urlLineEditPointer->addAction(QIcon::fromTheme(QLatin1String("settings-configure"), QIcon::fromTheme(QLatin1String("preferences-desktop"))),
                                                                                   QLineEdit::TrailingPosition);
 
     // Set the bookmarked action pointer to be checkable.
@@ -554,8 +554,8 @@ BrowserWindow::BrowserWindow(bool firstWindow, QString *initialUrlStringPointer)
     zoomPlusButtonPointer = new QPushButton();
 
     // Set the button icons.
-    zoomMinusButtonPointer->setIcon(QIcon::fromTheme(QStringLiteral("list-remove-symbolic")));
-    zoomPlusButtonPointer->setIcon(QIcon::fromTheme(QStringLiteral("list-add-symbolic")));
+    zoomMinusButtonPointer->setIcon(QIcon::fromTheme(QLatin1String("spinbox-decrease"), QIcon::fromTheme(QLatin1String("list-remove-symbolic"))));
+    zoomPlusButtonPointer->setIcon(QIcon::fromTheme(QLatin1String("spinbox-increase"), QIcon::fromTheme(QLatin1String("list-add-symbolic"))));
 
     // Set the button icons to be flat (no borders).
     zoomMinusButtonPointer->setFlat(true);