[gnome-commander] noop: code cleanup



commit 94022a68c6c71a136906a68eca0847caaacfdde4
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Tue Feb 22 19:21:12 2011 +0100

    noop: code cleanup

 src/gnome-cmd-con-device.cc    |    4 +---
 src/gnome-cmd-file-list.cc     |    1 +
 src/gnome-cmd-search-dialog.cc |   18 +++++++++---------
 3 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/src/gnome-cmd-con-device.cc b/src/gnome-cmd-con-device.cc
index b0d4bdf..d7cec3a 100644
--- a/src/gnome-cmd-con-device.cc
+++ b/src/gnome-cmd-con-device.cc
@@ -128,9 +128,7 @@ static void do_mount_thread_func (GnomeCmdCon *con)
                     emsg = g_strdup (_("Mount failed: No medium found"));
                     break;
                 default:
-                    emsg = g_strdup_printf (
-                        _("Mount failed: mount exited with existatus %d"),
-                        estatus);
+                    emsg = g_strdup_printf (_("Mount failed: mount exited with existatus %d"), estatus);
                     break;
             }
 
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index 193844a..3ed1c4b 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -2955,6 +2955,7 @@ void GnomeCmdFileList::init_dnd()
     g_signal_connect (this, "drag-data-received", G_CALLBACK (drag_data_received), this);
 }
 
+
 XML::xstream &operator << (XML::xstream &xml, GnomeCmdFileList &fl)
 {
     return xml << XML::tag("Tab") << XML::attr("dir") << GNOME_CMD_FILE (fl.cwd)->get_real_path() << XML::attr("sort") << fl.get_sort_column() << XML::attr("asc") << fl.get_sort_order() << XML::attr("lock") << fl.locked << XML::endtag();
diff --git a/src/gnome-cmd-search-dialog.cc b/src/gnome-cmd-search-dialog.cc
index 39b4c08..d19aa7c 100644
--- a/src/gnome-cmd-search-dialog.cc
+++ b/src/gnome-cmd-search-dialog.cc
@@ -406,17 +406,17 @@ static gboolean update_search_status_widgets (SearchData *data)
             gchar *msg;
             if (data->stopped)
                 msg = g_strdup_printf (
-                    ngettext("Found %d match - search aborted",
-                             "Found %d matches - search aborted",
-                              data->matches),
-                    data->matches);
+                        ngettext("Found %d match - search aborted",
+                                 "Found %d matches - search aborted",
+                                  data->matches),
+                        data->matches);
             else
                 msg = g_strdup_printf (
-                    ngettext(
-                        "Found %d match",
-                        "Found %d matches",
-                        data->matches),
-                    data->matches);
+                        ngettext(
+                            "Found %d match",
+                            "Found %d matches",
+                            data->matches),
+                        data->matches);
 
             set_statusmsg (data, msg);
             g_free (msg);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]