Browse Source

update gitignore + début de mise à jour vers bullseye

master
arpinux 11 months ago
parent
commit
5a70d92a57
  1. 2
      .gitignore
  2. 6
      changelog
  3. 2
      copyright
  4. 2
      handymenu.equivs
  5. 6
      hm-scripts/handymenu-configuration.py
  6. 8
      hm-scripts/handymenu.py
  7. 8
      hm-scripts/hm-start.py
  8. 4
      hm-scripts/hm_utils.py

2
.gitignore

@ -2,3 +2,5 @@
**/*.deb
*.pdf
*.deb
*.buildinfo
*.changes

6
changelog

@ -1,3 +1,9 @@
handymenu (4.5-1) bullseye; urgency=medium
* minifixes + Thuban vs prx
-- arnault perret <contact@arpinux.org> Wed, 30 Jun 2021 01:01:42 +0200
handymenu (4.4) buster; urgency=medium
* remove python2 dependencies (thx David5647

2
copyright

@ -2,7 +2,7 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: handymenu
Files: *
Copyright: 2014-2020 arnault perret <contact@arpinux.org>
Copyright: 2014-2021 arnault perret <contact@arpinux.org>
2015-2017 Xavier Cartron <thuban@yeuxdelibad.net>
License: GPL-3+
This package is free software; you can redistribute it and/or modify

2
handymenu.equivs

@ -4,7 +4,7 @@ Homepage: https://debian-facile.org
Standards-Version: 3.9.2
Package: handymenu
Version: 4.4
Version: 4.5-1
Copyright: copyright
Changelog: changelog
Readme: readme

6
hm-scripts/handymenu-configuration.py

@ -86,7 +86,7 @@ homepage : <a href="{3}" title="HandyMenu homepage">{3}</a>').format(version, au
btnbox = m.get_action_area()
for btn in btnbox: # il n'y en a qu'un
btn.set_label(("HandyLinux rejoint Debian-Facile"))
btn.set_label(("HandyLinux pour Debian-Facile"))
btn.set_image(image)
btn.set_image_position(Gtk.PositionType.TOP)
@ -356,7 +356,7 @@ homepage : <a href="{3}" title="HandyMenu homepage">{3}</a>').format(version, au
applist.pack_start(hb, False,False, 10)
dragdrophelp = Gtk.Label(("Pour ajouter une application, glissez-là dans la liste"))
dragdrophelp = Gtk.Label(("Pour ajouter une application, glissez-la dans la liste"))
applist.pack_start(dragdrophelp, False,False, 2)
for a in s['apps']:
@ -413,7 +413,7 @@ homepage : <a href="{3}" title="HandyMenu homepage">{3}</a>').format(version, au
self.window = Gtk.Window(Gtk.WindowType.TOPLEVEL)
self.window.connect("delete_event", self.close_application)
self.window.set_title("Handymenu configuration")
self.window.set_title("Configuration du HandyMenu")
self.window.set_border_width(0)
else:
self.window.remove(self.mainbox)

8
hm-scripts/handymenu.py

@ -148,7 +148,7 @@ class Handymenu():
image.set_from_icon_name("image-missing", Gtk.IconSize.DIALOG)
except:
image.set_from_icon_name("image-missing", Gtk.IconSize.DIALOG)
elif ext == ".ico":
if os.path.isfile(icon):
pixbuf = Pixbuf.new_from_file(icon)
@ -160,7 +160,7 @@ class Handymenu():
elif len(icon.split('/')) == 2: # mimetype?
icon = content_type_get_icon(icon)
image.set_from_gicon(icon, Gtk.IconSize.DIALOG)
else:
image.set_from_icon_name(icon, Gtk.IconSize.DIALOG)
@ -199,14 +199,14 @@ class Handymenu():
self.closeafterrun = widget.get_active()
if not self.closeafterrun: #on enregistre de ne pas fermer
with open(noclose,'w') as n:
n.write('Thuban veut un câlin :P')
n.write('prx veut un câlin :P')
else:
if os.path.isfile(noclose): #on ferme la prochiane fois
os.remove(noclose)
def make_menu(self):
"""build the menu"""
# Conteneur principal
# Conteneur principal
mainbox = Gtk.EventBox()
# pour utiliser la couleur de fond du thème GTK

8
hm-scripts/hm-start.py

@ -3,8 +3,8 @@
"""
HandyMenu : menu principal de la distribution
HandyLinux <https://handylinux.org>
HandyMenu : menu alternatif pour DFiso par Debian-Facile
<https://debian-facile.org>
Auteurs : Xavier Cartron <thuban@yeuxdelibad.net>
licence : GNU General Public Licence v3
@ -18,9 +18,9 @@ from handymenu import *
def main():
menu = Handymenu()
menu.start()
return 0
return 0
if __name__ == "__main__":
if __name__ == "__main__":
main()

4
hm-scripts/hm_utils.py

@ -32,7 +32,7 @@ iconsize = 64
button_width = 22
win_max_width = 750
version = "4.2"
auteur = "thuban"
auteur = "prx"
licence = "GPLv3"
homepage = "https://debian-facile.org"
@ -639,7 +639,7 @@ hm_default_sections = \
{'name' : ("Git de Debian-Facile"),\
'generic': ("Sources du projet DFiso"),\
'icon' : "/usr/share/handymenu/icons/sources.png",\
'cmd' : "x-www-browser https://debian-facile.org/git/ProjetsDF/dfiso-buster"\
'cmd' : "x-www-browser https://debian-facile.org/git/ProjetsDF/dfiso-bullseye"\
},\
]\
}\

Loading…
Cancel
Save