1
diff -Nur evince-2.20.0/data/evince-hildon-ui.xml evince-2.20.0.new/data/evince-hildon-ui.xml
2
--- evince-2.20.0/data/evince-hildon-ui.xml 1969-12-31 21:00:00.000000000 -0300
3
+++ evince-2.20.0.new/data/evince-hildon-ui.xml 2007-09-18 22:28:49.000000000 -0300
6
+ <popup name="MainMenu">
7
+ <menu name="FileMenu" action="File">
8
+ <menuitem name="FileOpenMenu" action="FileOpen"/>
9
+ <menuitem name="FileSaveAsMenu" action="FileSaveAs"/>
11
+ <menuitem name="FilePropertiesMenu" action="FileProperties"/>
13
+ <placeholder name="RecentFilesMenu"/>
14
+ <menuitem name="FileCloseWindowMenu" action="FileCloseWindow"/>
17
+ <menu name="EditMenu" action="Edit">
18
+ <menuitem name="EditCopyMenu" action="EditCopy"/>
20
+ <menuitem name="EditSelectAllMenu" action="EditSelectAll"/>
22
+ <menuitem name="EditFindMenu" action="EditFind"/>
23
+ <menuitem name="EditFindNextMenu" action="EditFindNext"/>
25
+ <menuitem name="EditRotateLeftMenu" action="EditRotateLeft"/>
26
+ <menuitem name="EditRotateRigtMenu" action="EditRotateRight"/>
29
+ <menu name="ViewMenu" action="View">
30
+ <menuitem name="ViewToolbarMenu" action="ViewToolbar"/>
31
+ <menuitem name="ViewSidebarMenu" action="ViewSidebar"/>
33
+ <menuitem name="ViewFullscreenMenu" action="ViewFullscreen"/>
34
+ <menuitem name="ViewPresentationMenu" action="ViewPresentation"/>
36
+ <menuitem name="ViewContinuousMenu" action="ViewContinuous"/>
37
+ <menuitem name="ViewDualMenu" action="ViewDual"/>
38
+ <menuitem name="ViewZoomInMenu" action="ViewZoomIn"/>
39
+ <menuitem name="ViewZoomInMenu" action="ViewZoomIn"/>
40
+ <menuitem name="ViewZoomOutMenu" action="ViewZoomOut"/>
41
+ <menuitem name="ViewBestFitMenu" action="ViewBestFit"/>
42
+ <menuitem name="ViewPageWidthMenu" action="ViewPageWidth"/>
44
+ <menuitem name="ViewReload" action="ViewReload"/>
47
+ <menu name="GoMenu" action="Go">
48
+ <menuitem name="GoPreviousPageMenu" action="GoPreviousPage"/>
49
+ <menuitem name="GoNextPageMenu" action="GoNextPage"/>
51
+ <menuitem name="GoFirstPageMenu" action="GoFirstPage"/>
52
+ <menuitem name="GoLastPageMenu" action="GoLastPage"/>
55
+ <menu name="HelpMenu" action="Help">
56
+ <menuitem name="HelpAboutMenu" action="HelpAbout"/>
60
+ <popup name="DocumentPopup" action="PopupAction">
61
+ <menuitem name="OpenLink" action="OpenLink"/>
62
+ <menuitem name="CopyLinkAddress" action="CopyLinkAddress"/>
63
+ <menuitem name="GoLink" action="GoLink"/>
65
+ <menuitem name="GoPreviousPage" action="GoPreviousPage"/>
66
+ <menuitem name="GoNextPage" action="GoNextPage"/>
67
+ <menuitem name="ViewReload" action="ViewReload"/>
69
+ <menuitem name="EditCopy" action="EditCopy"/>
70
+ <menuitem name="EditSelectAllPopup" action="EditSelectAll"/>
73
+ <toolbar name="DefaultToolBar">
74
+ <toolitem action="FileOpen"/>
76
+ <toolitem action="GoFirstPage"/>
77
+ <toolitem action="GoPreviousPage"/>
78
+ <toolitem action="PageSelector"/>
79
+ <toolitem action="GoNextPage"/>
80
+ <toolitem action="GoLastPage"/>
82
+ <toolitem action="ViewZoom"/>
85
+ <accelerator name="PageDownAccel" action="PageDown"/>
86
+ <accelerator name="PageUpAccel" action="PageUp"/>
87
+ <accelerator name="GoBackwardFastAccel" action="GoBackwardFast"/>
88
+ <accelerator name="GoForwardFastAccel" action="GoForwardFast"/>
89
+ <accelerator name="EscapeAccel" action="Escape"/>
90
+ <accelerator name="SlashAccel" action="Slash"/>
91
+ <accelerator name="SpaceAccel" action="Space"/>
92
+ <accelerator name="ReturnAccel" action="Return"/>
93
+ <accelerator name="BackSpaceAccel" action="BackSpace"/>
94
+ <accelerator name="ShiftSpaceAccel" action="ShiftSpace"/>
95
+ <accelerator name="ShiftBackSpaceAccel" action="ShiftBackSpace"/>
96
+ <accelerator name="ShiftReturnAccel" action="ShiftReturn"/>
97
+ <accelerator name="FocusPageSelectorAccel" action="FocusPageSelector"/>
98
+ <accelerator name="PlusAccel" action="Plus"/>
99
+ <accelerator name="MinusAccel" action="Minus"/>
100
+ <accelerator name="Equal" action="Equal"/>
101
+ <accelerator name="CtrlEqualAccel" action="CtrlEqual"/>
102
+ <accelerator name="KpPlusAccel" action="KpPlus"/>
103
+ <accelerator name="KpMinusAccel" action="KpMinus"/>
104
+ <accelerator name="CtrlKpPlusAccel" action="CtrlKpPlus"/>
105
+ <accelerator name="CtrlKpMinusAccel" action="CtrlKpMinus"/>
108
diff -Nur evince-2.20.0/data/evince.service evince-2.20.0.new/data/evince.service
109
--- evince-2.20.0/data/evince.service 1969-12-31 21:00:00.000000000 -0300
110
+++ evince-2.20.0.new/data/evince.service 2007-09-18 22:28:49.000000000 -0300
113
+Name=com.nokia.evince
114
+Exec=/usr/bin/evince
115
diff -Nur evince-2.20.0/shell/ev-application.c evince-2.20.0.new/shell/ev-application.c
116
--- evince-2.20.0/shell/ev-application.c 2007-09-17 13:19:25.000000000 -0300
117
+++ evince-2.20.0.new/shell/ev-application.c 2007-09-18 22:28:49.000000000 -0300
120
ev_application_add_icon_path_for_screen (screen);
122
- gtk_widget_show (new_window);
123
+ gtk_widget_show_all (new_window);
125
gtk_window_present_with_time (GTK_WINDOW (new_window),
127
diff -Nur evince-2.20.0/shell/ev-view.c evince-2.20.0.new/shell/ev-view.c
128
--- evince-2.20.0/shell/ev-view.c 2007-09-17 13:19:25.000000000 -0300
129
+++ evince-2.20.0.new/shell/ev-view.c 2007-09-18 22:28:49.000000000 -0300
132
#define SCROLL_TIME 150
135
+#define SCROLL_BUTTON 1
136
+#define SELECT_BUTTON 2
138
+#define SCROLL_BUTTON 2
139
+#define SELECT_BUTTON 1
143
static void scroll_to_current_page (EvView *view,
144
GtkOrientation orientation);
145
@@ -2643,7 +2651,7 @@
146
view->selection_info.in_drag = FALSE;
148
switch (event->button) {
150
+ case SELECT_BUTTON: {
154
@@ -2679,7 +2687,7 @@
159
+ case SCROLL_BUTTON:
160
/* use root coordinates as reference point because
161
* scrolling changes window relative coordinates */
162
view->drag_info.start.x = event->x_root;
163
@@ -2916,7 +2924,7 @@
164
/* For the Evince 0.4.x release, we limit selection to un-rotated
167
- if (view->pressed_button == 1 && view->rotation == 0) {
168
+ if (view->pressed_button == SELECT_BUTTON && view->rotation == 0) {
170
/* Schedule timeout to scroll during selection and additionally
171
* scroll once to allow arbitrary speed. */
172
@@ -2938,7 +2946,7 @@
173
view->selection_update_id = g_idle_add ((GSourceFunc)selection_update_idle_cb, view);
176
- } else if (view->pressed_button == 2) {
177
+ } else if (view->pressed_button == SCROLL_BUTTON) {
178
if (!view->drag_info.in_drag) {
181
@@ -2992,7 +3000,7 @@
182
view->drag_info.in_drag = FALSE;
183
view->image_dnd_info.in_drag = FALSE;
185
- if (view->pressed_button == 2) {
186
+ if (view->pressed_button == SCROLL_BUTTON) {
187
ev_view_handle_cursor_over_xy (view, event->x, event->y);
190
diff -Nur evince-2.20.0/shell/ev-window.c evince-2.20.0.new/shell/ev-window.c
191
--- evince-2.20.0/shell/ev-window.c 2007-09-18 22:28:48.000000000 -0300
192
+++ evince-2.20.0.new/shell/ev-window.c 2007-09-18 22:28:49.000000000 -0300
194
#include <glib/gstdio.h>
195
#include <glib/gi18n.h>
199
+#include <hildon/hildon-program.h>
200
+#include <hildon/hildon-file-chooser-dialog.h>
203
#include <libgnomevfs/gnome-vfs-utils.h>
204
#include <libgnomevfs/gnome-vfs-async-ops.h>
205
#include <libgnomevfs/gnome-vfs-ops.h>
211
+#define UI_FILE "evince-hildon-ui.xml"
213
+#define UI_FILE "evince-ui.xml"
216
#if !GLIB_CHECK_VERSION (2, 13, 3)
217
char *xdg_user_dir_lookup (char *type);
220
GtkPrintSettings *print_settings;
221
GtkPageSetup *print_page_setup;
224
+ HildonProgram *hildon_program;
228
#define EV_WINDOW_GET_PRIVATE(object) \
230
static void find_bar_search_changed_cb (EggFindBar *find_bar,
232
EvWindow *ev_window);
235
+G_DEFINE_TYPE (EvWindow, ev_window, HILDON_TYPE_WINDOW)
237
G_DEFINE_TYPE (EvWindow, ev_window, GTK_TYPE_WINDOW)
241
ev_window_set_action_sensitive (EvWindow *ev_window,
242
@@ -491,12 +509,14 @@
244
set_widget_visibility (GtkWidget *widget, gboolean visible)
246
- g_assert (GTK_IS_WIDGET (widget));
249
- gtk_widget_show (widget);
251
- gtk_widget_hide (widget);
253
+ g_assert (GTK_IS_WIDGET (widget));
256
+ gtk_widget_show (widget);
258
+ gtk_widget_hide (widget);
263
@@ -1557,6 +1577,12 @@
264
ev_window_cmd_file_open (GtkAction *action, EvWindow *window)
267
+ gboolean select_multiple = TRUE;
270
+ chooser = hildon_file_chooser_dialog_new (GTK_WINDOW (window), GTK_FILE_CHOOSER_ACTION_OPEN);
271
+ select_multiple = FALSE;
274
chooser = gtk_file_chooser_dialog_new (_("Open Document"),
276
@@ -1565,9 +1591,10 @@
278
GTK_STOCK_OPEN, GTK_RESPONSE_OK,
282
ev_document_factory_add_filters (chooser, NULL);
283
- gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (chooser), TRUE);
284
+ gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (chooser), select_multiple);
285
gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (chooser), FALSE);
286
if (ev_application_get_chooser_uri (EV_APP) != NULL) {
287
gtk_file_chooser_set_uri (GTK_FILE_CHOOSER (chooser),
288
@@ -2059,12 +2086,16 @@
293
+ fc = hildon_file_chooser_dialog_new (GTK_WINDOW (ev_window), GTK_FILE_CHOOSER_ACTION_SAVE);
295
fc = gtk_file_chooser_dialog_new (
297
GTK_WINDOW (ev_window), GTK_FILE_CHOOSER_ACTION_SAVE,
298
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
299
GTK_STOCK_SAVE, GTK_RESPONSE_OK,
303
ev_document_factory_add_filters (fc, ev_window->priv->document);
304
gtk_dialog_set_default_response (GTK_DIALOG (fc), GTK_RESPONSE_OK);
305
@@ -4238,6 +4269,13 @@
306
priv->presentation_timeout_id = 0;
310
+ if (window->priv->hildon_program != NULL) {
311
+ g_object_unref (window->priv->hildon_program);
312
+ window->priv->hildon_program = NULL;
316
G_OBJECT_CLASS (ev_window_parent_class)->dispose (object);
319
@@ -4255,6 +4293,18 @@
320
g_type_class_add_private (g_object_class, sizeof (EvWindowPrivate));
324
+#define ZOOM_IN_ACCEL "F7"
325
+#define ZOOM_OUT_ACCEL "F8"
326
+#define FULLSCREEN_ACCEL "F6"
327
+#define PRESENTATION_ACCEL NULL
329
+#define ZOOM_IN_ACCEL "<control>plus"
330
+#define ZOOM_OUT_ACCEL "<control>minus"
331
+#define FULLSCREEN_ACCEL "F11"
332
+#define PRESENTATION_ACCEL "F5"
336
static const GtkActionEntry entries[] = {
337
{ "File", NULL, N_("_File") },
338
@@ -4308,10 +4358,10 @@
339
G_CALLBACK (ev_window_cmd_edit_rotate_right) },
342
- { "ViewZoomIn", GTK_STOCK_ZOOM_IN, NULL, "<control>plus",
343
+ { "ViewZoomIn", GTK_STOCK_ZOOM_IN, NULL, "ZOOM_IN_ACCEL",
344
N_("Enlarge the document"),
345
G_CALLBACK (ev_window_cmd_view_zoom_in) },
346
- { "ViewZoomOut", GTK_STOCK_ZOOM_OUT, NULL, "<control>minus",
347
+ { "ViewZoomOut", GTK_STOCK_ZOOM_OUT, NULL, "ZOOM_OUT_ACCEL",
348
N_("Shrink the document"),
349
G_CALLBACK (ev_window_cmd_view_zoom_out) },
350
{ "ViewReload", GTK_STOCK_REFRESH, N_("_Reload"), "<control>R",
351
@@ -4410,10 +4460,10 @@
352
{ "ViewDual", EV_STOCK_VIEW_DUAL, N_("_Dual"), NULL,
353
N_("Show two pages at once"),
354
G_CALLBACK (ev_window_cmd_dual), FALSE },
355
- { "ViewFullscreen", GTK_STOCK_FULLSCREEN, N_("_Fullscreen"), "F11",
356
+ { "ViewFullscreen", GTK_STOCK_FULLSCREEN, N_("_Fullscreen"), "FULLSCREEN_ACCEL",
357
N_("Expand the window to fill the screen"),
358
G_CALLBACK (ev_window_cmd_view_fullscreen) },
359
- { "ViewPresentation", EV_STOCK_RUN_PRESENTATION, N_("_Presentation"), "F5",
360
+ { "ViewPresentation", EV_STOCK_RUN_PRESENTATION, N_("_Presentation"), "PRESENTATION_ACCEL",
361
N_("Run document as a presentation"),
362
G_CALLBACK (ev_window_cmd_view_presentation) },
363
{ "ViewBestFit", EV_STOCK_ZOOM_PAGE, N_("_Best Fit"), NULL,
364
@@ -4936,6 +4986,9 @@
365
if (!window->priv->image)
369
+ fc = hildon_file_chooser_dialog_new (GTK_WINDOW (window), GTK_FILE_CHOOSER_ACTION_SAVE);
371
fc = gtk_file_chooser_dialog_new (_("Save Image"),
373
GTK_FILE_CHOOSER_ACTION_SAVE,
374
@@ -4943,6 +4996,7 @@
376
GTK_STOCK_SAVE, GTK_RESPONSE_OK,
380
gtk_dialog_set_default_response (GTK_DIALOG (fc), GTK_RESPONSE_OK);
381
gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (fc), FALSE);
382
@@ -5096,6 +5150,9 @@
383
if (g_list_length (window->priv->attach_list) == 1)
384
attachment = (EvAttachment *) window->priv->attach_list->data;
387
+ fc = hildon_file_chooser_dialog_new (GTK_WINDOW (window), attachment ? GTK_FILE_CHOOSER_ACTION_SAVE : GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
389
fc = gtk_file_chooser_dialog_new (
390
_("Save Attachment"),
392
@@ -5104,6 +5161,7 @@
394
GTK_STOCK_SAVE, GTK_RESPONSE_OK,
398
gtk_dialog_set_default_response (GTK_DIALOG (fc), GTK_RESPONSE_OK);
399
gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (fc), TRUE);
400
@@ -5127,6 +5185,10 @@
401
GtkAccelGroup *accel_group;
402
GError *error = NULL;
403
GtkWidget *sidebar_widget;
404
+ gchar *ui_file = NULL;
406
+ static HildonProgram * hildon_prog = NULL;
409
g_signal_connect (ev_window, "configure_event",
410
G_CALLBACK (window_configure_event_cb), NULL);
411
@@ -5135,6 +5197,17 @@
413
ev_window->priv = EV_WINDOW_GET_PRIVATE (ev_window);
416
+ if (hildon_prog == NULL) {
417
+ hildon_prog = HILDON_PROGRAM (hildon_program_get_instance ());
419
+ g_object_ref (hildon_prog);
422
+ ev_window->priv->hildon_program = hildon_prog;
423
+ hildon_program_add_window (ev_window->priv->hildon_program, HILDON_WINDOW (ev_window));
426
ev_window->priv->page_mode = PAGE_MODE_DOCUMENT;
427
ev_window->priv->title = ev_window_title_new (ev_window);
429
@@ -5181,13 +5254,16 @@
430
gtk_ui_manager_insert_action_group (ev_window->priv->ui_manager,
433
+ ui_file = g_build_filename (DATADIR, UI_FILE, NULL);
434
if (!gtk_ui_manager_add_ui_from_file (ev_window->priv->ui_manager,
435
- DATADIR"/evince-ui.xml",
438
g_warning ("building menus failed: %s", error->message);
439
g_error_free (error);
444
#ifdef HAVE_GTK_RECENT
445
#if GTK_CHECK_VERSION(2,11,4)
446
ev_window->priv->recent_manager = gtk_recent_manager_get_default ();
447
@@ -5207,6 +5283,13 @@
448
launchpad_integration_add_ui (ev_window->priv->ui_manager,
449
"/MainMenu/HelpMenu/LaunchpadItems");
452
+ hildon_window_set_menu (HILDON_WINDOW (ev_window),
453
+ GTK_MENU (gtk_ui_manager_get_widget (ev_window->priv->ui_manager, "/MainMenu")));
454
+ ev_window->priv->toolbar = gtk_ui_manager_get_widget (ev_window->priv->ui_manager, "/DefaultToolBar");
455
+ hildon_window_add_toolbar (HILDON_WINDOW (ev_window), GTK_TOOLBAR (ev_window->priv->toolbar));
456
+ gtk_widget_show (ev_window->priv->toolbar);
458
ev_window->priv->menubar =
459
gtk_ui_manager_get_widget (ev_window->priv->ui_manager,
461
@@ -5227,6 +5310,7 @@
462
gtk_box_pack_start (GTK_BOX (ev_window->priv->main_box),
463
ev_window->priv->toolbar,
466
gtk_widget_show (ev_window->priv->toolbar);
468
/* Add the main area */
469
diff -Nur evince-2.20.0/shell/ev-window.h evince-2.20.0.new/shell/ev-window.h
470
--- evince-2.20.0/shell/ev-window.h 2007-09-17 13:19:25.000000000 -0300
471
+++ evince-2.20.0.new/shell/ev-window.h 2007-09-18 22:28:49.000000000 -0300
473
#include <gtk/gtkwindow.h>
474
#include <gtk/gtkscrolledwindow.h>
477
+#include <hildon/hildon-window.h>
481
#include "ev-page-cache.h"
488
+ HildonWindow base_instance;
490
GtkWindow base_instance;
492
EvWindowPrivate *priv;
495
struct _EvWindowClass {
497
+ HildonWindowClass base_class;
499
GtkWindowClass base_class;
503
GType ev_window_get_type (void);
504
diff -Nur evince-2.20.0/shell/main.c evince-2.20.0.new/shell/main.c
505
--- evince-2.20.0/shell/main.c 2007-09-17 13:19:25.000000000 -0300
506
+++ evince-2.20.0.new/shell/main.c 2007-09-18 22:28:49.000000000 -0300
508
#include <dbus/dbus-glib-bindings.h>
512
+#include <libosso.h>
515
#include "ev-stock-icons.h"
516
#include "ev-job-queue.h"
517
#include "ev-file-helpers.h"
519
char *accel_filename;
520
GError *error = NULL;
523
+ osso_context_t *osso_context = NULL;
526
context = g_option_context_new (_("GNOME Document Viewer"));
529
g_option_context_add_main_entries (context, goption_options, NULL);
533
+ osso_context = osso_initialize (PACKAGE, VERSION, TRUE, NULL);
537
program = gnome_program_init (PACKAGE, VERSION,
538
LIBGNOMEUI_MODULE, argc, argv,
544
+ if (osso_context != NULL) {
545
+ osso_deinitialize (osso_context);
551
gnome_accelerators_sync ();
553
diff -Nur evince-2.20.0/configure.ac evince-2.20.0.new/configure.ac
554
--- evince-2.20.0/configure.ac 2007-09-18 22:49:25.000000000 -0300
555
+++ evince-2.20.0.new/configure.ac 2007-09-18 22:49:26.000000000 -0300
557
PKG_CHECK_MODULES(FRONTEND_CORE, gtk+-2.0 >= $GTK_REQUIRED libglade-2.0 gnome-vfs-2.0)
558
PKG_CHECK_MODULES(SHELL_CORE, libxml-2.0 >= $LIBXML_REQUIRED gtk+-2.0 >= $GTK_REQUIRED launchpad-integration gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gnome-vfs-2.0 libglade-2.0 gconf-2.0 gnome-keyring-1 >= $KEYRING_REQUIRED)
560
+dnl ==============================================
561
+dnl Maemo/Hildon based User Interface
563
+AC_ARG_ENABLE(hildon,
564
+ AC_HELP_STRING([--enable-hildon],[Build with Maemo/Hildon support]),
565
+ enable_hildon="$enableval",
568
+if test "x$enable_hildon" = "xyes" ; then
569
+ PKG_CHECK_MODULES(HILDON,
570
+ hildon-1 hildon-fm-2 libosso,
571
+ HAVE_HILDON=yes, HAVE_HILDON=no)
574
+if test "x$HAVE_HILDON" = "xyes" ; then
575
+ AC_DEFINE(USE_HILDON, 1, [Build with Maemo/Hildon support])
578
+AM_CONDITIONAL(USE_HILDON, test "x$HAVE_HILDON" = "xyes")
580
+HILDON_CFLAGS="$HILDON_CFLAGS -DUSE_STABLE_LIBGNOMEUI"
581
+AC_SUBST(HILDON_CFLAGS)
582
+AC_SUBST(HILDON_LIBS)
584
+dnl ==============================================
587
AC_ARG_WITH(libgnome,
588
AC_HELP_STRING([--without-libgnome],[disable the use of libgnome]),
589
[case "${withval}" in
593
GNOME Support......: $WITH_GNOME
594
+ Hildon Support.....: $HAVE_HILDON
595
Print Support......: $enable_print
596
DBUS Support.......: $enable_dbus
597
Nautilus Plugin....: $HAVE_NAUTILUS
598
diff -Nur evince-2.20.0/shell/Makefile.am evince-2.20.0.new/shell/Makefile.am
599
--- evince-2.20.0/shell/Makefile.am 2007-09-24 14:23:16.000000000 -0300
600
+++ evince-2.20.0.new/shell/Makefile.am 2007-09-24 14:28:40.000000000 -0300
603
$(DISABLE_DEPRECATED) \
604
$(GNOME_PRINT_CFLAGS) \
605
- $(GTK_PRINT_CFLAGS)
606
+ $(GTK_PRINT_CFLAGS) \
612
$(top_builddir)/properties/libevproperties.la \
613
$(top_builddir)/libdocument/libevbackend.la \
615
- $(GNOME_PRINT_LIBS)
616
+ $(GNOME_PRINT_LIBS) \
621
diff -Nur evince-2.20.0/data/Makefile.am evince-2.20.0.new/data/Makefile.am
622
--- evince-2.20.0/data/Makefile.am 2007-09-18 22:48:36.000000000 -0300
623
+++ evince-2.20.0.new/data/Makefile.am 2007-09-18 22:50:54.000000000 -0300
627
uidir = $(pkgdatadir)
630
+ evince-hildon-ui.xml \
631
+ evince-toolbar.xml \
645
@INTLTOOL_DESKTOP_RULE@
647
DESKTOP_IN_FILES= evince.desktop.in.in
648
-DESKTOP_FILES= $(DESKTOP_IN_FILES:.desktop.in.in=.desktop)
650
desktopdir = $(datadir)/applications
652
+DESKTOP_FILES= $(DESKTOP_IN_FILES:.desktop.in.in=.desktop)
653
desktop_DATA = $(DESKTOP_FILES)
656
+# D-Bus service (Maemo)
659
+dbus_servicedir = $(datadir)/dbus-1/services
660
+dbus_service_DATA = evince.service
666
$(DESKTOP_IN_FILES) \
669
+ $(dbus_service_DATA) \