added a writeable field to GimpData and set it from
2003-02-26 Sven Neumann <sven@gimp.org> * app/core/gimpdata.[ch]: added a writeable field to GimpData and set it from gimp_data_set_filename(). * app/gui/brushes-menu.c * app/gui/gradients-menu.c * app/gui/palettes-menu.c * app/gui/patterns-menu.c * app/widgets/gimpbrushfactoryview.c * app/widgets/gimpdatafactoryview.c * app/widgets/gimpgradienteditor.c: look at data->writeable when setting widgets sensitivity. * app/gui/user-install-dialog.c (user_install_dialog_create): reduce some of the dialog clutter by not showing the directories created for plug-ins. * app/core/gimpviewable.[ch]: added a default_stock_id to GimpViewableClass so we don't need to hold a copy in each instance. Added accessor functions to set and get the stock_id. * app/core/gimptoolinfo.c * app/gui/dialogs-constructors.c * app/gui/image-menu.c * app/tools/gimpcroptool.c * app/tools/gimphistogramtool.c * app/tools/gimpimagemaptool.c * app/tools/gimpmeasuretool.c * app/tools/gimptransformtool.c * app/widgets/gimpcellrendererviewable.c * app/widgets/gimppreview.c * app/widgets/gimptoolbox.c: use gimp_viewable_get_stock_id(). * app/text/gimptextlayer.c: set a text icon as default stock_id.
This commit is contained in:
committed by
Sven Neumann
parent
305db405b2
commit
0ceeeb0254
@ -284,34 +284,22 @@ tree_items[] =
|
||||
},
|
||||
{
|
||||
TRUE, "fractalexplorer",
|
||||
N_("This is folder used to store user defined fractals to\n"
|
||||
"be used by the FractalExplorer plug-in. The GIMP\n"
|
||||
"checks this folder in addition to the systemwide\n"
|
||||
"FractalExplorer installation when searching for fractals."),
|
||||
NULL,
|
||||
TREE_ITEM_MKDIR_ONLY, NULL
|
||||
},
|
||||
{
|
||||
TRUE, "gfig",
|
||||
N_("This folder is used to store user defined figures to\n"
|
||||
"be used by the GFig plug-in. The GIMP checks this\n"
|
||||
"folder in addition to the systemwide GFig installation\n"
|
||||
"when searching for gfig figures."),
|
||||
NULL,
|
||||
TREE_ITEM_MKDIR_ONLY, NULL
|
||||
},
|
||||
{
|
||||
TRUE, "gflare",
|
||||
N_("This folder is used to store user defined gflares to\n"
|
||||
"be used by the GFlare plug-in. The GIMP checks this\n"
|
||||
"folder in addition to the systemwide GFlares\n"
|
||||
"installation when searching for gflares."),
|
||||
NULL,
|
||||
TREE_ITEM_MKDIR_ONLY, NULL
|
||||
},
|
||||
{
|
||||
TRUE, "gimpressionist",
|
||||
N_("This folder is used to store user defined data to be\n"
|
||||
"used by the Gimpressionist plug-in. The GIMP checks\n"
|
||||
"this folder in addition to the systemwide Gimpressionist\n"
|
||||
"installation when searching for data."),
|
||||
NULL,
|
||||
TREE_ITEM_MKDIR_ONLY, NULL
|
||||
}
|
||||
};
|
||||
@ -867,6 +855,9 @@ user_install_dialog_create (const gchar *alternate_system_gimprc,
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (tree_items); i++)
|
||||
{
|
||||
if (!tree_items[i].description)
|
||||
continue;
|
||||
|
||||
gtk_tree_store_append (tree, &child, &iter);
|
||||
gtk_tree_store_set (tree, &child,
|
||||
DIRENT_COLUMN, tree_items[i].text,
|
||||
|
||||
Reference in New Issue
Block a user