remove useless indentation
This commit is contained in:
parent
72d035eb15
commit
f36a6af404
1 changed files with 3 additions and 3 deletions
|
@ -997,7 +997,7 @@ class PopupNotificationWindow:
|
||||||
self.account = account
|
self.account = account
|
||||||
self.jid = jid
|
self.jid = jid
|
||||||
self.msg_type = msg_type
|
self.msg_type = msg_type
|
||||||
|
|
||||||
xml = gtk.glade.XML(GTKGUI_GLADE, 'popup_notification_window', APP)
|
xml = gtk.glade.XML(GTKGUI_GLADE, 'popup_notification_window', APP)
|
||||||
self.window = xml.get_widget('popup_notification_window')
|
self.window = xml.get_widget('popup_notification_window')
|
||||||
close_button = xml.get_widget('close_button')
|
close_button = xml.get_widget('close_button')
|
||||||
|
@ -1005,7 +1005,7 @@ class PopupNotificationWindow:
|
||||||
event_description_label = xml.get_widget('event_description_label')
|
event_description_label = xml.get_widget('event_description_label')
|
||||||
eventbox = xml.get_widget('eventbox')
|
eventbox = xml.get_widget('eventbox')
|
||||||
image = xml.get_widget('notification_image')
|
image = xml.get_widget('notification_image')
|
||||||
|
|
||||||
if not text:
|
if not text:
|
||||||
text = gajim.get_name_from_jid(account, jid) # default value of text
|
text = gajim.get_name_from_jid(account, jid) # default value of text
|
||||||
if not title:
|
if not title:
|
||||||
|
@ -1016,7 +1016,7 @@ class PopupNotificationWindow:
|
||||||
|
|
||||||
# set colors [ http://www.pitt.edu/~nisg/cis/web/cgi/rgb.html ]
|
# set colors [ http://www.pitt.edu/~nisg/cis/web/cgi/rgb.html ]
|
||||||
self.window.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse('black'))
|
self.window.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse('black'))
|
||||||
|
|
||||||
# default image
|
# default image
|
||||||
if not path_to_image:
|
if not path_to_image:
|
||||||
path_to_image = os.path.abspath(
|
path_to_image = os.path.abspath(
|
||||||
|
|
Loading…
Add table
Reference in a new issue