diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-05-16 21:31:41 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-05-16 21:31:41 +0200 |
commit | 3db556135bb4b3bf1f15860f371468d881b40c2f (patch) | |
tree | 03f0f7034c1346db35e99925ecc3d9348f5dc73e /uzbl.c | |
parent | 96333d7c1ba38601a034edf46b7f85b2344e04ed (diff) | |
parent | 08b23f41c00b2c042742545321777ca41ac1fec4 (diff) |
merge Barrucadus patch
Diffstat (limited to 'uzbl.c')
-rw-r--r-- | uzbl.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -135,11 +135,6 @@ static GOptionEntry entries[] = typedef void (*Command)(WebKitWebView*, const char *); -/* XDG stuff */ -static char *XDG_CONFIG_HOME_default[256]; -static char *XDG_CONFIG_DIRS_default = "/etc/xdg"; - - /* --- UTILITY FUNCTIONS --- */ char * @@ -739,7 +734,8 @@ run_command (const char *command, const char *args, const gboolean sync, char ** if (sync) { result = g_spawn_command_line_sync (to_execute->str, stdout, NULL, NULL, &err); } else result = g_spawn_command_line_async (to_execute->str, &err); - printf("Called %s. Result: %s\n", to_execute->str, (result ? "TRUE" : "FALSE" )); + if (uzbl.state.verbose) + printf("Called %s. Result: %s\n", to_execute->str, (result ? "TRUE" : "FALSE" )); g_string_free (to_execute, TRUE); if (err) { g_printerr("error on run_command: %s\n", err->message); @@ -1553,7 +1549,6 @@ find_xdg_file (int xdg_type, char* filename) { static void settings_init () { - char *saveptr; State *s = &uzbl.state; Network *n = &uzbl.net; |