[gnome-commander] noop: code cleanup
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] noop: code cleanup
- Date: Thu, 3 Nov 2011 19:05:54 +0000 (UTC)
commit 2437f3dbb481e05e1644117ef90a17363891db60
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Thu Nov 3 20:05:14 2011 +0100
noop: code cleanup
src/gnome-cmd-con-dialog.cc | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/src/gnome-cmd-con-dialog.cc b/src/gnome-cmd-con-dialog.cc
index 9ceabf7..95424da 100644
--- a/src/gnome-cmd-con-dialog.cc
+++ b/src/gnome-cmd-con-dialog.cc
@@ -238,10 +238,10 @@ inline gboolean verify_uri (GnomeCmdConnectDialog *dialog)
if (type==CON_URI && uri.empty())
{
- gnome_cmd_show_message (*dialog,
- stringify(g_strdup_printf (_("\"%s\" is not a valid location"), uri.c_str())),
- _("Please check the spelling and try again."));
- return FALSE;
+ gnome_cmd_show_message (*dialog,
+ stringify(g_strdup_printf (_("\"%s\" is not a valid location"), uri.c_str())),
+ _("Please check the spelling and try again."));
+ return FALSE;
}
if (dialog->priv->alias)
@@ -594,14 +594,11 @@ gboolean gnome_cmd_connect_dialog_edit (GnomeCmdConRemote *server)
GnomeCmdCon *con = GNOME_CMD_CON (server);
- // Service type
gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->priv->type_combo), con->method);
- // Use GNOME Keyring Manager for authentication
dialog->priv->auth = con->auth;
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->priv->auth_check), con->auth==GnomeCmdCon::SAVE_PERMANENTLY);
- // Alias
if (con->alias)
{
dialog->priv->alias = new string(con->alias);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]