Browse Source

new logo

master
Julio Biason 15 years ago
parent
commit
cd814bbbb0
  1. 2
      THANKS
  2. 16
      mitterlib/ui/ui_pygtk.py
  3. BIN
      pixmaps/mitter-big.png

2
THANKS

@ -12,3 +12,5 @@ Many thanks to:
(http://lists-archives.org/gtk/06637-tree-view-cell-size-negotiation.html)
- Wiennat for the retweet patch.
- 3knirokfier for the favourite patch (although we went to a different route)
- The guys from Paraiso Linux (http://paraisolinux.com) for the awesome new
logo.

16
mitterlib/ui/ui_pygtk.py

@ -242,8 +242,8 @@ class Interface(object):
main_window.resize(initial_width, initial_height)
main_window.move(initial_x, initial_y)
if self._images['main']:
main_window.set_icon(self._images['main'])
if self._images['icon']:
main_window.set_icon(self._images['icon'])
(menu, toolbar, accelerators) = self._create_menu_and_toolbar()
update_field = self._create_update_box()
@ -561,8 +561,8 @@ class Interface(object):
'Philip Reynolds',
'Greg McIntyre',
'"Alexander"'])
if self._images['main']:
about_window.set_logo(self._images['main'])
if self._images['logo']:
about_window.set_logo(self._images['logo'])
about_window.run()
about_window.hide()
@ -729,7 +729,7 @@ class Interface(object):
if self._statusicon:
if self._new_message_count == 0:
self._statusicon.set_from_pixbuf(self._images['main'])
self._statusicon.set_from_pixbuf(self._images['icon'])
else:
self._statusicon.set_from_pixbuf(self._images['new-messages'])
@ -1374,8 +1374,10 @@ class Interface(object):
has_alpha=False, bits_per_sample=8, width=48, height=48)
self._images = {}
self._images['main'] = gtk.gdk.pixbuf_new_from_file(
self._images['icon'] = gtk.gdk.pixbuf_new_from_file(
find_image('mitter.png'))
self._images['logo'] = gtk.gdk.pixbuf_new_from_file(
find_image('mitter-big.png'))
self._images['new-messages'] = gtk.gdk.pixbuf_new_from_file(
find_image('mitter-new.png'))
self._images['icon-error'] = gtk.gdk.pixbuf_new_from_file(
@ -1398,7 +1400,7 @@ class Interface(object):
if self._options[self.NAMESPACE]['statusicon']:
self._statusicon = gtk.StatusIcon()
self._statusicon.set_from_pixbuf(self._images['main'])
self._statusicon.set_from_pixbuf(self._images['icon'])
else:
self._statusicon = None

BIN
pixmaps/mitter-big.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Loading…
Cancel
Save