[claws-mail-cvs-commit] prefs_toolbar.c

Paul Mangan <[email protected]> Mon, 07 Sep 2009 19:43:09 +0000
Newsgroups gmane.mail.sylpheed.claws.cvs
Message-ID <[email protected]>
Update of /srv/cvs/claws-mail/claws/src
In directory ran:/tmp/cvs-serv25950/src

Modified Files:
      Tag: gtk2
	prefs_toolbar.c 
Log Message:
2009-09-07 [paul]	3.7.2cvs28

	* src/prefs_toolbar.c
		when updating the main toolbar icons just update
		the main toolbar (and consequently fix a bug where
		folderview icons would disappear) 

Index: prefs_toolbar.c
===================================================================
RCS file: /srv/cvs/claws-mail/claws/src/prefs_toolbar.c,v
retrieving revision 1.30.2.56
retrieving revision 1.30.2.57
diff -u -d -r1.30.2.56 -r1.30.2.57
--- prefs_toolbar.c	23 Feb 2009 16:55:45 -0000	1.30.2.56
+++ prefs_toolbar.c	7 Sep 2009 19:43:07 -0000	1.30.2.57
@@ -272,7 +272,7 @@
 	toolbar_save_config_file(prefs_toolbar->source);
 
 	if (prefs_toolbar->source == TOOLBAR_MAIN) 
-		main_window_reflect_prefs_all_real(TRUE);
+		toolbar_update(TOOLBAR_MAIN, mainwindow_get_mainwindow());
 	else if (prefs_toolbar->source == TOOLBAR_COMPOSE)
 		compose_reflect_prefs_pixmap_theme();
 	else if (prefs_toolbar->source == TOOLBAR_MSGVIEW)