From 0e14b81b27026860eb38f49b5b84afc1cbee4d0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
Date: Thu, 3 Jan 2013 17:31:09 -0300
Subject: [PATCH shell] Revert "AP password dialog: theme the ok button
correctly, SL #3971"
Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
This reverts commit e731544ff72377bdfb64212e9ab048fe101113b8.
---
src/jarabe/desktop/keydialog.py | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/src/jarabe/desktop/keydialog.py b/src/jarabe/desktop/keydialog.py
index a66045f..46965bd 100644
a
|
b
|
from gi.repository import Gdk |
23 | 23 | |
24 | 24 | import dbus |
25 | 25 | |
26 | | from sugar3.graphics.icon import Icon |
27 | 26 | from sugar3.graphics import style |
28 | 27 | |
29 | 28 | from jarabe.model import network |
… |
… |
class KeyDialog(Gtk.Dialog): |
95 | 94 | " the wireless network '%s'.") % (display_name, )) |
96 | 95 | self.vbox.pack_start(label, True, True, 0) |
97 | 96 | |
98 | | button = Gtk.Button() |
99 | | button.set_image(Icon(icon_name='dialog-cancel')) |
100 | | button.set_label(_('Cancel')) |
101 | | self.add_action_widget(button, Gtk.ResponseType.CANCEL) |
102 | | button = Gtk.Button() |
103 | | button.set_image(Icon(icon_name='dialog-ok')) |
104 | | button.set_label(_('Ok')) |
105 | | self.add_action_widget(button, Gtk.ResponseType.OK) |
106 | | |
| 97 | self.add_button(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL) |
| 98 | self.add_button(Gtk.STOCK_OK, Gtk.ResponseType.OK) |
107 | 99 | self.set_default_response(Gtk.ResponseType.OK) |
108 | 100 | |
109 | 101 | def add_key_entry(self): |