gnome-commander r2258 - in trunk: . src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r2258 - in trunk: . src
- Date: Sun, 2 Nov 2008 08:57:32 +0000 (UTC)
Author: epiotr
Date: Sun Nov 2 08:57:32 2008
New Revision: 2258
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2258&view=rev
Log:
gnome_cmd_advrename_parse_fname -> gnome_cmd_advrename_parse_template
Modified:
trunk/ChangeLog
trunk/src/gnome-cmd-advrename-dialog.cc
trunk/src/gnome-cmd-advrename-lexer.h
trunk/src/gnome-cmd-advrename-lexer.ll
Modified: trunk/src/gnome-cmd-advrename-dialog.cc
==============================================================================
--- trunk/src/gnome-cmd-advrename-dialog.cc (original)
+++ trunk/src/gnome-cmd-advrename-dialog.cc Sun Nov 2 08:57:32 2008
@@ -738,7 +738,7 @@
const gchar *templ_string = gtk_entry_get_text (GTK_ENTRY (dialog->priv->templ_entry));
gnome_cmd_advrename_reset_counter (dialog->priv->defaults->counter_start, dialog->priv->defaults->counter_precision, dialog->priv->defaults->counter_increment);
- gnome_cmd_advrename_parse_fname (templ_string);
+ gnome_cmd_advrename_parse_template (templ_string);
for (GList *tmp = dialog->priv->entries; tmp; tmp = tmp->next)
{
Modified: trunk/src/gnome-cmd-advrename-lexer.h
==============================================================================
--- trunk/src/gnome-cmd-advrename-lexer.h (original)
+++ trunk/src/gnome-cmd-advrename-lexer.h Sun Nov 2 08:57:32 2008
@@ -24,7 +24,7 @@
#include "gnome-cmd-file.h"
void gnome_cmd_advrename_reset_counter(unsigned start=1, unsigned precision=-1, unsigned step=1);
-void gnome_cmd_advrename_parse_fname(const char *fname);
+void gnome_cmd_advrename_parse_template(const char *template_string);
char *gnome_cmd_advrename_gen_fname(char *new_fname, size_t new_fname_size, GnomeCmdFile *finfo);
Modified: trunk/src/gnome-cmd-advrename-lexer.ll
==============================================================================
--- trunk/src/gnome-cmd-advrename-lexer.ll (original)
+++ trunk/src/gnome-cmd-advrename-lexer.ll Sun Nov 2 08:57:32 2008
@@ -300,7 +300,7 @@
}
-void gnome_cmd_advrename_parse_fname(const char *fname)
+void gnome_cmd_advrename_parse_template(const char *template_string)
{
for (vector<CHUNK *>::iterator i=fname_template.begin(); i!=fname_template.end(); ++i)
switch ((*i)->type)
@@ -319,7 +319,7 @@
fname_template.clear();
- yy_scan_string(fname);
+ yy_scan_string(template_string);
yylex();
yy_delete_buffer(YY_CURRENT_BUFFER);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]