[gnome-commander] Added GnomeCmdMainWin::change_connection(FileSelectorID id) method
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Added GnomeCmdMainWin::change_connection(FileSelectorID id) method
- Date: Sat, 2 Oct 2010 20:33:58 +0000 (UTC)
commit 55d2de695d6b0dd66eb2cab3b3c6fb3358deab4c
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sat Oct 2 22:21:14 2010 +0200
Added GnomeCmdMainWin::change_connection(FileSelectorID id) method
src/gnome-cmd-main-win.cc | 10 ++++++++++
src/gnome-cmd-main-win.h | 1 +
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-main-win.cc b/src/gnome-cmd-main-win.cc
index 960fb13..53fb367 100644
--- a/src/gnome-cmd-main-win.cc
+++ b/src/gnome-cmd-main-win.cc
@@ -1122,6 +1122,16 @@ void GnomeCmdMainWin::switch_fs(GnomeCmdFileSelector *fs)
}
+void GnomeCmdMainWin::change_connection(FileSelectorID id)
+{
+ GnomeCmdFileSelector *fs = this->fs(id);
+
+ switch_fs(fs);
+ if (gnome_cmd_data.concombo_visibility)
+ fs->con_combo->popup_list();
+}
+
+
void GnomeCmdMainWin::set_fs_directory_to_opposite(FileSelectorID fsID)
{
GnomeCmdFileSelector *fs = this->fs(fsID);
diff --git a/src/gnome-cmd-main-win.h b/src/gnome-cmd-main-win.h
index 3ee2e4c..6191e04 100644
--- a/src/gnome-cmd-main-win.h
+++ b/src/gnome-cmd-main-win.h
@@ -68,6 +68,7 @@ struct GnomeCmdMainWin
gboolean key_pressed (GdkEventKey *event);
void switch_fs(GnomeCmdFileSelector *fs);
+ void change_connection(FileSelectorID id);
void set_fs_directory_to_opposite(FileSelectorID fsID);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]