/**
* @file
* A simple dialog with information about extensions.
*/
/* Authors:
* Jon A. Cruz
*
* Copyright (C) 2005 Jon A. Cruz
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "extensions.h"
#include "extension/extension.h"
#include <gtkmm/scrolledwindow.h>
namespace Inkscape {
namespace UI {
namespace Dialogs {
{
return instance;
}
_showAll(false)
{
_view.set_editable(false);
rescan();
}
{
rescan();
}
}
{
const char* stateStr;
switch ( state ) {
case Extension::STATE_LOADED:
{
stateStr = "loaded";
}
break;
case Extension::STATE_UNLOADED:
{
stateStr = "unloaded";
}
break;
case Extension::STATE_DEACTIVATED:
{
stateStr = "deactivated";
}
break;
default:
stateStr = "unknown";
}
gchar* line = g_strdup_printf( "%s %s\n \"%s\"", stateStr, in_plug->get_name(), in_plug->get_id() );
}
return;
}
{
// g_message("/------------------");
// g_message("\\------------------");
}
} //namespace Dialogs
} //namespace UI
} //namespace Inkscape
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :