gnome-commander r1498 - in branches/gcmd-1-3: . src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r1498 - in branches/gcmd-1-3: . src
- Date: Wed, 9 Jan 2008 23:11:48 +0000 (GMT)
Author: epiotr
Date: Wed Jan 9 23:11:48 2008
New Revision: 1498
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1498&view=rev
Log:
Made "view.home" working on non-home connections too
Modified:
branches/gcmd-1-3/ChangeLog
branches/gcmd-1-3/src/gnome-cmd-user-actions.cc
Modified: branches/gcmd-1-3/src/gnome-cmd-user-actions.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-user-actions.cc (original)
+++ branches/gcmd-1-3/src/gnome-cmd-user-actions.cc Wed Jan 9 23:11:48 2008
@@ -1139,13 +1139,14 @@
void view_home (GtkMenuItem *menuitem, gpointer not_used)
{
- gnome_cmd_file_selector_goto_directory (gnome_cmd_main_win_get_fs (main_win, ACTIVE), "~");
+ gnome_cmd_file_selector_set_connection (get_fs (ACTIVE), get_home_con ());
+ gnome_cmd_file_selector_goto_directory (get_fs (ACTIVE), "~");
}
void view_root (GtkMenuItem *menuitem, gpointer not_used)
{
- gnome_cmd_file_selector_goto_directory (gnome_cmd_main_win_get_fs (main_win, ACTIVE), "/");
+ gnome_cmd_file_selector_goto_directory (get_fs (ACTIVE), "/");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]