[gnome-commander] GnomeCmdFileSelector: "changed-dir" -> "dir-changed"
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-commander] GnomeCmdFileSelector: "changed-dir" -> "dir-changed"
- Date: Sun, 26 Jul 2009 21:59:19 +0000 (UTC)
commit 86a9009b308face37c120ba39028ad7be3f95fa3
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sun Jul 26 23:29:09 2009 +0200
GnomeCmdFileSelector: "changed-dir" -> "dir-changed"
src/gnome-cmd-cmdline.cc | 4 ++--
src/gnome-cmd-file-selector.cc | 8 ++++----
src/gnome-cmd-main-win.cc | 4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/gnome-cmd-cmdline.cc b/src/gnome-cmd-cmdline.cc
index aa2c69b..906457a 100644
--- a/src/gnome-cmd-cmdline.cc
+++ b/src/gnome-cmd-cmdline.cc
@@ -261,8 +261,8 @@ static void init (GnomeCmdCmdline *cmdline)
GTK_SIGNAL_FUNC (on_combo_popwin_hidden), cmdline);
gtk_signal_connect_after (GTK_OBJECT (main_win), "switch-fs",
GTK_SIGNAL_FUNC (on_switch_fs), cmdline);
- gtk_signal_connect (GTK_OBJECT (main_win->fs(LEFT)), "changed-dir", GTK_SIGNAL_FUNC (on_fs_changed_dir), cmdline);
- gtk_signal_connect (GTK_OBJECT (main_win->fs(RIGHT)), "changed-dir", GTK_SIGNAL_FUNC (on_fs_changed_dir), cmdline);
+ gtk_signal_connect (GTK_OBJECT (main_win->fs(LEFT)), "dir-changed", GTK_SIGNAL_FUNC (on_fs_changed_dir), cmdline);
+ gtk_signal_connect (GTK_OBJECT (main_win->fs(RIGHT)), "dir-changed", GTK_SIGNAL_FUNC (on_fs_changed_dir), cmdline);
gnome_cmd_cmdline_update_style (cmdline);
}
diff --git a/src/gnome-cmd-file-selector.cc b/src/gnome-cmd-file-selector.cc
index d14d239..2ad3102 100644
--- a/src/gnome-cmd-file-selector.cc
+++ b/src/gnome-cmd-file-selector.cc
@@ -119,7 +119,7 @@ inline GnomeCmdFileSelector::Private::~Private()
}
-enum {CHANGED_DIR, LAST_SIGNAL};
+enum {DIR_CHANGED, LAST_SIGNAL};
static guint signals[LAST_SIGNAL] = { 0 };
@@ -1026,7 +1026,7 @@ static void on_dir_list_ok (GnomeCmdDir *dir, GList *files, GnomeCmdFileSelector
update_dir_combo (fs);
}
- gtk_signal_emit (GTK_OBJECT (fs), signals[CHANGED_DIR], dir);
+ gtk_signal_emit (GTK_OBJECT (fs), signals[DIR_CHANGED], dir);
fs->update_direntry();
update_vol_label (fs);
@@ -1163,8 +1163,8 @@ static void class_init (GnomeCmdFileSelectorClass *klass)
parent_class = (GtkVBoxClass *) gtk_type_class (gtk_vbox_get_type ());
- signals[CHANGED_DIR] =
- gtk_signal_new ("changed-dir",
+ signals[DIR_CHANGED] =
+ gtk_signal_new ("dir-changed",
GTK_RUN_LAST,
G_OBJECT_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GnomeCmdFileSelectorClass, changed_dir),
diff --git a/src/gnome-cmd-main-win.cc b/src/gnome-cmd-main-win.cc
index 7c5770d..5749066 100644
--- a/src/gnome-cmd-main-win.cc
+++ b/src/gnome-cmd-main-win.cc
@@ -833,8 +833,8 @@ static void init (GnomeCmdMainWin *mw)
gnome_cmd_main_win_update_buttonbar_visibility (main_win);
g_signal_connect (mw, "realize", G_CALLBACK (on_main_win_realize), mw);
- g_signal_connect (mw->fs(LEFT), "changed-dir", G_CALLBACK (on_fs_dir_change), mw);
- g_signal_connect (mw->fs(RIGHT), "changed-dir", G_CALLBACK (on_fs_dir_change), mw);
+ g_signal_connect (mw->fs(LEFT), "dir-changed", G_CALLBACK (on_fs_dir_change), mw);
+ g_signal_connect (mw->fs(RIGHT), "dir-changed", G_CALLBACK (on_fs_dir_change), mw);
g_signal_connect (mw->fs(LEFT)->file_list(), "resize-column", G_CALLBACK (on_fs_list_resize_column), mw->fs(RIGHT)->file_list());
g_signal_connect (mw->fs(RIGHT)->file_list(), "resize-column", G_CALLBACK (on_fs_list_resize_column), mw->fs(LEFT)->file_list());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]