[26779] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25749 - in trunk/debathena/debathena/evolution-wrapper: . debian

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Tue Sep 4 15:44:11 2012

Date: Tue, 4 Sep 2012 15:44:04 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201209041944.q84Ji4w7028948@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2012-09-04 15:44:04 -0400 (Tue, 04 Sep 2012)
New Revision: 25749

Modified:
   trunk/debathena/debathena/evolution-wrapper/debian/changelog
   trunk/debathena/debathena/evolution-wrapper/evolution.debathena
Log:
In evolution-wrapper:
  * Set the inital Gtk file chooser dir to the user's homedir avoid user
    confusion (Trac: #1249)


Modified: trunk/debathena/debathena/evolution-wrapper/debian/changelog
===================================================================
--- trunk/debathena/debathena/evolution-wrapper/debian/changelog	2012-09-02 19:04:04 UTC (rev 25748)
+++ trunk/debathena/debathena/evolution-wrapper/debian/changelog	2012-09-04 19:44:04 UTC (rev 25749)
@@ -1,3 +1,10 @@
+debathena-evolution-wrapper (10.0.12) unstable; urgency=low
+
+  * Set the inital Gtk file chooser dir to the user's homedir avoid user
+    confusion (Trac: #1249)
+
+ -- Jonathan Reed <jdreed@mit.edu>  Tue, 04 Sep 2012 15:43:04 -0400
+
 debathena-evolution-wrapper (10.0.11) unstable; urgency=low
 
   * Bump debian/compat to 6

Modified: trunk/debathena/debathena/evolution-wrapper/evolution.debathena
===================================================================
--- trunk/debathena/debathena/evolution-wrapper/evolution.debathena	2012-09-02 19:04:04 UTC (rev 25748)
+++ trunk/debathena/debathena/evolution-wrapper/evolution.debathena	2012-09-04 19:44:04 UTC (rev 25749)
@@ -45,6 +45,13 @@
 my $old_server = "";
 
 my $client = Gnome2::GConf::Client->get_default;
+
+# Set the initial homedir to something other than null
+unless ($client->get("/apps/evolution/shell/file_chooser_folder")) {
+    $client->set_string("/apps/evolution/shell/file_chooser_folder",
+			"file://" . $homedir);
+}
+
 my $accounts = $client->get_list("/apps/evolution/mail/accounts");
 
 if ($accounts && @$accounts) {


home help back first fref pref prev next nref lref last post