source: projects/specs/trunk/g/gdm2setup/gdm2setup-0.5.3-vine.patch @ 6581

Revision 6581, 2.6 KB checked in by Takemikaduchi, 12 years ago (diff)

cogl: bug fix
others: new upstream release

RevLine 
[6581]1--- gdm2setup-0.5.3-lucid/gdm2/gdm2gconf.py.orig        2010-03-21 04:29:48.000000000 +0900
2+++ gdm2setup-0.5.3-lucid/gdm2/gdm2gconf.py     2012-07-16 17:18:12.000000000 +0900
3@@ -44,7 +44,7 @@ class GDM2Theme(object): 
4     GDMCONF_FILE = u"/etc/gdm/custom.conf"
[4019]5     THEMES_DIRECTORY = u"/usr/share/themes/"
6     ICONS_DIRECTORY = u"/usr/share/icons/"
7-    XSPLASH_IMAGE_LOCATION = u"/usr/share/images/xsplash/bg.jpg"
8+    XSPLASH_IMAGE_LOCATION = u"/usr/share/pixmaps/backgrounds/Vine/default.jpg"
9 
10     def __init__(self):
11         # Lets switch to the GDM user, since that is who all our changes need to take place as
12@@ -192,17 +192,6 @@ class GDM2Theme(object): 
13             
14         retcall = subprocess.Popen(["sudo", "-u", "gdm", "gconftool-2", "-s", "/desktop/gnome/background/picture_filename", "--type", "string", self.XSPLASH_IMAGE_LOCATION], stdout=subprocess.PIPE).wait()
15 
16-        ###TODO: this is a temp-hack - we need to actually create the image sizes even though the system will
17-        ### automatically do it, because it introduces some image jumping during it's efforts - looks ugly
18-        retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_800x600.jpg"], stdout=subprocess.PIPE).wait()
19-        retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_1024x768.jpg"], stdout=subprocess.PIPE).wait()
20-        retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_1280x800.jpg"], stdout=subprocess.PIPE).wait()
21-        retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_1280x1024.jpg"], stdout=subprocess.PIPE).wait()
22-        retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_1440x900.jpg"], stdout=subprocess.PIPE).wait()
23-        retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_1680x1050.jpg"], stdout=subprocess.PIPE).wait()
24-        retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_1920x1200.jpg"], stdout=subprocess.PIPE).wait()
25-        retcall = subprocess.Popen(["ln", "-s", "-f", "-T", self.XSPLASH_IMAGE_LOCATION, "/usr/share/images/xsplash/bg_2560x1600.jpg"], stdout=subprocess.PIPE).wait()
26-
27   
28     def GetWallpaper(self, ):
29         retcall = subprocess.Popen(["sudo", "-u", "gdm", "gconftool-2", "-g", "/desktop/gnome/background/picture_filename"], stdout=subprocess.PIPE)
Note: See TracBrowser for help on using the repository browser.