diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-01-26 05:40:07 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-01-26 05:40:07 +0000 |
commit | 980184bb430c44fdd4cd90eef9e230fc379c8d36 (patch) | |
tree | b283d747eb8a6c3efb95cbd722072172fea73893 /src/mainwindow.c | |
parent | bb0652b68897b62a6c323004e569c0f0aaf90e7d (diff) |
implemented the toolbar customization of the composition window.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1503 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r-- | src/mainwindow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index 3542dd9f..92ac3054 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -2371,7 +2371,7 @@ static GtkWidget *main_window_toolbar_create(MainWindow *mainwin) *prefs_common.main_toolbar_setting != '\0') setting = prefs_common.main_toolbar_setting; else - setting = prefs_toolbar_get_default_setting_name_list(); + setting = prefs_toolbar_get_default_main_setting_name_list(); item_list = prefs_toolbar_get_item_list_from_name_list(setting); toolbar = main_window_toolbar_create_from_list(mainwin, item_list); @@ -2595,9 +2595,9 @@ static void toolbar_customize(GtkWidget *widget, gpointer data) *prefs_common.main_toolbar_setting != '\0') setting = prefs_common.main_toolbar_setting; else - setting = prefs_toolbar_get_default_setting_name_list(); + setting = prefs_toolbar_get_default_main_setting_name_list(); visible_items = prefs_toolbar_get_id_list_from_name_list(setting); - ret = prefs_toolbar_open(visible_items, &item_list); + ret = prefs_toolbar_open(TOOLBAR_MAIN, visible_items, &item_list); g_free(visible_items); if (ret == 0) { |