File: gnome-ssh-askpass2-icon.patch

package info (click to toggle)
openssh 1%3A9.2p1-2%2Bdeb12u7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-updates
  • size: 17,312 kB
  • sloc: ansic: 121,512; sh: 14,575; makefile: 1,547; cpp: 677; awk: 341; csh: 1
file content (26 lines) | stat: -rw-r--r-- 815 bytes parent folder | download
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
From deab71aa1b1bffb0f036ce681045aad80a846db4 Mon Sep 17 00:00:00 2001
From: Vincent Untz <vuntz@ubuntu.com>
Date: Sun, 9 Feb 2014 16:10:16 +0000
Subject: Give the ssh-askpass-gnome window a default icon

Bug-Ubuntu: https://bugs.launchpad.net/bugs/27152
Last-Update: 2010-02-28

Patch-Name: gnome-ssh-askpass2-icon.patch
---
 contrib/gnome-ssh-askpass2.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/gnome-ssh-askpass2.c b/contrib/gnome-ssh-askpass2.c
index a62f98152..304569802 100644
--- a/contrib/gnome-ssh-askpass2.c
+++ b/contrib/gnome-ssh-askpass2.c
@@ -320,6 +320,8 @@ main(int argc, char **argv)
 
 	gtk_init(&argc, &argv);
 
+	gtk_window_set_default_icon_from_file ("/usr/share/pixmaps/ssh-askpass-gnome.png", NULL);
+
 	if (argc > 1) {
 		message = g_strjoinv(" ", argv + 1);
 	} else {