Codebase list xapp / eb3e648
New upstream version 1.2.2 Maximiliano Curia 5 years ago
6 changed file(s) with 28 addition(s) and 30 deletion(s). Raw diff Collapse all Expand all
3737 fi
3838
3939 jobs:
40 "mint18":
41 <<: *shared
42 docker:
43 - image: linuxmintd/mint18-amd64
44
4540 "mint19":
4641 <<: *shared
4742 docker:
5651 version: 2
5752 build:
5853 jobs:
59 - "mint18"
6054 - "mint19"
6155 - "lmde3"
0 xapp (1.2.2) tara; urgency=medium
1
2 [ Fabio Fantoni ]
3 * circleci: remove mint18 job (#41)
4
5 [ Michael Webster ]
6 * xapp-gtk-window.c: Check for x11 at a more appropriate time.
7
8 [ Clement Lefebvre ]
9 * Pastebin: Replace gist with termbin
10
11 -- Clement Lefebvre <root@linuxmint.com> Tue, 17 Jul 2018 09:35:34 +0200
12
013 xapp (1.2.1) tara; urgency=medium
114
215 [ Michael Webster ]
7777 Architecture: all
7878 Multi-Arch: foreign
7979 Depends:
80 gist,
8180 inxi,
8281 python3,
8382 python3-gi,
2121 content = str_args
2222
2323 if content != "":
24 for paster in ['/usr/bin/gist-paste', '/usr/bin/fpaste']:
25 if os.path.exists(paster):
26 p = subprocess.Popen([paster], stdin=subprocess.PIPE)
27 p.communicate(content.encode("UTF-8"))
24 if os.path.exists('/usr/bin/fpaste'):
25 p = subprocess.Popen(['/usr/bin/fpaste'], stdin=subprocess.PIPE)
26 p.communicate(content.encode("UTF-8"))
27 else:
28 p = subprocess.Popen(['nc', 'termbin.com', '9999'], stdin=subprocess.PIPE)
29 p.communicate(content.encode("UTF-8"))
168168 update_window_icon (GtkWindow *window,
169169 XAppGtkWindowPrivate *priv)
170170 {
171 if (!is_x11_session ()) {
172 return;
173 }
174
171175 /* Icon name/path */
172176 if (priv->icon_name != NULL)
173177 {
193197 update_window_progress (GtkWindow *window,
194198 XAppGtkWindowPrivate *priv)
195199 {
200 if (!is_x11_session ()) {
201 return;
202 }
203
196204 /* Progress: 0 - 100 */
197205 set_window_hint_cardinal (get_window_xid (window),
198206 PROGRESS_HINT,
208216 XAppGtkWindowPrivate *priv,
209217 const gchar *icon_name)
210218 {
211 if (!is_x11_session ()) {
212 goto out;
213 }
214
215219 if (g_strcmp0 (icon_name, priv->icon_name) == 0)
216220 {
217221 gtk_window_set_icon_name (window, icon_name);
234238 update_window_icon (window, priv);
235239 }
236240
237 out:
238241 /* Call the GtkWindow method for compatibility */
239242 gtk_window_set_icon_name (GTK_WINDOW (window), icon_name);
240243 }
245248 const gchar *file_name,
246249 GError **error)
247250 {
248 if (!is_x11_session ()) {
249 goto out;
250 }
251
252251 if (g_strcmp0 (file_name, priv->icon_path) == 0)
253252 {
254253 gtk_window_set_icon_from_file (window, file_name, error);
271270 update_window_icon (window, priv);
272271 }
273272
274 out:
275273 gtk_window_set_icon_from_file (GTK_WINDOW (window), file_name, error);
276274 }
277275
280278 XAppGtkWindowPrivate *priv,
281279 gint progress)
282280 {
283 if (!is_x11_session ()) {
284 return;
285 }
286
287281 gboolean update;
288282 guint clamped_progress;
289283
319313 XAppGtkWindowPrivate *priv,
320314 gboolean pulse)
321315 {
322 if (!is_x11_session ()) {
323 return;
324 }
325
326316 gboolean update;
327317
328318 update = FALSE;
00 project('xapp',
11 'c',
2 version : '1.2.1'
2 version : '1.2.2'
33 )
44
55 gnome = import('gnome')