[Commits] [SCM] claws branch, master, updated. 3.14.1-173-g4eab156

mones at claws-mail.org mones at claws-mail.org
Sat Feb 4 12:56:53 CET 2017


The branch, master has been updated
       via  4eab156958c04b9dac964f26837a7d874a1ecaa3 (commit)
      from  11cadab16219e789df3b7ffa06ebd106063fe8f0 (commit)

Summary of changes:
 src/plugins/pdf_viewer/poppler_viewer.c |   10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)


- Log -----------------------------------------------------------------
commit 4eab156958c04b9dac964f26837a7d874a1ecaa3
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sat Feb 4 12:55:21 2017 +0100

    Oops! forgot one themeable icon in pdf_viewer
    
    Completes commit 89d34855ea0a9213c0ab133cc0a7a0511086ad64.

diff --git a/src/plugins/pdf_viewer/poppler_viewer.c b/src/plugins/pdf_viewer/poppler_viewer.c
index cbf196a..bdfdbbf 100644
--- a/src/plugins/pdf_viewer/poppler_viewer.c
+++ b/src/plugins/pdf_viewer/poppler_viewer.c
@@ -1764,15 +1764,7 @@ static MimeViewer *pdf_viewer_create(void)
 	ADD_BUTTON_TO_TABLE(viewer->rotate_right, STOCK_PIXMAP_ROTATE_RIGHT)
 	ADD_SEP_TO_TABLE
 	ADD_BUTTON_TO_TABLE(viewer->doc_info, STOCK_PIXMAP_DOC_INFO)
-
-	viewer->doc_index = GTK_WIDGET(gtk_toggle_tool_button_new_from_stock(GTK_STOCK_INDEX));
-	gtk_widget_set_size_request(GTK_WIDGET(viewer->doc_index), 26, 26);
-	gtk_table_attach(GTK_TABLE(viewer->widgets_table), GTK_WIDGET(viewer->doc_index),
-					col, col+1, 
-					0, 1, 0, 0, 
-					BUTTON_H_PADDING, 
-					0);
-	col++;
+	ADD_BUTTON_TO_TABLE(viewer->doc_index, STOCK_PIXMAP_DOC_INDEX)
 
 	gtk_scrolled_window_set_policy(
 			GTK_SCROLLED_WINDOW(viewer->scrollwin), 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list