Changeset 4239 for zero-center/trunk
- Timestamp:
- Apr 12, 2017, 6:07:48 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zero-center/trunk/fuentes/install-files/usr/share/zero-center/zero-center.py
r3737 r4239 490 490 491 491 492 #APPBUTTON{ 493 494 padding: 0px 0px; 495 border:none; 496 background-image: none; 497 box-shadow: none; 498 background-color: transparent; 499 box-shadow: 0px 2px 5px rgba(0,0,0,0.8); 500 501 } 502 492 503 #APPBUTTON:hover{ 493 494 background-image: -gtk-gradient (linear, left top, left bottom, from (#ffffff), to (#ffff00)); 504 505 506 border-width: 0; 507 border-radius: 0px; 508 border-color: transparent; 509 border: none; 510 box-shadow: 0px 1px 10px rgba(0,0,0,1); 495 511 } 496 512 … … 984 1000 once=True 985 1001 hbox=Gtk.HBox() 1002 hbox.set_margin_left(10) 1003 hbox.set_margin_right(10) 986 1004 count=0 987 1005 if category in self.app_parser.apps: … … 1012 1030 button.connect("motion-notify-event",self.mouse_over,app,image) 1013 1031 button.connect("leave_notify_event",self.mouse_left,app,image) 1014 button.set_size_request(245,120)1032 #button.set_size_request(245,120) 1015 1033 1016 1034 button.add(image) … … 1021 1039 button.connect("clicked",self.app_clicked,app) 1022 1040 app["gtk_button"]=button 1023 hbox.pack_start(button, False,False,5)1041 hbox.pack_start(button,True,False,0) 1024 1042 count+=1 1025 1043 if count==3: … … 1028 1046 self.add_label(self.get_translation(category)) 1029 1047 once=False 1030 self.content_hbox.pack_start(hbox,False,False, 5)1048 self.content_hbox.pack_start(hbox,False,False,10) 1031 1049 count=0 1032 1050 hbox=Gtk.HBox() 1051 hbox.set_margin_left(10) 1052 hbox.set_margin_right(10) 1033 1053 1034 1054 if count!=0: … … 1485 1505 1486 1506 zc.start_gui() 1507
Note: See TracChangeset
for help on using the changeset viewer.