From a5f50372c8840772545343ebc5539e6ccc486747 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 2 Jan 2015 21:53:59 +0100 Subject: [PATCH] fix using change status dialog --- data/gui/change_status_message_dialog.ui | 12 ++++++------ src/common/resolver.py | 3 +-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/data/gui/change_status_message_dialog.ui b/data/gui/change_status_message_dialog.ui index e4aa96970..b90e208f9 100644 --- a/data/gui/change_status_message_dialog.ui +++ b/data/gui/change_status_message_dialog.ui @@ -1,6 +1,7 @@ + - + False 6 @@ -27,7 +28,6 @@ True True False - False True @@ -45,7 +45,6 @@ True True False - False True @@ -112,7 +111,6 @@ True True False - False @@ -182,7 +180,6 @@ True True True - False @@ -231,7 +228,6 @@ True True True - False @@ -354,5 +350,9 @@ + + cancel_button + ok_button + diff --git a/src/common/resolver.py b/src/common/resolver.py index 14e4b104a..b2d157cb6 100644 --- a/src/common/resolver.py +++ b/src/common/resolver.py @@ -326,8 +326,7 @@ class HostResolver(CommonResolver): domain = None if line.startswith(fqdn): domain = fqdn # For nslookup 9.5 - elif helpers.decode_string(line).startswith(ufqdn): - line = helpers.decode_string(line) + elif line.startswith(ufqdn): domain = ufqdn # For nslookup 9.6 if domain: # add 4 for ' has' after domain name