Package: gman Version: 0.9.3-2.nix.1 Severity: wishlist Tags: patch Hi,
GMan currently sets xterm's icon name to 'GMan', which is not too informative.. (Consider the user has half a dozen of these manual pages open, most of them iconified.) I'd prefer if the name of the manual page is included in the icon name as well (preferably at the beginning), eg. 'perlfunc - GMan'. I attached a patch that changes the xterm icon name to 'manpagename - GMan' style. norbi -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (600, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.16 Locale: LANG=C, LC_CTYPE=hu_HU (charmap=ISO-8859-2) Versions of packages gman depends on: ii gnome-terminal [x- 2.8.2-2 The GNOME 2 terminal emulator appl ii libc6 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an ii libgcc1 1:3.4.3-13sarge1 GCC support library ii libglib1.2 1.2.10-9 The GLib library of C routines ii libgtk1.2 1.2.10-17 The GIMP Toolkit set of widgets fo ii libstdc++5 1:3.3.5-13 The GNU Standard C++ Library v3 ii libx11-6 4.3.0.dfsg.1-14sarge1 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-14sarge1 X Window System miscellaneous exte ii libxi6 4.3.0.dfsg.1-14sarge1 X Window System Input extension li ii man-db 2.4.2-21 The on-line manual pager ii rxvt [x-terminal-e 1:2.6.4-6.2 VT102 terminal emulator for the X ii rxvt-ml [x-termina 1:2.6.4-6.2 multi-lingual VT102 terminal emula ii xlibs 4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu ii xterm [x-terminal- 4.3.0.dfsg.1-14sarge1 X terminal emulator ii xvt [x-terminal-em 2.1-18 X terminal-emulator similar to xte -- no debconf information
diff -Naur gman-0.9.3/mandata.c gman-0.9.3.fixed/mandata.c --- gman-0.9.3/mandata.c 2006-10-01 10:27:39.000000000 +0200 +++ gman-0.9.3.fixed/mandata.c 2006-10-01 10:28:00.000000000 +0200 @@ -241,8 +241,9 @@ char buffer2[BUFFER_SIZE]; switch ((int)context->get_value("show_mode")) { case 0: - sprintf(buffer,"%s -T '%s manual page' -n GMan -e man ", + sprintf(buffer,"%s -T '%s manual page' -n '%s - GMan' -e man ", (char*)context->get_value("xterm_command"), + get_display_name(buffer1), get_display_name(buffer1)); len = strlen(buffer); attach(buffer+len,man_path->GetPath(),file_name);