Changeset 4242 for zero-center
- Timestamp:
- Apr 12, 2017, 9:23:16 PM (4 years ago)
- Location:
- zero-center/trunk/fuentes
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
zero-center/trunk/fuentes/install-files/usr/share/zero-center/zero-center.py
r4239 r4242 17 17 gi.require_version('Gtk', '3.0') 18 18 gi.require_version('PangoCairo', '1.0') 19 20 19 from gi.repository import Gtk, Gdk, GObject, GLib, PangoCairo, Pango 21 20 … … 116 115 #print("[ZeroCenter] Parsing apps...") 117 116 self.parse_all() 118 119 117 120 118 #def init … … 499 497 box-shadow: 0px 2px 5px rgba(0,0,0,0.8); 500 498 501 }499 } 502 500 503 501 #APPBUTTON:hover{ … … 508 506 border-color: transparent; 509 507 border: none; 510 box-shadow: 0px 1px 10px rgba(0,0,0,1); 508 box-shadow: 0px 1px 8px rgba(0,0,0,1); 509 } 510 511 GtkSeparator { 512 color: rgba(255,255,255,0.8); 511 513 } 512 514 … … 994 996 995 997 def add_categories_to_window(self,category): 996 998 997 999 for category in self.categories_parser.categories: 998 1000 1001 icon=category["icon"] 999 1002 category=category["name"].lower() 1003 1000 1004 once=True 1001 1005 hbox=Gtk.HBox() … … 1044 1048 hbox.show_all() 1045 1049 if once: 1046 self.add_label(self.get_translation(category) )1050 self.add_label(self.get_translation(category),icon) 1047 1051 once=False 1048 1052 self.content_hbox.pack_start(hbox,False,False,10) … … 1055 1059 hbox.show_all() 1056 1060 if once: 1057 self.add_label(self.get_translation(category) )1061 self.add_label(self.get_translation(category),icon) 1058 1062 once=False 1063 hbox.set_halign(Gtk.Align.START) 1064 hbox.set_margin_left(20) 1059 1065 self.content_hbox.pack_start(hbox,False,False,5) 1060 1066 1061 1067 #def add_categories_to_window 1062 1068 1063 1069 1070 1071 1064 1072 def add_label(self,label_name,icon_name=None): 1065 1073 1066 1074 if icon_name==None: 1067 icon_name=" applications-internet"1075 icon_name="system" 1068 1076 1069 1077 tmpbox=Gtk.HBox() … … 1073 1081 label.set_name("WHITE-15") 1074 1082 expander=Gtk.HSeparator() 1075 tmpbox.pack_start(img,False,False,5) 1076 tmpbox.pack_start(label,False,False,0) 1077 tmpbox.pack_start(expander,True,True,14) 1083 tmpbox.set_margin_left(10) 1084 tmpbox.pack_start(img,False,False,0) 1085 tmpbox.pack_start(label,False,False,10) 1086 tmpbox.pack_start(expander,True,True,5) 1078 1087 tmpbox.show_all() 1079 1088 self.content_hbox.pack_start(tmpbox,False,False,5) -
zero-center/trunk/fuentes/install-zero-center-common/usr/share/zero-center/categories/documentation
r101 r4242 3 3 name[ca_ES@valencia]=Documentació 4 4 name[ca_ES]=Documentació 5 icon=documentation_section 5 6 level=10 -
zero-center/trunk/fuentes/install-zero-center-common/usr/share/zero-center/categories/hardware
r101 r4242 3 3 name[es_ES]=Hardware 4 4 name[ca_ES@valencia]=Maquinari 5 icon=system 5 6 level=80 -
zero-center/trunk/fuentes/install-zero-center-common/usr/share/zero-center/categories/java
r101 r4242 3 3 name[es_ES]=Java 4 4 name[ca_ES@valencia]=Java 5 icon=applications-java 5 6 level=65 -
zero-center/trunk/fuentes/install-zero-center-common/usr/share/zero-center/categories/network
r101 r4242 3 3 name[es_ES]=Red 4 4 name[ca_ES@valencia]=Xarxa 5 icon=applications-internet 5 6 level=90 -
zero-center/trunk/fuentes/install-zero-center-common/usr/share/zero-center/categories/preferences
r101 r4242 3 3 name[es_ES]=Preferencias 4 4 name[ca_ES@valencia]=Preferències 5 icon=preferences-desktop 5 6 level=60 -
zero-center/trunk/fuentes/install-zero-center-common/usr/share/zero-center/categories/software
r101 r4242 3 3 name[es_ES]=Software 4 4 name[ca_ES@valencia]=Programari 5 icon=applications-utilities 5 6 level=70 -
zero-center/trunk/fuentes/install-zero-center-common/usr/share/zero-center/categories/system
r101 r4242 3 3 name[es_ES]=Sistema 4 4 name[ca_ES@valencia]=Sistema 5 icon=applications-system 5 6 level=100
Note: See TracChangeset
for help on using the changeset viewer.