[Xfce4-commits] <xfce4-session:master> Set correct title when editing entries.

Nick Schermer noreply at xfce.org
Sun Feb 7 15:10:01 CET 2010


Updating branch refs/heads/master
         to 4ef73767976cd001c4d3848bee46fab31fb8e8fb (commit)
       from e5780aa96ee901a4b6747a8d3c1472e956fee305 (commit)

commit 4ef73767976cd001c4d3848bee46fab31fb8e8fb
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Feb 7 15:09:23 2010 +0100

    Set correct title when editing entries.

 settings/xfae-dialog.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/settings/xfae-dialog.c b/settings/xfae-dialog.c
index 18bfcd2..7334ead 100644
--- a/settings/xfae-dialog.c
+++ b/settings/xfae-dialog.c
@@ -229,6 +229,8 @@ xfae_dialog_new (const gchar *name,
     gtk_entry_set_text (GTK_ENTRY (dialog->descr_entry), descr );
   if (command)
     gtk_entry_set_text (GTK_ENTRY (dialog->command_entry), command);
+  if (name != NULL || descr != NULL || command != NULL)
+    gtk_window_set_title (GTK_WINDOW (dialog), _("Edit application"));
 
   return GTK_WIDGET (dialog);
 }



More information about the Xfce4-commits mailing list