Generic names

This commit is contained in:
Clement Lefebvre 2009-07-29 22:50:43 +02:00
parent e4e01974bb
commit 590bb21fe2
25 changed files with 397 additions and 56 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
mintmenu (4.8.1) helena; urgency=low
* Blueprint implemented: https://blueprints.launchpad.net/linuxmint/+spec/generic-branding
-- Clement Lefebvre <root@linuxmint.com> Wed, 29 Jul 2009 22:48:00 +0000
mintmenu (4.7.9) gloria; urgency=low mintmenu (4.7.9) gloria; urgency=low
* Fix: Hitting enter on search does nothing (https://bugs.launchpad.net/bugs/399990) * Fix: Hitting enter on search does nothing (https://bugs.launchpad.net/bugs/399990)

4
debian/control vendored
View File

@ -7,6 +7,6 @@ Standards-Version: 3.7.2
Package: mintmenu Package: mintmenu
Architecture: all Architecture: all
Depends: python (>= 2.4), python (<< 3), python-gtk2, python-glade2, mintsystem, mintinstall, deskbar-applet Depends: python (>= 2.4), python (<< 3), python-gtk2, python-glade2, mintinstall, deskbar-applet
Description: The Linux Mint Menu for Gnome Description: Advanced Gnome menu
One of the most advanced menus under Linux. MintMenu supports filtering, favorites, easy-uninstallation, autosession, and many other features. One of the most advanced menus under Linux. MintMenu supports filtering, favorites, easy-uninstallation, autosession, and many other features.

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-27 12:44+0200\n" "POT-Creation-Date: 2009-07-29 22:50+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -16,32 +16,36 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: usr/lib/linuxmint/mintMenu/mintMenu.py:264 #: usr/lib/linuxmint/mintMenu/mintMenu.py:44
msgid "Menu"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:265
msgid "Couldn't load plugin:" msgid "Couldn't load plugin:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:338 #: usr/lib/linuxmint/mintMenu/mintMenu.py:339
msgid "Couldn't initialize plugin" msgid "Couldn't initialize plugin"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:583 #: usr/lib/linuxmint/mintMenu/mintMenu.py:584
msgid "Preferences" msgid "Preferences"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:583 #: usr/lib/linuxmint/mintMenu/mintMenu.py:584
msgid "Edit menu" msgid "Edit menu"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:583 #: usr/lib/linuxmint/mintMenu/mintMenu.py:584
msgid "Reload plugins" msgid "Reload plugins"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:583 #: usr/lib/linuxmint/mintMenu/mintMenu.py:584
msgid "About" msgid "About"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:761 #: usr/lib/linuxmint/mintMenu/mintMenu.py:762
msgid "GNOME Menu for Linux Mint" msgid "Advanced Gnome Menu"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenu.py:765 #: usr/lib/linuxmint/mintMenu/mintMenu.py:765
@ -78,111 +82,111 @@ msgid "Packages to be removed"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:42 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:42
msgid "mintMenu Preferences" msgid "Menu preferences"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:44
msgid "Show sidepane"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:45 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:45
msgid "Show button icon" msgid "Show sidepane"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:46 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:46
msgid "Use custom colors" msgid "Show button icon"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:47 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:47
msgid "Use custom colors"
msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:48
msgid "Show recent documents" msgid "Show recent documents"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:49 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:50
msgid "Show application comments" msgid "Show application comments"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:50 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:51
msgid "Show category icons" msgid "Show category icons"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:51 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:52
msgid "Hover" msgid "Hover"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:52 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:53
msgid "Swap name and generic name" msgid "Swap name and generic name"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:54 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:55
msgid "Border width:" msgid "Border width:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:55 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:56
msgid "pixels" msgid "pixels"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:56 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:57
msgid "Button text:" msgid "Button text:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:57 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:58
msgid "Options" msgid "Options"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:58 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:59
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:193 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:193
msgid "Applications" msgid "Applications"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:60 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:61
msgid "Colors" msgid "Colors"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:61 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:62
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:179 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:179
#: usr/lib/linuxmint/mintMenu/plugins/applications.py:184 #: usr/lib/linuxmint/mintMenu/plugins/applications.py:184
msgid "Favorites" msgid "Favorites"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:62 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:63
msgid "Main button" msgid "Main button"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:64 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:65
msgid "Background:" msgid "Background:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:65 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:66
msgid "Headings:" msgid "Headings:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:66 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:67
msgid "Borders:" msgid "Borders:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:70 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:71
msgid "Number of columns:" msgid "Number of columns:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:71
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:72 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:72
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:73 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:73
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:74
msgid "Icon size:" msgid "Icon size:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:74 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:75
msgid "Hover delay (ms):" msgid "Hover delay (ms):"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:75 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:76
msgid "Button icon:" msgid "Button icon:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:76 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:77
msgid "Search command:" msgid "Search command:"
msgstr "" msgstr ""
#: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:78 #: usr/lib/linuxmint/mintMenu/mintMenuConfig.py:79
msgid "Keyboard shortcut:" msgid "Keyboard shortcut:"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@
<item value="IDL:Bonobo/Unknown:1.0"/> <item value="IDL:Bonobo/Unknown:1.0"/>
</oaf_attribute> </oaf_attribute>
<oaf_attribute name="name" type="string" value="mintMenu"/> <oaf_attribute name="name" type="string" value="mintMenu"/>
<oaf_attribute name="description" type="string" value="Linux Mint Menu for Gnome"/> <oaf_attribute name="description" type="string" value="Advanced Gnome Menu"/>
</oaf_server> </oaf_server>
<oaf_server iid="OAFIID:GNOME_mintMenu" <oaf_server iid="OAFIID:GNOME_mintMenu"
@ -19,8 +19,8 @@
<item value="IDL:Bonobo/Unknown:1.0"/> <item value="IDL:Bonobo/Unknown:1.0"/>
</oaf_attribute> </oaf_attribute>
<oaf_attribute name="name" type="string" value="mintMenu"/> <oaf_attribute name="name" type="string" value="mintMenu"/>
<oaf_attribute name="description" type="string" value="Linux Mint Menu for Gnome"/> <oaf_attribute name="description" type="string" value="Advanced Gnome Menu"/>
<oaf_attribute name="panel:category" type="string" value="Utilities"/> <oaf_attribute name="panel:category" type="string" value="Utilities"/>
<oaf_attribute name="panel:icon" type="string" value="/usr/lib/linuxmint/mintSystem/icon.png"/> <oaf_attribute name="panel:icon" type="string" value="/usr/lib/linuxmint/mintMenu/icon.png"/>
</oaf_server> </oaf_server>
</oaf_info> </oaf_info>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1,317 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg5535"
sodipodi:version="0.32"
inkscape:version="0.46"
width="48"
height="48"
version="1.0"
sodipodi:docname="start-here.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<metadata
id="metadata5540">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs5538">
<filter
inkscape:collect="always"
id="filter7858">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.64"
id="feGaussianBlur7860" />
</filter>
<linearGradient
inkscape:collect="always"
id="linearGradient6611">
<stop
style="stop-color:#e85290;stop-opacity:1"
offset="0"
id="stop6613" />
<stop
style="stop-color:#bf0361;stop-opacity:1"
offset="1"
id="stop6615" />
</linearGradient>
<linearGradient
id="linearGradient6601"
inkscape:collect="always">
<stop
id="stop6603"
offset="0"
style="stop-color:#ad7fa8;stop-opacity:1" />
<stop
id="stop6605"
offset="1"
style="stop-color:#75507b;stop-opacity:1" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient6591">
<stop
style="stop-color:#729fcf;stop-opacity:1"
offset="0"
id="stop6593" />
<stop
style="stop-color:#3465a4;stop-opacity:1"
offset="1"
id="stop6595" />
</linearGradient>
<linearGradient
id="linearGradient6581"
inkscape:collect="always">
<stop
id="stop6583"
offset="0"
style="stop-color:#a7cc5c;stop-opacity:1" />
<stop
id="stop6585"
offset="1"
style="stop-color:#789e2d;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient6575"
inkscape:collect="always">
<stop
id="stop6577"
offset="0"
style="stop-color:#fcaf3e;stop-opacity:1" />
<stop
id="stop6579"
offset="1"
style="stop-color:#f57900;stop-opacity:1" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient5791">
<stop
style="stop-color:#da3f3f;stop-opacity:1"
offset="0"
id="stop5793" />
<stop
style="stop-color:#c22f2f;stop-opacity:1"
offset="1"
id="stop5795" />
</linearGradient>
<linearGradient
id="linearGradient6294"
inkscape:collect="always">
<stop
id="stop6296"
offset="0"
style="stop-color:#729fcf;stop-opacity:1" />
<stop
id="stop6298"
offset="1"
style="stop-color:#3465a4;stop-opacity:1" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6294"
id="linearGradient6292"
gradientUnits="userSpaceOnUse"
x1="19"
y1="3.0000007"
x2="19"
y2="18"
gradientTransform="translate(-5,3.9999994)" />
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective5542" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient5791"
id="linearGradient5789"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1429757,0,0,0.6429385,-6.7872308,23.248602)"
x1="19"
y1="3.0000007"
x2="19"
y2="18" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6575"
id="linearGradient6569"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1429757,0,0,0.6429385,-40.678532,32.037943)"
x1="26.826355"
y1="4.0636735"
x2="11.992722"
y2="17.492601" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6581"
id="linearGradient6573"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1429757,0,0,0.6429385,-65.245115,7.0102764)"
x1="26.735985"
y1="17.215584"
x2="11.902351"
y2="3.7866566" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6591"
id="linearGradient6589"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1429757,0,0,0.6429385,-55.787223,-26.751398)"
x1="19.936752"
y1="18.277639"
x2="19.936752"
y2="2.7240522" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6601"
id="linearGradient6599"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1429757,0,0,0.6429385,-22.082454,-35.040741)"
x1="12.172246"
y1="16.938021"
x2="26.568424"
y2="2.1621132" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6611"
id="linearGradient6609"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1429757,0,0,0.6429385,2.5773728,-10.174637)"
x1="12.10242"
y1="2.7241075"
x2="26.498598"
y2="17.500015" />
</defs>
<sodipodi:namedview
inkscape:window-height="968"
inkscape:window-width="1680"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
guidetolerance="10.0"
gridtolerance="10.0"
objecttolerance="10.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
showgrid="true"
inkscape:zoom="7.71875"
inkscape:cx="18.726553"
inkscape:cy="25.624675"
inkscape:window-x="0"
inkscape:window-y="25"
inkscape:current-layer="svg5535">
<inkscape:grid
type="xygrid"
id="grid5546"
visible="true"
enabled="true" />
</sodipodi:namedview>
<path
style="opacity:0.2;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.88271606000000002;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.69999992000000000;stroke-opacity:1;filter:url(#filter7858)"
d="M 2.8125,2.5 C 2.64733,2.5 2.5,2.640172 2.5,2.8125 L 2.5,17.1875 C 2.5,17.359828 2.64733,17.500001 2.8125,17.5 L 17.1875,17.5 C 17.35267,17.5 17.5,17.359829 17.5,17.1875 L 17.5,2.8125 C 17.5,2.640172 17.35267,2.5 17.1875,2.5 L 2.8125,2.5 z"
id="path7884"
sodipodi:nodetypes="ccccccccc"
transform="matrix(1.2108075,0,0,0.7441408,3.3919256,22.558593)" />
<rect
style="opacity:1;fill:url(#linearGradient5789);fill-opacity:1;fill-rule:nonzero;stroke:#a40000;stroke-width:0.99993312;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4.19999981;stroke-dasharray:none;stroke-opacity:1"
id="rect6290"
width="16.000067"
height="9.0000668"
x="7.4999666"
y="25.499968"
ry="0.00060319039" />
<path
style="opacity:0.2;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.88271606;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.69999992;stroke-opacity:1;filter:url(#filter7858)"
d="M 2.8125,2.5 C 2.64733,2.5 2.5,2.640172 2.5,2.8125 L 2.5,17.1875 C 2.5,17.359828 2.64733,17.500001 2.8125,17.5 L 17.1875,17.5 C 17.35267,17.5 17.5,17.359829 17.5,17.1875 L 17.5,2.8125 C 17.5,2.640172 17.35267,2.5 17.1875,2.5 L 2.8125,2.5 z"
id="path5516"
sodipodi:nodetypes="ccccccccc"
transform="matrix(-0.6054038,-1.0485901,-0.6444448,0.3720704,28.175229,26.7883)" />
<rect
style="opacity:1;fill:url(#linearGradient6609);fill-opacity:1;fill-rule:nonzero;stroke:#9c0f56;stroke-width:0.99993312;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4.19999981;stroke-dasharray:none;stroke-opacity:1"
id="rect6607"
width="16.000067"
height="9.0000668"
x="16.864559"
y="-7.9232697"
ry="0.00060319039"
transform="matrix(0.5,0.8660254,-0.8660254,0.5,0,0)" />
<path
style="opacity:0.2;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.88271606000000002;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.69999992000000000;stroke-opacity:1;filter:url(#filter7858)"
d="M 2.8125,2.5 C 2.64733,2.5 2.5,2.640172 2.5,2.8125 L 2.5,17.1875 C 2.5,17.359828 2.64733,17.500001 2.8125,17.5 L 17.1875,17.5 C 17.35267,17.5 17.5,17.359829 17.5,17.1875 L 17.5,2.8125 C 17.5,2.640172 17.35267,2.5 17.1875,2.5 L 2.8125,2.5 z"
id="path6654"
sodipodi:nodetypes="ccccccccc"
transform="matrix(0.6054038,-1.0485901,0.6444448,0.3720704,12.178257,20.7883)" />
<rect
style="opacity:1;fill:url(#linearGradient6599);fill-opacity:1;fill-rule:nonzero;stroke:#5c3566;stroke-width:0.99993312000000001;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4.19999980999999956;stroke-dasharray:none;stroke-opacity:1"
id="rect6597"
width="16.000067"
height="9.0000668"
x="-7.7952662"
y="-32.789375"
ry="0.00060319039"
transform="matrix(-0.5,0.8660254,-0.8660254,-0.5,0,0)" />
<path
style="opacity:0.2;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.88271606000000002;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.69999992000000000;stroke-opacity:1;filter:url(#filter7858)"
d="M 2.8125,2.5 C 2.64733,2.5 2.5,2.640172 2.5,2.8125 L 2.5,17.1875 C 2.5,17.359828 2.64733,17.500001 2.8125,17.5 L 17.1875,17.5 C 17.35267,17.5 17.5,17.359829 17.5,17.1875 L 17.5,2.8125 C 17.5,2.640172 17.35267,2.5 17.1875,2.5 L 2.8125,2.5 z"
id="path6652"
sodipodi:nodetypes="ccccccccc"
transform="matrix(1.2108075,0,0,0.7441408,21.391925,12.558592)" />
<rect
style="opacity:1;fill:url(#linearGradient6589);fill-opacity:1;fill-rule:nonzero;stroke:#204a87;stroke-width:0.99993312000000001;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4.19999980999999956;stroke-dasharray:none;stroke-opacity:1"
id="rect6587"
width="16.000067"
height="9.0000668"
x="-41.500034"
y="-24.500034"
ry="0.00060319039"
transform="scale(-1,-1)" />
<path
style="opacity:0.2;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.88271606;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.69999992;stroke-opacity:1;filter:url(#filter7858)"
d="M 2.8125,2.5 C 2.64733,2.5 2.5,2.640172 2.5,2.8125 L 2.5,17.1875 C 2.5,17.359828 2.64733,17.500001 2.8125,17.5 L 17.1875,17.5 C 17.35267,17.5 17.5,17.359829 17.5,17.1875 L 17.5,2.8125 C 17.5,2.640172 17.35267,2.5 17.1875,2.5 L 2.8125,2.5 z"
id="path5520"
sodipodi:nodetypes="ccccccccc"
transform="matrix(0.6054038,1.0485901,0.6444448,-0.3720704,21.178257,24.257906)" />
<rect
style="opacity:1;fill:url(#linearGradient6573);fill-opacity:1;fill-rule:nonzero;stroke:#42770c;stroke-width:0.99993312000000001;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4.19999980999999956;stroke-dasharray:none;stroke-opacity:1"
id="rect6571"
width="16.000067"
height="9.0000668"
x="-50.957924"
y="9.2616434"
ry="0.00060319039"
transform="matrix(-0.5,-0.8660254,0.8660254,-0.5,0,0)" />
<path
style="opacity:0.2;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.88271606000000002;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.69999992000000000;stroke-opacity:1;filter:url(#filter7858)"
d="M 2.8125,2.5 C 2.64733,2.5 2.5,2.640172 2.5,2.8125 L 2.5,17.1875 C 2.5,17.359828 2.64733,17.500001 2.8125,17.5 L 17.1875,17.5 C 17.35267,17.5 17.5,17.359829 17.5,17.1875 L 17.5,2.8125 C 17.5,2.640172 17.35267,2.5 17.1875,2.5 L 2.8125,2.5 z"
id="path6648"
sodipodi:nodetypes="ccccccccc"
transform="matrix(0.6054038,-1.0485901,0.6444448,0.3720704,12.178257,41.7883)" />
<rect
style="opacity:1;fill:url(#linearGradient6569);fill-opacity:1;fill-rule:nonzero;stroke:#ce5c00;stroke-width:0.99993312000000001;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4.19999980999999956;stroke-dasharray:none;stroke-opacity:1"
id="rect6567"
width="16.000067"
height="9.0000668"
x="-26.391335"
y="34.28931"
ry="0.00060319039"
transform="matrix(0.5,-0.8660254,0.8660254,0.5,0,0)" />
</svg>

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -33,14 +33,16 @@ except Exception, cause:
try: try:
import dl import dl
libc = dl.open( "/lib/libc.so.6" ) libc = dl.open( "/lib/libc.so.6" )
libc.call( "prctl", 15, "mintMenu", 0, 0, 0 ) libc.call( "prctl", 15, "mintmenu", 0, 0, 0 )
libc.close() libc.close()
except ImportError: except ImportError:
pass pass
# i18n
gettext.install("messages", "/usr/lib/linuxmint/mintMenu/locale")
NAME = u"mintMenu" NAME = _("Menu")
ICON = "/usr/lib/linuxmint/mintSystem/icon.png" ICON = "/usr/lib/linuxmint/mintMenu/icon.svg"
PATH = os.path.abspath( os.path.dirname( sys.argv[0] ) ) PATH = os.path.abspath( os.path.dirname( sys.argv[0] ) )
sys.path.append( os.path.join( PATH , "plugins") ) sys.path.append( os.path.join( PATH , "plugins") )
@ -52,8 +54,7 @@ from easybuttons import iconManager
from easygconf import EasyGConf from easygconf import EasyGConf
from execute import * from execute import *
# i18n
gettext.install("messages", "/usr/lib/linuxmint/mintMenu/locale")
class MainWindow( object ): class MainWindow( object ):
"""This is the main class for the application""" """This is the main class for the application"""
@ -639,7 +640,7 @@ class MenuWin( object ):
self.hideIcon = self.gconf.get( "bool", "hide_applet_icon", False ) self.hideIcon = self.gconf.get( "bool", "hide_applet_icon", False )
self.buttonText = self.gconf.get( "string", "applet_text", "Menu" ) self.buttonText = self.gconf.get( "string", "applet_text", "Menu" )
self.hotkeyText = self.gconf.get( "string", "hot_key", "<Control>Super_L" ) self.hotkeyText = self.gconf.get( "string", "hot_key", "<Control>Super_L" )
self.buttonIcon = self.gconf.get( "string", "applet_icon", "/usr/lib/linuxmint/mintMenu/mintMenu.png" ) self.buttonIcon = self.gconf.get( "string", "applet_icon", "/usr/lib/linuxmint/mintMenu/icon.png" )
self.setIconSize( self.gconf.get( "int", "applet_icon_size", 2 ) ) self.setIconSize( self.gconf.get( "int", "applet_icon_size", 2 ) )
def setIconSize( self, icon_size): def setIconSize( self, icon_size):
@ -744,12 +745,12 @@ class MenuWin( object ):
gtk.about_dialog_set_email_hook( lambda dialog, mail: gnomevfs.url_show( "mailto:" + mail ) ) gtk.about_dialog_set_email_hook( lambda dialog, mail: gnomevfs.url_show( "mailto:" + mail ) )
gtk.about_dialog_set_url_hook( lambda dialog, url: gnomevfs.url_show( url ) ) gtk.about_dialog_set_url_hook( lambda dialog, url: gnomevfs.url_show( url ) )
about = gtk.AboutDialog() about = gtk.AboutDialog()
about.set_name( NAME ) about.set_name("mintMenu")
import commands import commands
version = commands.getoutput("mint-apt-version mintmenu") version = commands.getoutput("/usr/lib/linuxmint/mintMenu/version.py")
about.set_version(version) about.set_version(version)
try: try:
h = open('/usr/lib/linuxmint/mintSystem/GPL.txt','r') h = open('/usr/share/common-licenses/GPL','r')
s = h.readlines() s = h.readlines()
gpl = "" gpl = ""
for line in s: for line in s:
@ -758,12 +759,11 @@ class MenuWin( object ):
about.set_license(gpl) about.set_license(gpl)
except Exception, detail: except Exception, detail:
print detail print detail
about.set_comments( _("GNOME Menu for Linux Mint") ) about.set_comments( _("Advanced Gnome Menu") )
about.set_authors( ["Clement Lefebvre <clem@linuxmint.com>", "Lars-Peter Clausen <lars@laprican.de>"] ) about.set_authors( ["Clement Lefebvre <clem@linuxmint.com>", "Lars-Peter Clausen <lars@laprican.de>"] )
about.set_translator_credits(("translator-credits") ) about.set_translator_credits(("translator-credits") )
about.set_website( "http://www.linuxmint.com" )
about.set_copyright( _("Based on USP from S.Chanderbally") ) about.set_copyright( _("Based on USP from S.Chanderbally") )
about.set_logo( gtk.gdk.pixbuf_new_from_file("/usr/lib/linuxmint/mintSystem/icon.png") ) about.set_logo( gtk.gdk.pixbuf_new_from_file("/usr/lib/linuxmint/mintMenu/icon.svg") )
about.connect( "response", lambda dialog, r: dialog.destroy() ) about.connect( "response", lambda dialog, r: dialog.destroy() )
about.show() about.show()

