From f84660311ba8807c6223178ab3f2515b209d1a57 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 03 Jun 2005 17:57:18 +0000 Subject: Initial go at file properties. Patch by Emil Soleyman-Zomalan 2005-06-03 Marco Pesenti Gritti * backend/ev-document-info.h: * data/Makefile.am: * data/evince-ui.xml: * pdf/ev-poppler.cc: * shell/Makefile.am: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_file_properties): Initial go at file properties. Patch by Emil Soleyman-Zomalan . Needs love see #169583 --- (limited to 'shell/ev-properties.h') diff --git a/shell/ev-properties.h b/shell/ev-properties.h new file mode 100644 index 0000000..0d0eaf8 --- /dev/null +++ b/shell/ev-properties.h @@ -0,0 +1,53 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */ +/* this file is part of evince, a gnome document viewer + * + * Copyright (C) 2005 Red Hat, Inc + * + * Evince is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Evince is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * 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. + */ + +#ifndef __EV_PROPERTIES_H__ +#define __EV_PROPERTIES_H__ + +#include "ev-document.h" +#include "ev-document-security.h" +#include "ev-window.h" + +#include +#include +#include +#include +#include + +G_BEGIN_DECLS + +typedef struct _EvProperties EvProperties; + +struct _EvProperties { + GtkDialog parent; +}; + +GtkDialog *ev_properties_new (EvDocument *document, + GtkWidget *toplevel); + +gchar *ev_properties_format_date (GTime utime); + +size_t my_strftime (char *s, size_t max, + const char *fmt, + const struct tm *tm); + +G_END_DECLS + +#endif /* __EV_PROPERTIES_H__ */ -- cgit v0.9.1