diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-12-02 11:30:24 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-12-02 11:30:24 +0000 |
commit | 395bb2190150d7ca94b72877e26c6a45a9aeda57 (patch) | |
tree | b006fa5b6ff31677fd87cb4e40777528a2a870ea /gtk/capture_dlg.c | |
parent | f516cf141fee24a98bfed082c438d07585c4f478 (diff) |
From Nathan Jennings: add a preference that supplies a prefix for window
titles.
svn path=/trunk/; revision=12657
Diffstat (limited to 'gtk/capture_dlg.c')
-rw-r--r-- | gtk/capture_dlg.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk/capture_dlg.c b/gtk/capture_dlg.c index 8023e71cc9..fd9f3734c7 100644 --- a/gtk/capture_dlg.c +++ b/gtk/capture_dlg.c @@ -527,6 +527,7 @@ capture_prep(void) GtkWidget *buffer_size_lb, *buffer_size_sb; #endif guint32 value; + gchar *cap_title; if (cap_open_w != NULL) { /* There's already a "Capture Options" dialog box; reactivate it. */ @@ -566,7 +567,11 @@ capture_prep(void) g_free(cant_get_if_list_errstr); } - cap_open_w = dlg_window_new("Ethereal: Capture Options"); + /* use user-defined title if preference is set */ + cap_title = create_user_window_title("Ethereal: Capture Options"); + + cap_open_w = dlg_window_new(cap_title); + g_free(cap_title); tooltips = gtk_tooltips_new(); |