AM_PATH_GTK_2_0(2.4.0,,AC_MSG_ERROR(GTK+ >= 2.4.0 not installed.))
-AC_DEFINE_UNQUOTED(GQVIEW_HELPDIR, "$prefix/share/doc/geeqie-$VERSION", [Location of documentation files])
-AC_DEFINE_UNQUOTED(GQVIEW_HTMLDIR, "$prefix/share/doc/geeqie-$VERSION/html", [Location of html documentation])
+AC_DEFINE_UNQUOTED(GQ_HELPDIR, "$prefix/share/doc/geeqie-$VERSION", [Location of documentation files])
+AC_DEFINE_UNQUOTED(GQ_HTMLDIR, "$prefix/share/doc/geeqie-$VERSION/html", [Location of html documentation])
dnl checks for functions
AC_CHECK_FUNCS(strverscmp access fsync fflush)
GETTEXT_PACKAGE=$PACKAGE
AC_SUBST(GETTEXT_PACKAGE)
AM_GLIB_GNU_GETTEXT
-AM_GLIB_DEFINE_LOCALEDIR(GQVIEW_LOCALEDIR)
+AM_GLIB_DEFINE_LOCALEDIR(GQ_LOCALEDIR)
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
if (cache_ensure_dir_exists(comment_dir, mode))
{
comment_path = g_strconcat(comment_dir, "/", fd->name,
- GQVIEW_CACHE_EXT_METADATA, NULL);
+ GQ_CACHE_EXT_METADATA, NULL);
}
g_free(comment_dir);
}
history_list_free_key(SORT_KEY_COLLECTIONS);
bookmark_list_set_key(bookmarks, SORT_KEY_COLLECTIONS);
- collect_path = g_strconcat(homedir(), "/", GQVIEW_RC_DIR_COLLECTIONS, NULL);
+ collect_path = g_strconcat(homedir(), "/", GQ_RC_DIR_COLLECTIONS, NULL);
path_list(collect_path, &list, NULL);
g_free(collect_path);
ext = ".gqv";
}
- path = g_strconcat(homedir(), "/", GQVIEW_RC_DIR_COLLECTIONS, "/", name, ext, NULL);
+ path = g_strconcat(homedir(), "/", GQ_RC_DIR_COLLECTIONS, "/", name, ext, NULL);
if (isfile(path))
{
gchar *text = g_strdup_printf(_("The collection:\n%s\nalready exists."), name);
switch (type)
{
case CACHE_TYPE_THUMB:
- *cache_rc = GQVIEW_CACHE_RC_THUMB;
- *cache_local = GQVIEW_CACHE_LOCAL_THUMB;
- *cache_ext = GQVIEW_CACHE_EXT_THUMB;
+ *cache_rc = GQ_CACHE_RC_THUMB;
+ *cache_local = GQ_CACHE_LOCAL_THUMB;
+ *cache_ext = GQ_CACHE_EXT_THUMB;
break;
case CACHE_TYPE_SIM:
- *cache_rc = GQVIEW_CACHE_RC_THUMB;
- *cache_local = GQVIEW_CACHE_LOCAL_THUMB;
- *cache_ext = GQVIEW_CACHE_EXT_SIM;
+ *cache_rc = GQ_CACHE_RC_THUMB;
+ *cache_local = GQ_CACHE_LOCAL_THUMB;
+ *cache_ext = GQ_CACHE_EXT_SIM;
break;
case CACHE_TYPE_METADATA:
- *cache_rc = GQVIEW_CACHE_RC_METADATA;
- *cache_local = GQVIEW_CACHE_LOCAL_METADATA;
- *cache_ext = GQVIEW_CACHE_EXT_METADATA;
+ *cache_rc = GQ_CACHE_RC_METADATA;
+ *cache_local = GQ_CACHE_LOCAL_METADATA;
+ *cache_ext = GQ_CACHE_EXT_METADATA;
break;
}
}
#include "similar.h"
-#define GQVIEW_CACHE_RC_THUMB GQVIEW_RC_DIR"/thumbnails"
-#define GQVIEW_CACHE_RC_METADATA GQVIEW_RC_DIR"/metadata"
+#define GQ_CACHE_RC_THUMB GQ_RC_DIR"/thumbnails"
+#define GQ_CACHE_RC_METADATA GQ_RC_DIR"/metadata"
-#define GQVIEW_CACHE_LOCAL_THUMB ".thumbnails"
-#define GQVIEW_CACHE_LOCAL_METADATA ".metadata"
+#define GQ_CACHE_LOCAL_THUMB ".thumbnails"
+#define GQ_CACHE_LOCAL_METADATA ".metadata"
-#define GQVIEW_CACHE_EXT_THUMB ".png"
-#define GQVIEW_CACHE_EXT_SIM ".sim"
-#define GQVIEW_CACHE_EXT_METADATA ".meta"
+#define GQ_CACHE_EXT_THUMB ".png"
+#define GQ_CACHE_EXT_SIM ".sim"
+#define GQ_CACHE_EXT_METADATA ".meta"
typedef enum {
if (cm->metadata)
{
- cache_folder = GQVIEW_CACHE_RC_METADATA;
+ cache_folder = GQ_CACHE_RC_METADATA;
}
else
{
- cache_folder = GQVIEW_CACHE_RC_THUMB;
+ cache_folder = GQ_CACHE_RC_THUMB;
}
base_length = strlen(homedir()) + strlen("/") + strlen(cache_folder);
if (metadata)
{
- cache_folder = GQVIEW_CACHE_RC_METADATA;
+ cache_folder = GQ_CACHE_RC_METADATA;
}
else
{
- cache_folder = GQVIEW_CACHE_RC_THUMB;
+ cache_folder = GQ_CACHE_RC_THUMB;
}
base = g_strconcat(homedir(), "/", cache_folder, NULL);
if (debug) printf("maintainance check: %s\n", dir);
- base_length = strlen(homedir()) + strlen("/") + strlen(GQVIEW_CACHE_RC_THUMB);
- base = g_strconcat(homedir(), "/", GQVIEW_CACHE_RC_THUMB, dir, NULL);
+ base_length = strlen(homedir()) + strlen("/") + strlen(GQ_CACHE_RC_THUMB);
+ base = g_strconcat(homedir(), "/", GQ_CACHE_RC_THUMB, dir, NULL);
if (path_list(base, &flist, &dlist))
{
gint still_have_a_file = FALSE;
GList *work;
- cachedir = g_strconcat(dir, "/", GQVIEW_CACHE_LOCAL_THUMB, NULL);
+ cachedir = g_strconcat(dir, "/", GQ_CACHE_LOCAL_THUMB, NULL);
path_list(cachedir, &list, NULL);
work = list;
source = g_strconcat(dir, "/", filename_from_path(path), NULL);
if (clear ||
- extension_truncate(source, GQVIEW_CACHE_EXT_THUMB) ||
- extension_truncate(source, GQVIEW_CACHE_EXT_SIM))
+ extension_truncate(source, GQ_CACHE_EXT_THUMB) ||
+ extension_truncate(source, GQ_CACHE_EXT_SIM))
{
if (!clear && isfile(source))
{
group = pref_group_new(gd->vbox, FALSE, _("Geeqie thumbnail cache"), GTK_ORIENTATION_VERTICAL);
- buf = g_strconcat(_("Location:"), " ", homedir(), "/", GQVIEW_CACHE_RC_THUMB, NULL);
+ buf = g_strconcat(_("Location:"), " ", homedir(), "/", GQ_CACHE_RC_THUMB, NULL);
label = pref_label_new(group, buf);
gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
g_free(buf);
group = pref_group_new(gd->vbox, FALSE, _("Metadata"), GTK_ORIENTATION_VERTICAL);
- buf = g_strconcat(_("Location:"), " ", homedir(), "/", GQVIEW_CACHE_RC_METADATA, NULL);
+ buf = g_strconcat(_("Location:"), " ", homedir(), "/", GQ_CACHE_RC_METADATA, NULL);
label = pref_label_new(group, buf);
gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
g_free(buf);
generic_dialog_add_message(GENERIC_DIALOG(fd), NULL, title, NULL);
file_dialog_add_button(fd, stock_id, btntext, btnfunc, TRUE);
- base = g_strconcat(homedir(), "/", GQVIEW_RC_DIR_COLLECTIONS, NULL);
+ base = g_strconcat(homedir(), "/", GQ_RC_DIR_COLLECTIONS, NULL);
file_dialog_add_path_widgets(fd, base, path,
"collection_load_save", ".gqv", _("Collection Files"));
g_free(base);
#include "filelist.h"
-#define GQVIEW_COLLECTION_MARKER "#Geeqie"
+#define GQ_COLLECTION_MARKER "#Geeqie"
-#define GQVIEW_COLLECTION_FAIL_MIN 300
-#define GQVIEW_COLLECTION_FAIL_PERCENT 98
+#define GQ_COLLECTION_FAIL_MIN 300
+#define GQ_COLLECTION_FAIL_PERCENT 98
typedef struct _CollectManagerEntry CollectManagerEntry;
gchar *buf;
if (s_buf[0]=='#')
{
- if (strncasecmp(s_buf, GQVIEW_COLLECTION_MARKER, strlen(GQVIEW_COLLECTION_MARKER)) == 0)
+ if (strncasecmp(s_buf, GQ_COLLECTION_MARKER, strlen(GQ_COLLECTION_MARKER)) == 0)
{
/* Looks like an official collection, allow unchecked input.
* All this does is allow adding files that may not exist,
if (!valid && !official)
{
fail++;
- if (fail > GQVIEW_COLLECTION_FAIL_MIN &&
- fail * 100 / total > GQVIEW_COLLECTION_FAIL_PERCENT)
+ if (fail > GQ_COLLECTION_FAIL_MIN &&
+ fail * 100 / total > GQ_COLLECTION_FAIL_PERCENT)
{
printf("Too many invalid filenames in unoffical collection file, closing: %s\n", path);
success = FALSE;
return FALSE;
}
- fprintf(f, "%s collection\n", GQVIEW_COLLECTION_MARKER);
+ fprintf(f, "%s collection\n", GQ_COLLECTION_MARKER);
fprintf(f, "#created with Geeqie version %s\n", VERSION);
collection_update_geometry(cd);
GList *work;
gchar *base;
- base = g_strconcat(homedir(), "/", GQVIEW_RC_DIR_COLLECTIONS, NULL);
+ base = g_strconcat(homedir(), "/", GQ_RC_DIR_COLLECTIONS, NULL);
path_list(base, &list, NULL);
g_free(base);
};
-static gchar *editor_slot_defaults[GQVIEW_EDITOR_SLOTS * 2] = {
+static gchar *editor_slot_defaults[GQ_EDITOR_SLOTS * 2] = {
N_("The Gimp"), "gimp-remote -n %{.cr2;.crw;.nef;.raw;*}f",
N_("XV"), "xv %f",
N_("Xpaint"), "xpaint %f",
{
gint i;
- for (i = 0; i < GQVIEW_EDITOR_SLOTS; i++)
+ for (i = 0; i < GQ_EDITOR_SLOTS; i++)
{
g_free(editor_name[i]);
editor_name[i] = g_strdup(_(editor_slot_defaults[i * 2]));
gchar *command;
gint error;
- if (n < 0 || n >= GQVIEW_EDITOR_SLOTS || !list ||
+ if (n < 0 || n >= GQ_EDITOR_SLOTS || !list ||
!editor_command[n] ||
strlen(editor_command[n]) == 0) return FALSE;
gint editor_window_flag_set(gint n)
{
- if (n < 0 || n >= GQVIEW_EDITOR_SLOTS ||
+ if (n < 0 || n >= GQ_EDITOR_SLOTS ||
!editor_command[n] ||
strlen(editor_command[n]) == 0) return TRUE;
if ((!show_dot_files && ishidden(base)) ||
(!is_dir_list && !filter_name_exists(base)) ||
- (is_dir_list && base[0] == '.' && (strcmp(base, GQVIEW_CACHE_LOCAL_THUMB) == 0 ||
- strcmp(base, GQVIEW_CACHE_LOCAL_METADATA) == 0)) )
+ (is_dir_list && base[0] == '.' && (strcmp(base, GQ_CACHE_LOCAL_THUMB) == 0 ||
+ strcmp(base, GQ_CACHE_LOCAL_METADATA) == 0)) )
{
GList *link = work;
work = work->next;
/* we ignore the .thumbnails dir for cleanliness */
if ((dirs) &&
!(name[0] == '.' && (name[1] == '\0' || (name[1] == '.' && name[2] == '\0'))) &&
- strcmp(name, GQVIEW_CACHE_LOCAL_THUMB) != 0 &&
- strcmp(name, GQVIEW_CACHE_LOCAL_METADATA) != 0 &&
+ strcmp(name, GQ_CACHE_LOCAL_THUMB) != 0 &&
+ strcmp(name, GQ_CACHE_LOCAL_METADATA) != 0 &&
strcmp(name, THUMB_FOLDER_LOCAL) != 0)
{
dlist = g_list_prepend(dlist, file_data_new_local(filepath, &ent_sbuf, FALSE));
if ((!show_dot_files && ishidden(name)) ||
(!is_dir_list && !filter_name_exists(name)) ||
- (is_dir_list && name[0] == '.' && (strcmp(name, GQVIEW_CACHE_LOCAL_THUMB) == 0 ||
- strcmp(name, GQVIEW_CACHE_LOCAL_METADATA) == 0)) )
+ (is_dir_list && name[0] == '.' && (strcmp(name, GQ_CACHE_LOCAL_THUMB) == 0 ||
+ strcmp(name, GQ_CACHE_LOCAL_METADATA) == 0)) )
{
GList *link = work;
work = work->next;
gint enable_metadata_dirs = FALSE;
gint show_dot_files = FALSE;
gint file_filter_disable = FALSE;
-gchar *editor_name[GQVIEW_EDITOR_SLOTS];
-gchar *editor_command[GQVIEW_EDITOR_SLOTS];
+gchar *editor_name[GQ_EDITOR_SLOTS];
+gchar *editor_command[GQ_EDITOR_SLOTS];
gint thumbnails_enabled = FALSE;
SortType file_sort_method = SORT_NAME;
return;
}
- help_browser_command(result, GQVIEW_HTMLDIR "/index.html");
+ help_browser_command(result, GQ_HTMLDIR "/index.html");
g_free(result);
}
}
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);
}
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)
{
{
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);
}
{
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);
}
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;
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++)
{
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);
/* setup locale, i18n */
gtk_set_locale();
- bindtextdomain(PACKAGE, GQVIEW_LOCALEDIR);
+ bindtextdomain(PACKAGE, GQ_LOCALEDIR);
bind_textdomain_codeset(PACKAGE, "UTF-8");
textdomain(PACKAGE);
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);
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);
#define GQ_WMCLASS "geeqie"
-#define GQVIEW_RC_DIR ".geeqie"
-#define GQVIEW_RC_DIR_COLLECTIONS GQVIEW_RC_DIR"/collections"
-#define GQVIEW_RC_DIR_TRASH GQVIEW_RC_DIR"/trash"
+#define GQ_RC_DIR ".geeqie"
+#define GQ_RC_DIR_COLLECTIONS GQ_RC_DIR"/collections"
+#define GQ_RC_DIR_TRASH GQ_RC_DIR"/trash"
#define RC_FILE_NAME "geeqierc"
#define MOUSEWHEEL_SCROLL_SIZE 20
-#define GQVIEW_EDITOR_GENERIC_SLOTS 10
+#define GQ_EDITOR_GENERIC_SLOTS 10
#define COLOR_PROFILE_INPUTS 4
static void add_edit_items(GtkWidget *menu, GCallback func, GtkAccelGroup *accel_grp)
{
gint i;
- for (i = 0; i < GQVIEW_EDITOR_SLOTS; i++)
+ for (i = 0; i < GQ_EDITOR_SLOTS; i++)
{
if (editor_command[i] && strlen(editor_command[i]) > 0)
{
if (S_ISLNK(st.st_mode) && (ignore_symlinks || pan_is_link_loop(s))) return TRUE;
n = filename_from_path(s);
- if (n && strcmp(n, GQVIEW_RC_DIR) == 0) return TRUE;
+ if (n && strcmp(n, GQ_RC_DIR) == 0) return TRUE;
return FALSE;
}
/* comment this out if not using this from within Geeqie
- * defining GQVIEW_BUILD does these things:
+ * defining GQ_BUILD does these things:
* - Sets the shift-click scroller pixbuf to a nice icon instead of a black box
*/
-#define GQVIEW_BUILD 1
+#define GQ_BUILD 1
-#ifdef GQVIEW_BUILD
+#ifdef GQ_BUILD
#include "pixbuf_util.h"
#endif
GdkPixbuf *pixbuf;
gint w, h;
-#ifdef GQVIEW_BUILD
+#ifdef GQ_BUILD
pixbuf = pixbuf_inline(PIXBUF_INLINE_SCROLLER);
#else
pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, FALSE, 8, 32, 32);
static GtkWidget *configwindow = NULL;
static GtkWidget *startup_path_entry;
static GtkListStore *filter_store = NULL;
-static GtkWidget *editor_name_entry[GQVIEW_EDITOR_SLOTS];
-static GtkWidget *editor_command_entry[GQVIEW_EDITOR_SLOTS];
+static GtkWidget *editor_name_entry[GQ_EDITOR_SLOTS];
+static GtkWidget *editor_command_entry[GQ_EDITOR_SLOTS];
static GtkWidget *layout_widget;
gint i;
gint refresh = FALSE;
- for(i = 0; i < GQVIEW_EDITOR_SLOTS; i++)
+ for(i = 0; i < GQ_EDITOR_SLOTS; i++)
{
- if (i < GQVIEW_EDITOR_GENERIC_SLOTS)
+ if (i < GQ_EDITOR_GENERIC_SLOTS)
{
g_free(editor_name[i]);
editor_name[i] = NULL;
editor_reset_defaults();
if (!configwindow) return;
- for (i = 0; i < GQVIEW_EDITOR_SLOTS; i++)
+ for (i = 0; i < GQ_EDITOR_SLOTS; i++)
{
- if (i < GQVIEW_EDITOR_GENERIC_SLOTS)
+ if (i < GQ_EDITOR_GENERIC_SLOTS)
gtk_entry_set_text(GTK_ENTRY(editor_name_entry[i]),
(editor_name[i]) ? editor_name[i] : "");
gtk_entry_set_text(GTK_ENTRY(editor_command_entry[i]),
label = pref_table_label(table, 2, 0, _("Command Line"), 0.0);
pref_label_bold(label, TRUE, FALSE);
- for (i = 0; i < GQVIEW_EDITOR_SLOTS; i++)
+ for (i = 0; i < GQ_EDITOR_SLOTS; i++)
{
GtkWidget *entry;
- if (i < GQVIEW_EDITOR_GENERIC_SLOTS)
+ if (i < GQ_EDITOR_GENERIC_SLOTS)
{
gchar *buf;
gchar *rc_pathl;
gint i;
- rc_path = g_strconcat(homedir(), "/", GQVIEW_RC_DIR, "/", RC_FILE_NAME, NULL);
+ rc_path = g_strconcat(homedir(), "/", GQ_RC_DIR, "/", RC_FILE_NAME, NULL);
rc_pathl = path_from_utf8(rc_path);
ssi = secure_open(rc_pathl);
secure_fprintf(ssi, "# Maximum of 10 programs (external_1 through external_10)\n");
secure_fprintf(ssi, "# format: external_n: \"menu name\" \"command line\"\n\n");
- for (i = 0; i < GQVIEW_EDITOR_SLOTS; i++)
+ for (i = 0; i < GQ_EDITOR_SLOTS; i++)
{
gchar *qname = escquote_value(editor_name[i]);
gchar *qcommand = escquote_value(editor_command[i]);
for (i = 0; ExifUIList[i].key; i++)
ExifUIList[i].current = ExifUIList[i].default_value;
- rc_path = g_strconcat(homedir(), "/", GQVIEW_RC_DIR, "/", RC_FILE_NAME, NULL);
+ rc_path = g_strconcat(homedir(), "/", GQ_RC_DIR, "/", RC_FILE_NAME, NULL);
rc_pathl = path_from_utf8(rc_path);
f = fopen(rc_pathl,"r");
if (strncasecmp(option, "external_", 9) == 0)
{
i = strtol(option + 9, NULL, 0);
- if (i > 0 && i <= GQVIEW_EDITOR_SLOTS)
+ if (i > 0 && i <= GQ_EDITOR_SLOTS)
{
const gchar *ptr;
i--;
/* search metadata */
g_free(sd->search_path);
- sd->search_path = g_strconcat(homedir(), "/", GQVIEW_CACHE_RC_METADATA, NULL);
+ sd->search_path = g_strconcat(homedir(), "/", GQ_CACHE_RC_METADATA, NULL);
search_start(sd);
}
gchar *pathl;
cache_path = g_strconcat(cache_dir, "/", filename_from_path(tl->path),
- GQVIEW_CACHE_EXT_THUMB, NULL);
+ GQ_CACHE_EXT_THUMB, NULL);
if (debug) printf("Saving thumb: %s\n", cache_path);
FILE *f;
cache_path = g_strconcat(cache_dir, "/", filename_from_path(tl->path),
- GQVIEW_CACHE_EXT_THUMB, NULL);
+ GQ_CACHE_EXT_THUMB, NULL);
if (debug) printf("marking thumb failure: %s\n", cache_path);
#define TYPEDEFS_H
typedef enum {
- CMD_COPY = GQVIEW_EDITOR_GENERIC_SLOTS,
+ CMD_COPY = GQ_EDITOR_GENERIC_SLOTS,
CMD_MOVE,
CMD_RENAME,
CMD_DELETE,
CMD_FOLDER,
- GQVIEW_EDITOR_SLOTS
+ GQ_EDITOR_SLOTS
} SpecialEditor;
typedef enum {
if (!fd->name ||
(strcmp(fd->name, THUMB_FOLDER_GLOBAL) != 0 &&
strcmp(fd->name, THUMB_FOLDER_LOCAL) != 0 &&
- strcmp(fd->name, GQVIEW_CACHE_LOCAL_METADATA) != 0) )
+ strcmp(fd->name, GQ_CACHE_LOCAL_METADATA) != 0) )
{
rlist = g_list_prepend(rlist, fd);
}