aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_common_dialog.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-09-20 02:03:10 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-09-20 02:03:10 +0000
commitc2dbb1ce00b5ccdc7c6a3aa8d880d88658446654 (patch)
tree6751385039ad4613de132e25f28502f7fc76b738 /src/prefs_common_dialog.c
parent888590f3ecfda96e82324c239afeaba2970bf879 (diff)
fixed 'Set display item of summary...' button in the common prefs dialog.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1909 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_common_dialog.c')
-rw-r--r--src/prefs_common_dialog.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c
index f2ce4f59..df1dcb00 100644
--- a/src/prefs_common_dialog.c
+++ b/src/prefs_common_dialog.c
@@ -615,6 +615,8 @@ static gboolean prefs_keybind_key_pressed (GtkWidget *widget,
static void prefs_keybind_cancel (void);
static void prefs_keybind_apply_clicked (GtkWidget *widget);
+static void prefs_common_dispitem_clicked (void);
+
static void prefs_common_select_folder_cb (GtkWidget *widget,
gpointer data);
@@ -1495,7 +1497,7 @@ static void prefs_display_create(void)
gtk_widget_show (button_dispitem);
gtk_box_pack_start (GTK_BOX (hbox1), button_dispitem, FALSE, TRUE, 0);
g_signal_connect (G_OBJECT (button_dispitem), "clicked",
- G_CALLBACK (prefs_summary_column_open), NULL);
+ G_CALLBACK (prefs_common_dispitem_clicked), NULL);
APPEND_SUB_NOTEBOOK(notebook, vbox_tab, _("Message"));
msg_wid = prefs_message_create();
@@ -3851,6 +3853,12 @@ static void prefs_common_uri_set_entry(PrefParam *pparam)
}
}
+static void prefs_common_dispitem_clicked(void)
+{
+ prefs_summary_column_open(FOLDER_ITEM_IS_SENT_FOLDER
+ (main_window_get()->summaryview->folder_item));
+}
+
static void prefs_common_select_folder_cb(GtkWidget *widget, gpointer data)
{
FolderItem *item;