forked from fepitre/qubes-xscreensaver
-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Qubes-0002-Remove-Documentation-link-since-we-are-offline.patch
92 lines (89 loc) · 4.02 KB
/
Qubes-0002-Remove-Documentation-link-since-we-are-offline.patch
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
From db55a44af41fd2504adf166de3ed64fd60dc4315 Mon Sep 17 00:00:00 2001
From: unman <[email protected]>
Date: Sun, 28 Feb 2021 14:26:19 +0000
Subject: [PATCH] Remove Documentation link (since we are offline).
Remove ref to jwz in help
---
driver/demo-Gtk.c | 2 +-
driver/xscreensaver-demo.ui | 7 -------
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/driver/prefs.ui b/driver/prefs.ui
index a6e4e2e..85aa6e6 100644
--- a/driver/prefs.ui
+++ b/driver/prefs.ui
@@ -446,23 +446,6 @@
<property name="spacing">0</property>
<property name="orientation">horizontal</property>
<property name="margin-top">12</property>
- <child>
- <object class="GtkButton" id="manual">
- <property name="visible">True</property>
- <property name="can-focus">True</property>
- <property name="label" translatable="yes">_Documentation...</property>
- <property name="use-underline">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus-on-click">True</property>
- <signal handler="manual_cb" name="clicked"/>
- </object>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="pack-type">GTK_PACK_END</property>
- </packing>
- </child>
</object>
<packing>
<property name="padding">0</property>
diff --git a/driver/demo.ui b/driver/demo.ui
index 8860c9d3..d2d30ab5 100644
--- a/driver/demo.ui
+++ b/driver/demo.ui
@@ -283,15 +283,6 @@
<signal handler="about_menu_cb" name="activate"/>
</object>
</child>
- <child>
- <object class="GtkImageMenuItem">
- <property name="label" translatable="yes">Documentation...</property>
- <property name="visible">True</property>
- <property name="can-focus">False</property>
- <property name="use-underline">True</property>
- <signal handler="doc_menu_cb" name="activate"/>
- </object>
- </child>
</object>
</child>
</object>
diff --git a/driver/xscreensaver-command.c b/driver/xscreensaver-command.c
index 0dab564..37e14c8 100644
--- a/driver/xscreensaver-command.c
+++ b/driver/xscreensaver-command.c
@@ -121,7 +121,7 @@ usage: %s -<option>\n\
version number of xscreensaver-command.\n\
\n\
See the man page for more details.\n\
- For updates, check https://www.jwz.org/xscreensaver/\n\
+ For updates, run qubes-dom0-update\n\
\n";
#define USAGE(A,B) do { \
diff --git a/driver/demo-Gtk.c b/driver/demo-Gtk.c
index a84b4207..20fd13fe 100644
--- a/driver/demo-Gtk.c
+++ b/driver/demo-Gtk.c
@@ -236,7 +236,6 @@ G_DEFINE_TYPE (XScreenSaverApp, xscreensaver_app, GTK_TYPE_APPLICATION)
W(adv_button) \
W(std_button) \
W(cmd_label) \
- W(manual) \
W(visual) \
W(visual_combo) \
W(reset_button) \
@@ -4642,7 +4641,6 @@ sensitize_demo_widgets (state *s, Bool sensitive_p)
{
gtk_widget_set_sensitive (dialog->cmd_label, sensitive_p);
gtk_widget_set_sensitive (dialog->cmd_text, sensitive_p);
- gtk_widget_set_sensitive (dialog->manual, sensitive_p);
gtk_widget_set_sensitive (dialog->visual, sensitive_p);
gtk_widget_set_sensitive (dialog->visual_combo, sensitive_p);
}