[gnome-commander] noop: code cleanup



commit b69e9110105cd7990c28400dc88e435bd502b1de
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Thu Dec 30 15:39:47 2010 +0100

    noop: code cleanup

 doc/C/gnome-commander.xml      |    3 +--
 src/gnome-cmd-file-selector.cc |    6 +++---
 2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 6d2e99a..81ff4f3 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -544,8 +544,7 @@
                 <para>
                   <guilabel>[gtk,gnome,bonobo options]</guilabel>
                 </para>
-                <para>Standard gtk, gnome, bonobo options are supported. Use <guilabel>--help</guilabel> to see
-                	possible options.
+                <para>Standard gtk, gnome, bonobo options are supported. Use <guilabel>--help</guilabel> to see possible options.
                 </para>
               </listitem>
             </itemizedlist>
diff --git a/src/gnome-cmd-file-selector.cc b/src/gnome-cmd-file-selector.cc
index 47f44b9..9d3c4ba 100644
--- a/src/gnome-cmd-file-selector.cc
+++ b/src/gnome-cmd-file-selector.cc
@@ -338,7 +338,7 @@ static void on_con_btn_clicked (GtkWidget *widget, GdkEventButton *event, GnomeC
     main_win->switch_fs(fs);
 
     if (event->button==2 || event->state&GDK_CONTROL_MASK)
-        fs->new_tab(gnome_cmd_con_get_default_dir(con));
+        fs->new_tab(gnome_cmd_con_get_default_dir (con));
 
     fs->set_connection(con);
 }
@@ -469,9 +469,9 @@ static void on_list_list_clicked (GnomeCmdFileList *fl, GnomeCmdFile *f, GdkEven
                 else
                 {
                     if (f && f->is_dotdot)
-                        fs->new_tab(gnome_cmd_dir_get_parent (fl->cwd), TRUE);
+                        fs->new_tab(gnome_cmd_dir_get_parent (fl->cwd));
                     else
-                        fs->new_tab(f && f->info->type==GNOME_VFS_FILE_TYPE_DIRECTORY ? GNOME_CMD_DIR (f) : fl->cwd, TRUE);
+                        fs->new_tab(f && f->info->type==GNOME_VFS_FILE_TYPE_DIRECTORY ? GNOME_CMD_DIR (f) : fl->cwd);
                 }
                 break;
         }



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