View File

@ -39,7 +39,8 @@ class mintMenuConfig( object ):
#i18n #i18n
wTree.get_widget("mainWindow").set_title(_("mintMenu Preferences")) wTree.get_widget("mainWindow").set_title(_("Menu preferences"))
wTree.get_widget("mainWindow").set_icon_from_file("/usr/lib/linuxmint/mintMenu/icon.svg")
wTree.get_widget("showSidepane").set_label(_("Show sidepane")) wTree.get_widget("showSidepane").set_label(_("Show sidepane"))
wTree.get_widget("showButtonIcon").set_label(_("Show button icon")) wTree.get_widget("showButtonIcon").set_label(_("Show button icon"))

View File

@ -97,7 +97,7 @@ class pluginclass( object ):
#Add standard items #Add standard items
def do_standard_items( self ): def do_standard_items( self ):
Button1 = easyButton( "/usr/lib/linuxmint/mintSystem/icon.png", self.iconsize, [_("Software manager")], -1, -1 ) Button1 = easyButton( "/usr/lib/linuxmint/mintInstall/icon.svg", self.iconsize, [_("Software manager")], -1, -1 )
Button1.connect( "clicked", self.ButtonClicked, "mintinstall" ) Button1.connect( "clicked", self.ButtonClicked, "mintinstall" )
Button1.show() Button1.show()
self.systemBtnHolder.pack_start( Button1, False, False ) self.systemBtnHolder.pack_start( Button1, False, False )

View File

@ -0,0 +1,13 @@
#!/usr/bin/python
import apt
import sys
try:
cache = apt.Cache()
pkg = cache["mintmenu"]
print pkg.installedVersion
except:
pass

Binary file not shown.