Mercurial > geeqie
diff src/main.c @ 283:e213fb025621
GQVIEW_* -> GQ_*
author | zas_ |
---|---|
date | Tue, 08 Apr 2008 23:16:12 +0000 |
parents | 9995c5fb202a |
children | d1f74154463e |
line wrap: on
line diff
--- a/src/main.c Tue Apr 08 23:07:09 2008 +0000 +++ b/src/main.c Tue Apr 08 23:16:12 2008 +0000 @@ -202,7 +202,7 @@ return; } - help_browser_command(result, GQVIEW_HTMLDIR "/index.html"); + help_browser_command(result, GQ_HTMLDIR "/index.html"); g_free(result); } @@ -236,7 +236,7 @@ } help_window = help_window_new(_("Help - Geeqie"), GQ_WMCLASS, "help", - GQVIEW_HELPDIR "/README", key); + GQ_HELPDIR "/README", key); g_signal_connect(G_OBJECT(help_window), "destroy", G_CALLBACK(help_window_destroy_cb), NULL); } @@ -627,7 +627,7 @@ gint started = FALSE; gchar *buf; - buf = g_strconcat(homedir(), "/", GQVIEW_RC_DIR, "/.command", NULL); + buf = g_strconcat(homedir(), "/", GQ_RC_DIR, "/.command", NULL); rc = remote_client_open(buf); if (!rc) { @@ -1072,7 +1072,7 @@ { gchar *path; - path = g_strconcat(homedir(), "/", GQVIEW_RC_DIR, "/", RC_HISTORY_NAME, NULL); + path = g_strconcat(homedir(), "/", GQ_RC_DIR, "/", RC_HISTORY_NAME, NULL); history_list_load(path); g_free(path); } @@ -1081,7 +1081,7 @@ { gchar *path; - path = g_strconcat(homedir(), "/", GQVIEW_RC_DIR, "/", RC_HISTORY_NAME, NULL); + path = g_strconcat(homedir(), "/", GQ_RC_DIR, "/", RC_HISTORY_NAME, NULL); history_list_save(path); g_free(path); } @@ -1114,7 +1114,7 @@ gchar *path; gint i; - for (i = 0; i < GQVIEW_EDITOR_SLOTS; i++) + for (i = 0; i < GQ_EDITOR_SLOTS; i++) { editor_name[i] = NULL; editor_command[i] = NULL; @@ -1126,12 +1126,12 @@ path = concat_dir_and_file(homedir(), "Desktop"); bookmark_add_default(_("Desktop"), path); g_free(path); - path = concat_dir_and_file(homedir(), GQVIEW_RC_DIR_COLLECTIONS); + path = concat_dir_and_file(homedir(), GQ_RC_DIR_COLLECTIONS); bookmark_add_default(_("Collections"), path); g_free(path); g_free(safe_delete_path); - safe_delete_path = concat_dir_and_file(homedir(), GQVIEW_RC_DIR_TRASH); + safe_delete_path = concat_dir_and_file(homedir(), GQ_RC_DIR_TRASH); for (i = 0; i < COLOR_PROFILE_INPUTS; i++) { @@ -1188,7 +1188,7 @@ save_options(); keys_save(); - path = g_strconcat(homedir(), "/", GQVIEW_RC_DIR, "/accels", NULL); + path = g_strconcat(homedir(), "/", GQ_RC_DIR, "/accels", NULL); pathl = path_from_utf8(path); gtk_accel_map_save(pathl); g_free(pathl); @@ -1268,7 +1268,7 @@ /* setup locale, i18n */ gtk_set_locale(); - bindtextdomain(PACKAGE, GQVIEW_LOCALEDIR); + bindtextdomain(PACKAGE, GQ_LOCALEDIR); bind_textdomain_codeset(PACKAGE, "UTF-8"); textdomain(PACKAGE); @@ -1302,16 +1302,16 @@ print_term("!!! Geeqie may quit unexpectedly with a relocation error.\n"); } - check_for_home_path(GQVIEW_RC_DIR); - check_for_home_path(GQVIEW_RC_DIR_COLLECTIONS); - check_for_home_path(GQVIEW_CACHE_RC_THUMB); - check_for_home_path(GQVIEW_CACHE_RC_METADATA); + check_for_home_path(GQ_RC_DIR); + check_for_home_path(GQ_RC_DIR_COLLECTIONS); + check_for_home_path(GQ_CACHE_RC_THUMB); + check_for_home_path(GQ_CACHE_RC_METADATA); keys_load(); filter_add_defaults(); filter_rebuild(); - buf = g_strconcat(homedir(), "/", GQVIEW_RC_DIR, "/accels", NULL); + buf = g_strconcat(homedir(), "/", GQ_RC_DIR, "/accels", NULL); bufl = path_from_utf8(buf); gtk_accel_map_load(bufl); g_free(bufl); @@ -1441,7 +1441,7 @@ if (startup_full_screen) layout_image_full_screen_start(lw); if (startup_in_slideshow) layout_image_slideshow_start(lw); - buf = g_strconcat(homedir(), "/", GQVIEW_RC_DIR, "/.command", NULL); + buf = g_strconcat(homedir(), "/", GQ_RC_DIR, "/.command", NULL); remote_connection = remote_server_open(buf); remote_server_subscribe(remote_connection, remote_cb, NULL); g_free(buf);