Mageia Bugzilla – Attachment 6382 Details for
Bug 14777
5b1: Unable to make changes in MSEC: System Security and Audit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
decode error and pack_start errors
mga#14777.patch (text/plain), 1.02 KB, created by
Philippe Makowski
on 2015-04-27 18:52:06 CEST
(
hide
)
Description:
decode error and pack_start errors
Filename:
MIME Type:
Creator:
Philippe Makowski
Created:
2015-04-27 18:52:06 CEST
Size:
1.02 KB
patch
obsolete
>--- /usr/share/msec/msecgui.py 2015-02-09 10:41:23.000000000 +0100 >+++ msecgui.py 2015-04-27 18:40:53.584890622 +0200 >@@ -1621,7 +1621,7 @@ > """Processes an option change""" > iter = model.get_iter(path) > param = model.get_value(iter, self.COLUMN_OPTION) >- descr = model.get_value(iter, self.COLUMN_DESCR) >+ descr = model.get_value(iter, self.COLUMN_DESCR).decode("utf-8") > value = model.get_value(iter, self.COLUMN_VALUE) > > # option is disabled? >@@ -1659,11 +1659,11 @@ > label.set_line_wrap(True) > label.set_use_markup(True) > dialog.vbox.pack_start(label, True, True, 0) >- dialog.vbox.pack_start(Gtk.HSeparator()) >+ dialog.vbox.pack_start(Gtk.HSeparator(), True, True, 0) > > # new value > hbox = Gtk.HBox() >- hbox.pack_start(Gtk.Label(_("New value:"), True, True, 0)) >+ hbox.pack_start(Gtk.Label(_("New value:")), True, True, 0) > if '*' in params: > # string parameter > entry = Gtk.Entry()
--- /usr/share/msec/msecgui.py 2015-02-09 10:41:23.000000000 +0100 +++ msecgui.py 2015-04-27 18:40:53.584890622 +0200 @@ -1621,7 +1621,7 @@ """Processes an option change""" iter = model.get_iter(path) param = model.get_value(iter, self.COLUMN_OPTION) - descr = model.get_value(iter, self.COLUMN_DESCR) + descr = model.get_value(iter, self.COLUMN_DESCR).decode("utf-8") value = model.get_value(iter, self.COLUMN_VALUE) # option is disabled? @@ -1659,11 +1659,11 @@ label.set_line_wrap(True) label.set_use_markup(True) dialog.vbox.pack_start(label, True, True, 0) - dialog.vbox.pack_start(Gtk.HSeparator()) + dialog.vbox.pack_start(Gtk.HSeparator(), True, True, 0) # new value hbox = Gtk.HBox() - hbox.pack_start(Gtk.Label(_("New value:"), True, True, 0)) + hbox.pack_start(Gtk.Label(_("New value:")), True, True, 0) if '*' in params: # string parameter entry = Gtk.Entry()
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 14777
: 6382