Commit d6f4f92b06fd5abb028eedf2ee418874c34be249

Authored by perry.werneck@gmail.com
1 parent 043dea76

Atualizando plugin dbus

Showing 2 changed files with 4 additions and 7 deletions   Show diff stats
po/pt_BR.po
1 1 #
2 2 # Perry Werneck <perry.werneck@gmail.com>, 2012, 2013, 2014.
3 3 #
4   -#: toggles.c:95 toggles.c:100 toggles.c:101 toggles.c:113 toggles.c:119
5   -#: toggles.c:155 toggles.c:161 toggles.c:167 toggles.c:173 toggles.c:179
6   -#: toggles.c:185 toggles.c:203
7 4 msgid ""
8 5 msgstr ""
9 6 "Project-Id-Version: pw3270 5.0\n"
10 7 "Report-Msgid-Bugs-To: \n"
11   -"POT-Creation-Date: 2014-02-17 08:08-0300\n"
  8 +"POT-Creation-Date: 2014-02-17 09:19-0300\n"
12 9 "PO-Revision-Date: 2014-02-17 08:05-0300\n"
13 10 "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n"
14 11 "Language-Team: Portugues <>\n"
... ...
src/plugins/dbus3270/gobject.c
... ... @@ -92,8 +92,8 @@ void pw3270_dbus_connect(PW3270Dbus *object, const gchar *uri, DBusGMethodInvoca
92 92  
93 93 if(uri && *uri)
94 94 {
95   - g_message("Connecting to \"%s\" by remote request",uri);
96   - lib3270_set_host(hSession,uri);
  95 + const char * host = lib3270_set_url(hSession,uri);
  96 + g_message("Connecting to \"%s\" by remote request",host);
97 97 }
98 98 else
99 99 {
... ... @@ -109,7 +109,7 @@ void pw3270_dbus_set_host(PW3270Dbus *object, const gchar *uri, DBusGMethodInvoc
109 109  
110 110 g_message("Changing host to \"%s\" by remote request",uri);
111 111  
112   - dbus_g_method_return(context,lib3270_set_host(pw3270_dbus_get_session_handle(PW3270_DBUS(object)),uri) != NULL);
  112 + dbus_g_method_return(context,lib3270_set_url(pw3270_dbus_get_session_handle(PW3270_DBUS(object)),uri) != NULL);
113 113 }
114 114  
115 115 void pw3270_dbus_disconnect(PW3270Dbus *object, DBusGMethodInvocation *context)
... ...