wrong exit_action value when creating new profile

Bug #194598 reported by chantra
2
Affects Status Importance Assigned to Milestone
GNOME Terminal
Fix Released
Low
gnome-terminal (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Ubuntu Gutsy
gnome-terminal 2.18.2-0ubuntu1

Also happens on hardy 2.21.90-0ubuntu1

When creating a new profile, the gconf key:
/apps/gnome-terminal/profiles/<profile name>/exit_action
is set to left instead of exit (or at least any possible correct values)

switching the value through the profile preference interface to hold or restart, then exit again, will revert the value to "close"

providing a patch:

--- gnome-terminal-2.18.2/src/terminal-profile.c 2008-02-23 01:28:11.000000000 +0000
+++ gnome-terminal-2.18.2.new/src/terminal-profile.c 2008-02-23 01:29:42.000000000 +0000
@@ -2752,7 +2752,7 @@
   key = gconf_concat_dir_and_key (profile_dir,
                                   KEY_EXIT_ACTION);

- cs = gconf_enum_to_string (scrollbar_positions,
+ cs = gconf_enum_to_string (exit_actions,
                              base_profile->priv->exit_action);

   gconf_client_set_string (base_profile->priv->conf,

Revision history for this message
chantra (chantra) wrote :
Changed in gnome-terminal:
status: Unknown → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your work.

Changed in gnome-terminal:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Triaged
Revision history for this message
chantra (chantra) wrote :

btw, it seems that it is making its way upstream:
http://bugzilla.gnome.org/show_activity.cgi?id=518184

Changed in gnome-terminal:
status: New → Fix Released
Revision history for this message
Pedro Villavicencio (pedro) wrote :

fixed upstream, thanks for reporting.

Changed in gnome-terminal:
status: Triaged → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is available in ubuntu now

Changed in gnome-terminal:
status: Fix Committed → Fix Released
Changed in gnome-terminal:
importance: Unknown → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.