diff src/utilops.c @ 196:f6e307c7bad6

rename GQview -> Geeqie over the code
author nadvornik
date Sun, 23 Mar 2008 20:38:54 +0000
parents 0d1bf3ac6cd8
children 73efc1ba150f
line wrap: on
line diff
--- a/src/utilops.c	Sun Mar 23 20:18:51 2008 +0000
+++ b/src/utilops.c	Sun Mar 23 20:38:54 2008 +0000
@@ -1,5 +1,5 @@
 /*
- * GQview
+ * Geeqie
  * (C) 2006 John Ellis
  *
  * Author: John Ellis
@@ -296,7 +296,7 @@
 {
 	GenericDialog *gd;
 
-	gd = file_util_gen_dlg(heading, "GQview", "warning", parent, TRUE, NULL, NULL);
+	gd = file_util_gen_dlg(heading, "Geeqie", "warning", parent, TRUE, NULL, NULL);
 	generic_dialog_add_message(gd, icon_stock_id, heading, message);
 	generic_dialog_add_button(gd, GTK_STOCK_OK, NULL, file_util_warning_dialog_ok_cb, TRUE);
 	if (place_dialogs_under_mouse)
@@ -644,7 +644,7 @@
 	GenericDialog *gd;
 	GtkWidget *hbox;
 
-	gd = file_util_gen_dlg(_("Overwrite file"), "GQview", "dlg_confirm",
+	gd = file_util_gen_dlg(_("Overwrite file"), "Geeqie", "dlg_confirm",
 				NULL, TRUE,
 				file_util_move_multiple_cancel_cb, fdm);
 
@@ -726,7 +726,7 @@
 					text = g_strdup_printf(_("Unable to move file:\n%s\nto itself."), fdm->dest);
 					}
 
-				gd = file_util_gen_dlg(title, "GQview", "dlg_confirm",
+				gd = file_util_gen_dlg(title, "Geeqie", "dlg_confirm",
 							NULL, TRUE,
 							file_util_move_multiple_cancel_cb, fdm);
 				generic_dialog_add_message(gd, GTK_STOCK_DIALOG_WARNING, title, text);
@@ -812,7 +812,7 @@
 				title = _("Error moving file");
 				text = g_strdup_printf(_("Unable to move file:\n%s\nto:\n%s\nduring multiple file move."), fdm->source_fd->path, fdm->dest);
 				}
-			gd = file_util_gen_dlg(title, "GQview", "dlg_confirm",
+			gd = file_util_gen_dlg(title, "Geeqie", "dlg_confirm",
 						NULL, TRUE,
 						file_util_move_multiple_cancel_cb, fdm);
 			generic_dialog_add_message(gd, GTK_STOCK_DIALOG_WARNING, title, text);
@@ -974,7 +974,7 @@
 		GenericDialog *gd;
 		GtkWidget *hbox;
 
-		gd = file_util_gen_dlg(_("Overwrite file"), "GQview", "dlg_confirm",
+		gd = file_util_gen_dlg(_("Overwrite file"), "Geeqie", "dlg_confirm",
 					NULL, TRUE,
 					file_util_move_single_cancel_cb, fds);
 
@@ -1170,7 +1170,7 @@
 
 	if (copy)
 		{
-		title = _("Copy - GQview");
+		title = _("Copy - Geeqie");
 		op_text = _("_Copy");
 		if (fd)
 			{
@@ -1184,7 +1184,7 @@
 		}
 	else
 		{
-		title = _("Move - GQview");
+		title = _("Move - Geeqie");
 		op_text = _("_Move");
 		if (fd)
 			{
@@ -1197,7 +1197,7 @@
 		stock_id = GTK_STOCK_OK;
 		}
 
-	fdlg = file_util_file_dlg(title, "GQview", "dlg_copymove", parent,
+	fdlg = file_util_file_dlg(title, "Geeqie", "dlg_copymove", parent,
 				file_util_move_cancel_cb, NULL);
 	generic_dialog_add_message(GENERIC_DIALOG(fdlg), NULL, text, NULL);
 
@@ -1500,7 +1500,7 @@
 			if (resume_data)
 				{
 				g_string_append(msg, _("\n Continue multiple delete operation?"));
-				d = file_util_gen_dlg(_("Delete failed"), "GQview", "dlg_confirm",
+				d = file_util_gen_dlg(_("Delete failed"), "Geeqie", "dlg_confirm",
 						      NULL, TRUE,
 						      file_util_delete_ext_cancel_cb, resume_data);
 
@@ -1592,7 +1592,7 @@
 				GenericDialog *d;
 				gchar *text;
 
-				d = file_util_gen_dlg(_("Delete failed"), "GQview", "dlg_confirm",
+				d = file_util_gen_dlg(_("Delete failed"), "Geeqie", "dlg_confirm",
 						      NULL, TRUE,
 						      file_util_delete_multiple_cancel_cb, source_list);
 
@@ -1736,8 +1736,8 @@
 		ImageWindow *imd;
 		gchar *buf;
 
-		gd = file_util_gen_dlg(_("Delete files - GQview"),
-					"GQview", "dlg_confirm", parent, TRUE,
+		gd = file_util_gen_dlg(_("Delete files - Geeqie"),
+					"Geeqie", "dlg_confirm", parent, TRUE,
 					file_util_delete_multiple_cancel_cb, source_list);
 
 		generic_dialog_add_message(gd, NULL, _("Delete multiple files"), NULL);
@@ -1832,7 +1832,7 @@
 		GtkWidget *table;
 		gchar *base;
 
-		gd = file_util_gen_dlg(_("Delete file - GQview"), "GQview", "dlg_confirm",
+		gd = file_util_gen_dlg(_("Delete file - Geeqie"), "Geeqie", "dlg_confirm",
 					parent, TRUE,
 					file_util_delete_cancel_cb, file_data_ref(fd));
 
@@ -1989,7 +1989,7 @@
 		{
 		GenericDialog *gd;
 
-		gd = file_util_gen_dlg(_("Overwrite file"), "GQview", "dlg_confirm",
+		gd = file_util_gen_dlg(_("Overwrite file"), "Geeqie", "dlg_confirm",
 					NULL, TRUE,
 					file_util_rename_multiple_cancel_cb, rd);
 
@@ -2518,8 +2518,8 @@
 
 	rd = g_new0(RenameDataMult, 1);
 
-	rd->fdlg = file_util_file_dlg(_("Rename - GQview"),
-				    "GQview", "dlg_rename", parent,
+	rd->fdlg = file_util_file_dlg(_("Rename - Geeqie"),
+				    "Geeqie", "dlg_rename", parent,
 				    file_util_rename_multiple_close_cb, rd);
 	generic_dialog_add_message(GENERIC_DIALOG(rd->fdlg), NULL, _("Rename multiple files"), NULL);
 	file_dialog_add_button(rd->fdlg, GTK_STOCK_OK, _("_Rename"), file_util_rename_multiple_cb, TRUE);
@@ -2707,7 +2707,7 @@
 		{
 		GenericDialog *gd;
 
-		gd = file_util_gen_dlg(_("Overwrite file"), "GQview", "dlg_confirm",
+		gd = file_util_gen_dlg(_("Overwrite file"), "Geeqie", "dlg_confirm",
 					NULL, TRUE,
 					file_util_rename_single_cancel_cb, fds);
 
@@ -2775,7 +2775,7 @@
 	GtkWidget *table;
 	const gchar *name;
 
-	fdlg = file_util_file_dlg(_("Rename - GQview"), "GQview", "dlg_rename", parent,
+	fdlg = file_util_file_dlg(_("Rename - Geeqie"), "Geeqie", "dlg_rename", parent,
 			     file_util_rename_single_close_cb, NULL);
 
 	generic_dialog_add_message(GENERIC_DIALOG(fdlg), NULL, _("Rename file"), NULL);
@@ -2897,7 +2897,7 @@
 
 	if (!isdir(path)) return;
 
-	fdlg = file_util_file_dlg(_("New folder - GQview"), "GQview", "dlg_newdir", parent,
+	fdlg = file_util_file_dlg(_("New folder - Geeqie"), "Geeqie", "dlg_newdir", parent,
 			     file_util_create_dir_close_cb, NULL);
 
 	text = g_strdup_printf(_("Create folder in:\n%s\nnamed:"), path);
@@ -3295,7 +3295,7 @@
 		ud->dlist = NULL;
 		ud->flist = NULL;
 
-		ud->gd = file_util_gen_dlg(_("Delete folder"), "GQview", "dlg_confirm",
+		ud->gd = file_util_gen_dlg(_("Delete folder"), "Geeqie", "dlg_confirm",
 					   parent, TRUE,
 					   file_util_delete_dir_cancel_cb, ud);
 
@@ -3344,7 +3344,7 @@
 		GtkWidget *box;
 		gchar *text;
 
-		gd = file_util_gen_dlg(_("Folder contains subfolders"), "GQview", "dlg_warning",
+		gd = file_util_gen_dlg(_("Folder contains subfolders"), "Geeqie", "dlg_warning",
 					parent, TRUE, NULL, NULL);
 		generic_dialog_add_button(gd, GTK_STOCK_CLOSE, NULL, NULL, TRUE);
 
@@ -3379,7 +3379,7 @@
 		ud->flist = filelist_sort_path(flist);
 		flist = NULL;
 
-		ud->gd = file_util_gen_dlg(_("Delete folder"), "GQview", "dlg_confirm",
+		ud->gd = file_util_gen_dlg(_("Delete folder"), "Geeqie", "dlg_confirm",
 					   parent, TRUE, file_util_delete_dir_cancel_cb, ud);
 		generic_dialog_add_button(ud->gd, GTK_STOCK_DELETE, NULL, file_util_delete_dir_ok_cb, TRUE);