aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/prepaid-manager-applet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/prepaid-manager-applet.py b/src/prepaid-manager-applet.py
index ab47f88..f0a4dbf 100755
--- a/src/prepaid-manager-applet.py
+++ b/src/prepaid-manager-applet.py
@@ -518,7 +518,7 @@ class PPMEnableModemInfoBar(PPMInfoBar):
PPMInfoBar.__init__(self, view)
self.info_bar.add_button(_("Enable"), Gtk.ResponseType.OK)
self.info_bar.set_message_type(Gtk.MessageType.WARNING)
- self.msg_label = Gtk.Label(_("Modem not enabled"))
+ self.msg_label = Gtk.Label(label=_("Modem not enabled"))
content_area = self.info_bar.get_content_area()
content_area.add(self.msg_label)
self.msg_label.show()
@@ -560,7 +560,7 @@ class PPMNoModemFoundInfoBar(PPMInfoBar):
def __init__(self, container):
PPMInfoBar.__init__(self, container)
self.info_bar.set_message_type(Gtk.MessageType.WARNING)
- self.msg_label = Gtk.Label(_("No modem found."))
+ self.msg_label = Gtk.Label(label=_("No modem found."))
content_area = self.info_bar.get_content_area()
content_area.add(self.msg_label)
self.info_bar.add_button(_("Try again"), Gtk.ResponseType.OK)