No longer need the callback for refreshing the view

This commit is contained in:
Pierre Pronchery 2011-08-03 20:46:19 +00:00
parent cb8f5ad7ae
commit be1b603c01
5 changed files with 9 additions and 17 deletions

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Browser 0.1.4\n" "Project-Id-Version: Browser 0.1.4\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-08-03 22:37+0200\n" "POT-Creation-Date: 2011-08-03 22:44+0200\n"
"PO-Revision-Date: 2010-03-29 23:28+0200\n" "PO-Revision-Date: 2010-03-29 23:28+0200\n"
"Last-Translator: Pierre Pronchery <khorben@defora.org>\n" "Last-Translator: Pierre Pronchery <khorben@defora.org>\n"
"Language-Team: English\n" "Language-Team: English\n"
@ -768,7 +768,7 @@ msgstr ""
msgid "Command exited with signal %d" msgid "Command exited with signal %d"
msgstr "" msgstr ""
#: ../src/plugins/dirtree.c:62 #: ../src/plugins/dirtree.c:61
msgid "Directory tree" msgid "Directory tree"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Browser 0.1.4\n" "Project-Id-Version: Browser 0.1.4\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-08-03 22:37+0200\n" "POT-Creation-Date: 2011-08-03 22:44+0200\n"
"PO-Revision-Date: 2010-03-30 01:04+0200\n" "PO-Revision-Date: 2010-03-30 01:04+0200\n"
"Last-Translator: Pierre Pronchery <khorben@defora.org>\n" "Last-Translator: Pierre Pronchery <khorben@defora.org>\n"
"Language-Team: Spanish\n" "Language-Team: Spanish\n"
@ -768,7 +768,7 @@ msgstr ""
msgid "Command exited with signal %d" msgid "Command exited with signal %d"
msgstr "" msgstr ""
#: ../src/plugins/dirtree.c:62 #: ../src/plugins/dirtree.c:61
msgid "Directory tree" msgid "Directory tree"
msgstr "" msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Browser 0.1.4\n" "Project-Id-Version: Browser 0.1.4\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-08-03 22:37+0200\n" "POT-Creation-Date: 2011-08-03 22:44+0200\n"
"PO-Revision-Date: 2010-03-29 23:28+0200\n" "PO-Revision-Date: 2010-03-29 23:28+0200\n"
"Last-Translator: Pierre Pronchery <khorben@defora.org>\n" "Last-Translator: Pierre Pronchery <khorben@defora.org>\n"
"Language-Team: French\n" "Language-Team: French\n"
@ -802,7 +802,7 @@ msgstr "La commande a terminé avec le code d'erreur %d"
msgid "Command exited with signal %d" msgid "Command exited with signal %d"
msgstr "La commande a été terminée par le signal %d" msgstr "La commande a été terminée par le signal %d"
#: ../src/plugins/dirtree.c:62 #: ../src/plugins/dirtree.c:61
msgid "Directory tree" msgid "Directory tree"
msgstr "Arborescence" msgstr "Arborescence"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Browser 0.1.4\n" "Project-Id-Version: Browser 0.1.4\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-08-03 22:37+0200\n" "POT-Creation-Date: 2011-08-03 22:44+0200\n"
"PO-Revision-Date: 2010-04-07 23:18+0200\n" "PO-Revision-Date: 2010-04-07 23:18+0200\n"
"Last-Translator: Pierre Pronchery <khorben@defora.org>\n" "Last-Translator: Pierre Pronchery <khorben@defora.org>\n"
"Language-Team: Italian\n" "Language-Team: Italian\n"
@ -768,7 +768,7 @@ msgstr ""
msgid "Command exited with signal %d" msgid "Command exited with signal %d"
msgstr "" msgstr ""
#: ../src/plugins/dirtree.c:62 #: ../src/plugins/dirtree.c:61
msgid "Directory tree" msgid "Directory tree"
msgstr "" msgstr ""

View File

@ -41,7 +41,6 @@ typedef struct _Dirtree
/* prototypes */ /* prototypes */
static GtkWidget * _dirtree_init(BrowserPlugin * plugin); static GtkWidget * _dirtree_init(BrowserPlugin * plugin);
static void _dirtree_destroy(BrowserPlugin * plugin); static void _dirtree_destroy(BrowserPlugin * plugin);
static void _dirtree_refresh(BrowserPlugin * plugin, char const * path);
static void _dirtree_refresh_folder(BrowserPlugin * plugin, static void _dirtree_refresh_folder(BrowserPlugin * plugin,
GtkTreeIter * parent, char const * path, gboolean recurse); GtkTreeIter * parent, char const * path, gboolean recurse);
@ -63,7 +62,7 @@ BrowserPlugin plugin =
"stock_folder", "stock_folder",
_dirtree_init, _dirtree_init,
_dirtree_destroy, _dirtree_destroy,
_dirtree_refresh, NULL,
NULL NULL
}; };
@ -155,13 +154,6 @@ static void _dirtree_destroy(BrowserPlugin * plugin)
} }
/* dirtree_refresh */
static void _dirtree_refresh(BrowserPlugin * plugin, char const * path)
{
/* FIXME no longer force plug-ins to implement this callback */
}
/* dirtree_refresh_folder */ /* dirtree_refresh_folder */
static void _dirtree_refresh_folder(BrowserPlugin * plugin, static void _dirtree_refresh_folder(BrowserPlugin * plugin,
GtkTreeIter * parent, char const * path, gboolean recurse) GtkTreeIter * parent, char const * path, gboolean recurse)