Entropy/Spritz:

- reworked the About window


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2024 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-05-28 14:26:20 +00:00
parent eb8e2ccb88
commit eb5b70baa9
3 changed files with 18 additions and 27 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 16 KiB

+7 -6
View File
@@ -629,17 +629,17 @@ class EntryDialog:
return self.entry.get_text()
else:
return None
def destroy( self ):
return self.dialog.destroy()
return self.dialog.destroy()
class AboutDialog(gtk.Window):
""" Class for a fancy "About" dialog.
Mostly ripped from the one in gDesklets
""" Class for a fancy "About" dialog.
Mostly ripped from the one in gDesklets
"""
def __init__(self, gfx,creditText,title="Spritz Package Manager"):
def __init__(self, gfx, creditText, title = "Spritz Package Manager"):
self.__is_stopped = True
self.__scroller_values = ()
@@ -654,6 +654,7 @@ class AboutDialog(gtk.Window):
self.connect("key-press-event", self.__on_close)
self.connect("delete-event", self.__on_close)
self.add_events(gtk.gdk.BUTTON_PRESS_MASK)
self.set_decorated(False)
fixed = gtk.Fixed()
self.add(fixed)
@@ -675,7 +676,7 @@ class AboutDialog(gtk.Window):
text += "\n\n\n\n"
text = "<big>" + text.strip() + "</big>"
mycredits = gtk.Label(text)
mycredits = gtk.Label("<span foreground='#FFFFFF'>%s</span>" % (text,))
mycredits.set_use_markup(True)
mycredits.set_justify(gtk.JUSTIFY_CENTER)
+11 -21
View File
@@ -84,28 +84,18 @@ class const:
(_("Programming:"),
("Fabio Erculiani",)),
(_("Yum Extender Programmers:"),
("Tim Lauridsen", "David Zamirski")),
(_("Translation:"),
("Tim Lauridsen (Danish)",
"MATSUURA Takanori (Japanese)",
"Rodrigo Padula de Oliveira (Brazilian)",
"Eric Tanguy (French)",
"Soohyung Cho (Korean)",
"Danilo (Italian)",
"Serta . YILDIZ (Turkish)",
"Dawid Zamirski, Patryk Zawadzki (Polish)",
"Piotr Drag (Polish)",
"Tero Hietanen (Finnish)",
"Dieter Komendera (German)",
"Maxim Dziumanenko (Ukrainian)",
"Novotny Lukas (Czech)",
"Szll Tams (Hungarian)",
"Leonid Kanter, Nikita (Russian)",
"Diego Alonso (Spanish)",
"A Singh Alam (Punjabi)",
"Hao Song (Chinese(Simplified))")),
(
"Joost Ruis (Dutch)",
"Fabio Erculiani (Italian)",
"Roger Calvò (Catalan)",
"??? (Spanish)",
"??? (French)",
"??? (German)",
"??? (Polish)",
"??? (Russian)",
)
),
(_("Dedicated to:"),