Ignore:
Timestamp:
08/03/09 11:06:45 (3 years ago)
Author:
marc
Message:

Improved spec file, removed unused images from installation, fixed a bug with secure images not being shown in ntotifications, bumped changelog, and improved debian/rules build on converting images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release/0.2/uigtk.py

    r295 r309  
    318318        else: 
    319319            self.statusIcon.set_from_pixbuf(self.icon_pixbuf) 
     320 
    320321        self.statusIcon.set_tooltip('Itaka') 
    321322        self.statusIcon.set_visible(True) 
     
    12911292        if self.configuration['server']['authentication']: 
    12921293            self.itakaLogo.set_from_file(os.path.join(self.itakaglobals.image_dir, "itaka-secure.png"))             
     1294            self.statusIcon.set_from_file(os.path.join(self.itakaglobals.image_dir, 'itaka-secure.png')) 
    12931295        else: 
    12941296            self.itakaLogo.set_from_file(os.path.join(self.itakaglobals.image_dir, "itaka.png")) 
    1295  
    1296         self.statusIcon.set_from_pixbuf(self.icon_pixbuf) 
     1297            self.statusIcon.set_from_file(os.path.join(self.itakaglobals.image_dir, 'itaka.png')) 
     1298 
    12971299        # Only run this event once 
    12981300        return False 
     
    13171319        self.time = time 
    13181320 
    1319         self.log.detailed_message('Screenshot served to %s' % (self.ip), 'Screenshot number %d served to %s' % (self.counter, self.ip), ['pixbuf', gtk.gdk.pixbuf_new_from_file(os.path.join(self.itakaglobals.image_dir, "itaka16x16-take.png"))]) 
     1321        if self.configuration['server']['authentication']: 
     1322            self.log.detailed_message('Screenshot served to %s' % (self.ip), 'Screenshot number %d served to %s' % (self.counter, self.ip), ['pixbuf', gtk.gdk.pixbuf_new_from_file(os.path.join(self.itakaglobals.image_dir, "itaka16x16-secure-take.png"))]) 
     1323        else: 
     1324            self.log.detailed_message('Screenshot served to %s' % (self.ip), 'Screenshot number %d served to %s' % (self.counter, self.ip), ['pixbuf', gtk.gdk.pixbuf_new_from_file(os.path.join(self.itakaglobals.image_dir, "itaka16x16-take.png"))]) 
    13201325 
    13211326        self.labelServed.set_text('<b>Served</b>: %d' % (self.counter)) 
     
    13281333        if self.configuration['server']['authentication']: 
    13291334            self.itakaLogo.set_from_file(os.path.join(self.itakaglobals.image_dir, 'itaka-secure-take.png')) 
     1335            self.statusIcon.set_from_file(os.path.join(self.itakaglobals.image_dir, 'itaka-secure-take.png')) 
    13301336        else: 
    13311337            self.itakaLogo.set_from_file(os.path.join(self.itakaglobals.image_dir, 'itaka-take.png')) 
    1332         self.statusIcon.set_from_file(os.path.join(self.itakaglobals.image_dir, 'itaka-take.png')) 
     1338            self.statusIcon.set_from_file(os.path.join(self.itakaglobals.image_dir, 'itaka-take.png')) 
    13331339        gobject.timeout_add(1500, self.set_standard_images) 
    13341340 
Note: See TracChangeset for help on using the changeset viewer.