[evince] ui: Use a new icon for the outline in the side bar



commit 39cee66df19400de5867d654189c048c7c59f328
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Fri Jul 27 14:47:14 2018 -0400

    ui: Use a new icon for the outline in the side bar
    
    * Take format-justify-left and make it as the outline icon.
    * Make a copy of the icon as the purpose in the theme is
      different and it may change in the future.
    
    See #947

 data/icons/scalable/actions/Makefile.am | 3 ++-
 libview/ev-stock-icons.c                | 1 +
 libview/ev-stock-icons.h                | 1 +
 shell/ev-window.c                       | 2 +-
 4 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/data/icons/scalable/actions/Makefile.am b/data/icons/scalable/actions/Makefile.am
index a5fb1d29..44a97faf 100644
--- a/data/icons/scalable/actions/Makefile.am
+++ b/data/icons/scalable/actions/Makefile.am
@@ -7,7 +7,8 @@ iconsdir = $(themedir)/$(size)/$(context)
 icons_DATA = \
        object-rotate-left.svg  \
        object-rotate-right.svg \
-       view-sidebar.svg
+       view-sidebar.svg \
+       outline.svg
 
 noinst_DATA =
 
diff --git a/libview/ev-stock-icons.c b/libview/ev-stock-icons.c
index a15d431b..735da71f 100644
--- a/libview/ev-stock-icons.c
+++ b/libview/ev-stock-icons.c
@@ -50,6 +50,7 @@ static const EvStockIcon stock_icons [] = {
        { EV_STOCK_ATTACHMENT,       "mail-attachment"},
        { EV_STOCK_SEND_TO,          "document-send"},
        { EV_STOCK_VIEW_SIDEBAR,     "view-sidebar"},
+       { EV_STOCK_OUTLINE,          "outline"},
 };
 
 static gchar *ev_icons_path;
diff --git a/libview/ev-stock-icons.h b/libview/ev-stock-icons.h
index c7b34344..fab6dae6 100644
--- a/libview/ev-stock-icons.h
+++ b/libview/ev-stock-icons.h
@@ -49,6 +49,7 @@ G_BEGIN_DECLS
 #define EV_STOCK_ATTACHMENT             "mail-attachment"
 #define EV_STOCK_SEND_TO                "document-send"
 #define EV_STOCK_VIEW_SIDEBAR           "view-sidebar"
+#define EV_STOCK_OUTLINE                "outline"
 
 void ev_stock_icons_init       (void);
 void ev_stock_icons_shutdown   (void);
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 9b80874a..7d783f90 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -274,7 +274,7 @@ struct _EvWindowPrivate {
 #define LAYERS_SIDEBAR_ID "layers"
 #define ANNOTS_SIDEBAR_ID "annotations"
 #define BOOKMARKS_SIDEBAR_ID "bookmarks"
-#define LINKS_SIDEBAR_ICON "view-list-symbolic"
+#define LINKS_SIDEBAR_ICON EV_STOCK_OUTLINE
 #define THUMBNAILS_SIDEBAR_ICON "view-grid-symbolic"
 #define ATTACHMENTS_SIDEBAR_ICON "mail-attachment-symbolic"
 #define LAYERS_SIDEBAR_ICON "view-paged-symbolic"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]