blob: 2570df8f0d3481b6bb4320ae658bfc0273354309 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
Origin: Ubuntu
Description: Add launchpad-integration support.
---
configure.ac | 1 +
src/Makefile.am | 1 +
src/ui.vala | 3 +++
3 files changed, 5 insertions(+)
--- simple-scan.orig/configure.ac
+++ simple-scan/configure.ac
@@ -30,6 +30,7 @@ PKG_CHECK_MODULES(SIMPLE_SCAN, [
cairo
gdk-pixbuf-2.0
gudev-1.0
+ launchpad-integration-3.0
])
PKG_CHECK_MODULES(COLORD, [
--- simple-scan.orig/src/Makefile.am
+++ simple-scan/src/Makefile.am
@@ -15,6 +15,7 @@ simple_scan_SOURCES = \
simple_scan_VALAFLAGS = \
--pkg=zlib \
+ --pkg=launchpad-integration-3.0 \
--pkg=gudev-1.0 \
--pkg=gio-2.0 \
--pkg=gtk+-3.0
--- simple-scan.orig/src/ui.vala
+++ simple-scan/src/ui.vala
@@ -1268,6 +1268,9 @@ public class SimpleScan
}
builder.connect_signals (this);
+ LaunchpadIntegration.set_sourcepackagename ("simple-scan");
+ LaunchpadIntegration.add_items ((Gtk.Widget) builder.get_object ("help_menu"), 1, true, true);
+
window = (Gtk.Window) builder.get_object ("simple_scan_window");
main_vbox = (Gtk.VBox) builder.get_object ("main_vbox");
page_move_left_menuitem = (Gtk.MenuItem) builder.get_object ("page_move_left_menuitem");
|