Wireshark-bugs: [Wireshark-bugs] [Bug 11102] New: gui_window_title could be before caption to en

Date: Wed, 01 Apr 2015 12:09:29 +0000
Bug ID 11102
Summary gui_window_title could be before caption to enhance distinguishing multiple instances in the task bar
Product Wireshark
Version unspecified
Hardware All
OS Linux (other)
Status UNCONFIRMED
Severity Enhancement
Priority Low
Component GTK+ UI
Assignee [email protected]
Reporter [email protected]

Build Information:
Wireshark 1.99.6-70-g17cbd50 (SVN Rev Unknown from unknown)

Copyright 1998-2015 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (32-bit) with GTK+ 2.24.22, with Cairo 1.13.1, with Pango 1.36.1, with
libpcap, without POSIX capabilities, without libnl, with libz 1.2.8, with GLib
2.38.2, without SMI, without c-ares, without ADNS, without Lua, without GnuTLS,
without Gcrypt, without Kerberos, without GeoIP, without PortAudio, with
AirPcap.

Running on Linux 3.15.8-200.fc20.i686+PAE, with locale en_US.UTF-8, with
libpcap
version 1.5.3, with libz 1.2.8, without AirPcap.

Built using gcc 4.8.3 20140624 (Red Hat 4.8.3-1).

--
Hi, 

when opening multiple wireshark instances, locally or via X11,  they all look
the same in the task bar of the desktop environment because the customizable
gui windows title is at the end . there was a time when customizing the windows
title allowed easier distinguishing between the multiple instances, but sadly
it disappeared at one time ( probably between 1.8 and 1.10 ) . as a workaround
i often reinstall from source and patch as this :

--- ui/gtk/gui_utils.c.orig     2012-08-08 08:49:50.475824330 +0200
+++ ui/gtk/gui_utils.c  2012-08-08 08:52:26.662857451 +0200
@@ -1173,21 +1173,21 @@
 create_user_window_title(const gchar *caption)
 {
     /* fail-safe */
     if (caption == NULL)
         return g_strdup("");

     /* no user-defined title specified */
     if ((prefs.gui_window_title == NULL) || (*prefs.gui_window_title == '\0'))
         return g_strdup(caption);

-    return g_strdup_printf("%s   [%s]", caption, prefs.gui_window_title);
+    return g_strdup_printf("%s   [%s]", prefs.gui_window_title, caption);
 }

 /*
  * Set the title of a window based on a supplied caption and the
  * display name for the capture file.
  *
  * XXX - should this include the user preference as well?
  */
 void
 set_window_title(GtkWidget *win, const gchar *caption)


thank for considering an evolution where the customisation of gui_window_title
would be visible even when the task bar is crowded.

Regards,

Yann.


You are receiving this mail because:
  • You are watching all bug changes.