After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 313694 - Set title dialog - preselect text & make resizable
Set title dialog - preselect text & make resizable
Status: RESOLVED FIXED
Product: gnome-terminal
Classification: Core
Component: general
git master
Other All
: Low enhancement
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-17 06:09 UTC by Ted Percival
Modified: 2005-09-20 11:09 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Ted Percival 2005-08-17 06:09:58 UTC
I'd like it if the text in the set title dialog was selected by default, because
I rarely want to modify an existing title - instead I want to completely replace it.

Other information:
Here is a diff for the requested change.

Index: src/terminal-screen.c
===================================================================
RCS file: /cvs/gnome/gnome-terminal/src/terminal-screen.c,v
retrieving revision 1.102
diff -u -b -p -r1.102 terminal-screen.c
--- src/terminal-screen.c       2 Jul 2005 00:38:04 -0000       1.102
+++ src/terminal-screen.c       17 Aug 2005 06:01:18 -0000
@@ -2018,6 +2018,8 @@ terminal_screen_edit_title (TerminalScre
       if (screen->priv->raw_title)
         gtk_entry_set_text (GTK_ENTRY (entry), screen->priv->raw_title);

+      gtk_editable_select_region(GTK_EDITABLE (entry), 0, -1);
+
       g_signal_connect (G_OBJECT (entry), "changed",
                         G_CALLBACK (title_entry_changed),
                         screen);
Comment 1 Chris Scobell 2005-08-18 13:32:28 UTC
Marking as an enhancement.
Comment 2 Kjartan Maraas 2005-09-20 11:09:25 UTC
Makes sense. Commited to HEAD.