]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-stock-icons.c
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / libview / ev-stock-icons.c
index 67db47cad62b298391aa0f82a97e9ccab8ea03bc..47b3943e13337e525c029f396396175514cb7cba 100644 (file)
@@ -18,7 +18,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #include <config.h>
@@ -35,7 +35,7 @@ typedef struct {
 /* Evince stock icons */
 static const EvStockIcon stock_icons [] = {
        { EV_STOCK_ZOOM,             "zoom" },
-       { EV_STOCK_ZOOM_PAGE,        "zoom-fit-page" },
+       { EV_STOCK_ZOOM_PAGE,        "zoom-fit-height" },
        { EV_STOCK_ZOOM_WIDTH,       "zoom-fit-width" },
        { EV_STOCK_VIEW_DUAL,        "view-page-facing" },
        { EV_STOCK_VIEW_CONTINUOUS,  "view-page-continuous" },
@@ -46,7 +46,8 @@ static const EvStockIcon stock_icons [] = {
        { EV_STOCK_RESIZE_SE,        "resize-se"},
        { EV_STOCK_RESIZE_SW,        "resize-sw"},
        { EV_STOCK_CLOSE,            "close"},
-       { EV_STOCK_INVERTED_COLORS,  "stock_filters-invert"}
+       { EV_STOCK_INVERTED_COLORS,  "stock_filters-invert"},
+       { EV_STOCK_ATTACHMENT,       "mail-attachment"}
 };
 
 static gchar *ev_icons_path;
@@ -99,7 +100,7 @@ ev_stock_icons_init (void)
        ev_icons_path = g_build_filename (dir, "share", "evince", "icons", NULL);
        g_free (dir);
 #else
-       ev_icons_path = g_build_filename (DATADIR, "icons", NULL);
+       ev_icons_path = g_build_filename (EVINCEDATADIR, "icons", NULL);
 #endif
 
         factory = gtk_icon_factory_new ();