[nemiver] Better default directory in core loading dialog
- From: Dodji Seketeli <dodji src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver] Better default directory in core loading dialog
- Date: Sun, 19 Feb 2012 18:16:19 +0000 (UTC)
commit 17965075e7890ab4e50bfeccdc4ae55e5b4ac7eb
Author: Dodji Seketeli <dodji seketeli org>
Date: Sun Feb 19 18:47:24 2012 +0100
Better default directory in core loading dialog
* src/persp/dbgperspective/nmv-load-core-dialog.cc
(Loadcoredialog::Priv::Priv): Set the current folder of the file
chooser dialogs to the current directory.
src/persp/dbgperspective/nmv-load-core-dialog.cc | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/persp/dbgperspective/nmv-load-core-dialog.cc b/src/persp/dbgperspective/nmv-load-core-dialog.cc
index 95d2078..87c3dcc 100644
--- a/src/persp/dbgperspective/nmv-load-core-dialog.cc
+++ b/src/persp/dbgperspective/nmv-load-core-dialog.cc
@@ -62,6 +62,7 @@ public:
fcbutton_executable->signal_selection_changed ().connect
(sigc::mem_fun
(*this, &Priv::on_file_selection_changed_signal));
+ fcbutton_executable->set_current_folder (Glib::get_current_dir ());
fcbutton_core_file =
ui_utils::get_widget_from_gtkbuilder<Gtk::FileChooserButton>
@@ -69,6 +70,8 @@ public:
fcbutton_core_file->signal_selection_changed ().connect
(sigc::mem_fun
(*this, &Priv::on_file_selection_changed_signal));
+ fcbutton_core_file->set_current_folder (Glib::get_current_dir ());
+
}
void on_file_selection_changed_signal ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]