gthumb r2214 - in trunk: . src
- From: mjc svn gnome org
- To: svn-commits-list gnome org
- Subject: gthumb r2214 - in trunk: . src
- Date: Tue, 22 Jan 2008 01:31:46 +0000 (GMT)
Author: mjc
Date: Tue Jan 22 01:31:46 2008
New Revision: 2214
URL: http://svn.gnome.org/viewvc/gthumb?rev=2214&view=rev
Log:
2008-01-21 Michael J. Chudobiak <mjc svn gnome org>
* src/dlg-scripts.c: (gconf_get_script):
Do not assign the default script text to an empty slot if the
script name is not empty and not equal to the default name.
Modified:
trunk/ChangeLog
trunk/src/dlg-scripts.c
Modified: trunk/src/dlg-scripts.c
==============================================================================
--- trunk/src/dlg-scripts.c (original)
+++ trunk/src/dlg-scripts.c Tue Jan 22 01:31:46 2008
@@ -761,11 +761,7 @@
} else {
/* There was a non-default value stored in gconf, so return it */
script_name = g_strdup (user_name);
- /* Not sure of that : can there be a name but no command ? Better check... */
- if (!strcmp (current_command, ""))
- script_command = g_strdup ((char*) default_command);
- else
- script_command = g_strdup ((char*) current_command);
+ script_command = g_strdup ((char*) current_command);
}
g_free (user_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]