summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/Makefile.am2
-rw-r--r--shell/ev-sidebar-layers.c5
2 files changed, 2 insertions, 5 deletions
diff --git a/shell/Makefile.am b/shell/Makefile.am
index 162c21b2..38774613 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -6,7 +6,6 @@ AM_CPPFLAGS= \
-I$(top_srcdir)/cut-n-paste/zoom-control/ \
-I$(top_srcdir)/cut-n-paste/toolbar-editor/ \
-I$(top_srcdir)/cut-n-paste/totem-screensaver/ \
- -I$(top_srcdir)/cut-n-paste/gimpcellrenderertoggle/ \
-I$(top_srcdir)/cut-n-paste/smclient/ \
-I$(top_srcdir)/libdocument \
-I$(top_builddir)/libdocument \
@@ -104,7 +103,6 @@ atril_LDADD= \
$(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la \
$(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la \
$(top_builddir)/cut-n-paste/totem-screensaver/libtotemscrsaver.la \
- $(top_builddir)/cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.la \
$(top_builddir)/cut-n-paste/smclient/libsmclient.la \
$(top_builddir)/properties/libevproperties.la \
$(top_builddir)/libdocument/libatrildocument.la \
diff --git a/shell/ev-sidebar-layers.c b/shell/ev-sidebar-layers.c
index c28218c2..6a723abb 100644
--- a/shell/ev-sidebar-layers.c
+++ b/shell/ev-sidebar-layers.c
@@ -21,7 +21,6 @@
#include "config.h"
#include <glib/gi18n.h>
-#include "gimpcellrenderertoggle.h"
#include "ev-document-layers.h"
#include "ev-sidebar-page.h"
@@ -245,7 +244,7 @@ ev_sidebar_layers_create_tree_view (EvSidebarLayers *ev_layers)
column = gtk_tree_view_column_new ();
- renderer = gimp_cell_renderer_toggle_new (EV_STOCK_VISIBLE);
+ renderer = gtk_cell_renderer_toggle_new ();
gtk_tree_view_column_pack_start (column, renderer, FALSE);
gtk_tree_view_column_set_attributes (column, renderer,
"active", EV_DOCUMENT_LAYERS_COLUMN_VISIBLE,
@@ -254,7 +253,7 @@ ev_sidebar_layers_create_tree_view (EvSidebarLayers *ev_layers)
"sensitive", EV_DOCUMENT_LAYERS_COLUMN_ENABLED,
NULL);
g_object_set (G_OBJECT (renderer),
- "xpad", 0,
+ "xpad", 4,
"ypad", 0,
NULL);
g_signal_connect (renderer, "toggled",