Added icon for the recent sub-menus of the Project and Multiproject menus. eric7

Sat, 08 Jun 2024 19:11:03 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 08 Jun 2024 19:11:03 +0200
branch
eric7
changeset 10758
1fd5ea95c0e3
parent 10757
7eed48700225
child 10759
aeb98b3fa008
child 10760
f702f6781b05

Added icon for the recent sub-menus of the Project and Multiproject menus.

src/eric7/HexEdit/HexEditMainWindow.py file | annotate | diff | comparison | revisions
src/eric7/MultiProject/MultiProject.py file | annotate | diff | comparison | revisions
src/eric7/Project/Project.py file | annotate | diff | comparison | revisions
src/eric7/icons/breeze-dark/multiProjectOpenRecent.svg file | annotate | diff | comparison | revisions
src/eric7/icons/breeze-dark/projectOpenRecent.svg file | annotate | diff | comparison | revisions
src/eric7/icons/breeze-light/multiProjectOpenRecent.svg file | annotate | diff | comparison | revisions
src/eric7/icons/breeze-light/projectOpenRecent.svg file | annotate | diff | comparison | revisions
--- a/src/eric7/HexEdit/HexEditMainWindow.py	Sat Jun 08 18:13:18 2024 +0200
+++ b/src/eric7/HexEdit/HexEditMainWindow.py	Sat Jun 08 19:11:03 2024 +0200
@@ -183,7 +183,7 @@
         # correct texts will be set later
         self.openAct = EricAction(
             self.tr("Open"),
-            EricPixmapCache.getIcon("documentOpen"),
+            EricPixmapCache.getIcon("open"),
             self.tr("&Open..."),
             QKeySequence(self.tr("Ctrl+O", "File|Open")),
             0,
--- a/src/eric7/MultiProject/MultiProject.py	Sat Jun 08 18:13:18 2024 +0200
+++ b/src/eric7/MultiProject/MultiProject.py	Sat Jun 08 19:11:03 2024 +0200
@@ -817,6 +817,7 @@
         """
         menu = QMenu(self.tr("&Multiproject"), self.parent())
         self.recentMenu = QMenu(self.tr("Open &Recent Multiprojects"), menu)
+        self.recentMenu.setIcon(EricPixmapCache.getIcon("multiProjectOpenRecent"))
 
         self.__menus = {
             "Main": menu,
--- a/src/eric7/Project/Project.py	Sat Jun 08 18:13:18 2024 +0200
+++ b/src/eric7/Project/Project.py	Sat Jun 08 19:11:03 2024 +0200
@@ -5248,6 +5248,7 @@
         """
         menu = QMenu(self.tr("&Project"), self.parent())
         self.recentMenu = QMenu(self.tr("Open &Recent Projects"), menu)
+        self.recentMenu.setIcon(EricPixmapCache.getIcon("projectOpenRecent"))
         self.sessionMenu = QMenu(self.tr("Session"), menu)
         self.debuggerMenu = QMenu(self.tr("Debugger"), menu)
         self.environmentMenu = QMenu(self.tr("Embedded Environment"), menu)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/icons/breeze-dark/multiProjectOpenRecent.svg	Sat Jun 08 19:11:03 2024 +0200
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   version="1.1"
+   viewBox="0 0 22 22"
+   id="svg5767"
+   sodipodi:docname="multiProjectOpenRecent.svg"
+   inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview5769"
+     pagecolor="#ffffff"
+     bordercolor="#000000"
+     borderopacity="0.25"
+     inkscape:showpageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1"
+     showgrid="false"
+     inkscape:zoom="46.681818"
+     inkscape:cx="11.449854"
+     inkscape:cy="11.235638"
+     inkscape:window-width="2580"
+     inkscape:window-height="1326"
+     inkscape:window-x="861"
+     inkscape:window-y="55"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="svg5767" />
+  <defs
+     id="defs5755">
+    <style
+       type="text/css"
+       id="style5753">.ColorScheme-Text {
+        color:#eff0f1;
+      }</style>
+  </defs>
+  <g
+     fill="#eff0f1"
+     id="g5763">
+    <path
+       class="ColorScheme-Text"
+       d="m2.1875 11.5v1.1875h-1.1875v1.7812h1.1875v3.5625h-1.1875v1.7812h1.1875v1.1875h8.3125v-9.5zm0.59375 0.59375h7.125v1.1875h-7.125v-0.59375zm0 1.7812h7.125v6.5312h-7.125z"
+       color="#eff0f1"
+       id="path5757" />
+    <path
+       class="ColorScheme-Text"
+       d="m2.1875 1v1.1875h-1.1875v1.7812h1.1875v3.5625h-1.1875v1.7812h1.1875v1.1875h8.3125v-9.5zm0.59375 0.59375h7.125v1.1875h-7.125v-0.59375zm0 1.7812h7.125v6.5312h-7.125z"
+       color="#eff0f1"
+       id="path5759" />
+    <path
+       class="ColorScheme-Text"
+       d="m12.688 1v1.1875h-1.1875v1.7812h1.1875v3.5625h-1.1875v1.7812h1.1875v1.1875h8.3125v-9.5zm0.59375 0.59375h7.125v1.1875h-7.125v-0.59375zm0 1.7812h7.125v6.5312h-7.125z"
+       color="#eff0f1"
+       id="path5761" />
+  </g>
+  <path
+     style="color:#eff0f1;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:0.75"
+     d="M 16.5,12 C 14.014718,12 12,14.014719 12,16.5 12,18.985281 14.014718,21 16.5,21 18.98528,21 21,18.985281 21,16.5 21,14.014719 18.98528,12 16.5,12 Z m 0,0.75 c 2.071067,0 3.749999,1.678932 3.749999,3.75 0,2.071068 -1.678932,3.75 -3.749999,3.75 -2.071068,0 -3.75,-1.678932 -3.75,-3.75 0,-2.071068 1.678932,-3.75 3.75,-3.75 z m -0.75,0.75 v 3 0.75 h 3.749999 V 16.5 H 16.5 v -3 z"
+     class="ColorScheme-Text"
+     id="path4" />
+</svg>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/icons/breeze-dark/projectOpenRecent.svg	Sat Jun 08 19:11:03 2024 +0200
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   version="1.1"
+   viewBox="0 0 22 22"
+   id="svg1216"
+   sodipodi:docname="projectOpenRecent.svg"
+   inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview1218"
+     pagecolor="#ffffff"
+     bordercolor="#000000"
+     borderopacity="0.25"
+     inkscape:showpageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1"
+     showgrid="false"
+     inkscape:zoom="46.681818"
+     inkscape:cx="11.578384"
+     inkscape:cy="11.299903"
+     inkscape:window-width="2580"
+     inkscape:window-height="1242"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="svg1216" />
+  <defs
+     id="defs1210">
+    <style
+       type="text/css"
+       id="style1208">.ColorScheme-Text {
+        color:#eff0f1;
+      }</style>
+  </defs>
+  <path
+     d="m3.5 1v2.5h-2.5v3.75h2.5v7.5h-2.5v3.75h2.5v2.5h7.5v-1.25h-6.25v-13.75h15v5h1.25v-10h-17.5zm1.25 1.25h15v2.5h-15v-2.5z"
+     color="#eff0f1"
+     fill="currentColor"
+     id="path1212" />
+  <path
+     style="color:#eff0f1;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:0.75"
+     d="M 16.5,12 C 14.014718,12 12,14.014719 12,16.5 12,18.985281 14.014718,21 16.5,21 18.98528,21 21,18.985281 21,16.5 21,14.014719 18.98528,12 16.5,12 Z m 0,0.75 c 2.071067,0 3.749999,1.678932 3.749999,3.75 0,2.071068 -1.678932,3.75 -3.749999,3.75 -2.071068,0 -3.75,-1.678932 -3.75,-3.75 0,-2.071068 1.678932,-3.75 3.75,-3.75 z m -0.75,0.75 v 3 0.75 h 3.749999 V 16.5 H 16.5 v -3 z"
+     class="ColorScheme-Text"
+     id="path4" />
+</svg>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/icons/breeze-light/multiProjectOpenRecent.svg	Sat Jun 08 19:11:03 2024 +0200
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   version="1.1"
+   viewBox="0 0 22 22"
+   id="svg5767"
+   sodipodi:docname="multiProjectOpenRecent.svg"
+   inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview5769"
+     pagecolor="#ffffff"
+     bordercolor="#000000"
+     borderopacity="0.25"
+     inkscape:showpageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1"
+     showgrid="false"
+     inkscape:zoom="46.681818"
+     inkscape:cx="11.449854"
+     inkscape:cy="11.235638"
+     inkscape:window-width="2580"
+     inkscape:window-height="1326"
+     inkscape:window-x="861"
+     inkscape:window-y="55"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="svg5767" />
+  <defs
+     id="defs5755">
+    <style
+       type="text/css"
+       id="style5753">.ColorScheme-Text {
+        color:#232629;
+      }</style>
+  </defs>
+  <g
+     fill="#232629"
+     id="g5763"
+     style="fill:#232629;fill-opacity:1">
+    <path
+       class="ColorScheme-Text"
+       d="m2.1875 11.5v1.1875h-1.1875v1.7812h1.1875v3.5625h-1.1875v1.7812h1.1875v1.1875h8.3125v-9.5zm0.59375 0.59375h7.125v1.1875h-7.125v-0.59375zm0 1.7812h7.125v6.5312h-7.125z"
+       color="#232629"
+       id="path5757"
+       style="fill:#232629;fill-opacity:1" />
+    <path
+       class="ColorScheme-Text"
+       d="m2.1875 1v1.1875h-1.1875v1.7812h1.1875v3.5625h-1.1875v1.7812h1.1875v1.1875h8.3125v-9.5zm0.59375 0.59375h7.125v1.1875h-7.125v-0.59375zm0 1.7812h7.125v6.5312h-7.125z"
+       color="#232629"
+       id="path5759"
+       style="fill:#232629;fill-opacity:1" />
+    <path
+       class="ColorScheme-Text"
+       d="m12.688 1v1.1875h-1.1875v1.7812h1.1875v3.5625h-1.1875v1.7812h1.1875v1.1875h8.3125v-9.5zm0.59375 0.59375h7.125v1.1875h-7.125v-0.59375zm0 1.7812h7.125v6.5312h-7.125z"
+       color="#232629"
+       id="path5761"
+       style="fill:#232629;fill-opacity:1" />
+  </g>
+  <path
+     style="color:#232629;fill:#232629;fill-opacity:1;stroke:none;stroke-width:0.75"
+     d="M 16.5,12 C 14.014718,12 12,14.014719 12,16.5 12,18.985281 14.014718,21 16.5,21 18.98528,21 21,18.985281 21,16.5 21,14.014719 18.98528,12 16.5,12 Z m 0,0.75 c 2.071067,0 3.749999,1.678932 3.749999,3.75 0,2.071068 -1.678932,3.75 -3.749999,3.75 -2.071068,0 -3.75,-1.678932 -3.75,-3.75 0,-2.071068 1.678932,-3.75 3.75,-3.75 z m -0.75,0.75 v 3 0.75 h 3.749999 V 16.5 H 16.5 v -3 z"
+     class="ColorScheme-Text"
+     id="path4" />
+</svg>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/icons/breeze-light/projectOpenRecent.svg	Sat Jun 08 19:11:03 2024 +0200
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   version="1.1"
+   viewBox="0 0 22 22"
+   id="svg1216"
+   sodipodi:docname="projectOpenRecent.svg"
+   inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <sodipodi:namedview
+     id="namedview1218"
+     pagecolor="#ffffff"
+     bordercolor="#000000"
+     borderopacity="0.25"
+     inkscape:showpageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     inkscape:deskcolor="#d1d1d1"
+     showgrid="false"
+     inkscape:zoom="46.681818"
+     inkscape:cx="11.578384"
+     inkscape:cy="11.299903"
+     inkscape:window-width="2580"
+     inkscape:window-height="1242"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="svg1216" />
+  <defs
+     id="defs1210">
+    <style
+       type="text/css"
+       id="style1208">.ColorScheme-Text {
+        color:#232629;
+      }</style>
+  </defs>
+  <path
+     d="m3.5 1v2.5h-2.5v3.75h2.5v7.5h-2.5v3.75h2.5v2.5h7.5v-1.25h-6.25v-13.75h15v5h1.25v-10h-17.5zm1.25 1.25h15v2.5h-15v-2.5z"
+     color="#232629"
+     fill="currentColor"
+     id="path1212"
+     style="fill:#232629;fill-opacity:1" />
+  <path
+     style="color:#232629;fill:#232629;fill-opacity:1;stroke:none;stroke-width:0.75"
+     d="M 16.5,12 C 14.014718,12 12,14.014719 12,16.5 12,18.985281 14.014718,21 16.5,21 18.98528,21 21,18.985281 21,16.5 21,14.014719 18.98528,12 16.5,12 Z m 0,0.75 c 2.071067,0 3.749999,1.678932 3.749999,3.75 0,2.071068 -1.678932,3.75 -3.749999,3.75 -2.071068,0 -3.75,-1.678932 -3.75,-3.75 0,-2.071068 1.678932,-3.75 3.75,-3.75 z m -0.75,0.75 v 3 0.75 h 3.749999 V 16.5 H 16.5 v -3 z"
+     class="ColorScheme-Text"
+     id="path4" />
+</svg>

eric ide

mercurial