Skip to content

Commit

Permalink
Part: rename the icons to start with Part_
Browse files Browse the repository at this point in the history
  • Loading branch information
vocx-fc authored and wwmayer committed Oct 6, 2019
1 parent c6d1684 commit 022442c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/Mod/Part/Gui/AppPartGui.cpp
Expand Up @@ -69,8 +69,8 @@

#include <Gui/Language/Translator.h>

#include "Resources/icons/PartFeature.xpm"
#include "Resources/icons/PartFeatureImport.xpm"
#include "Resources/icons/Part_Feature.xpm"
#include "Resources/icons/Part_FeatureImport.xpm"

// use a different name to CreateCommand()
void CreatePartCommands(void);
Expand Down Expand Up @@ -225,8 +225,8 @@ PyMOD_INIT_FUNC(PartGui)

// register bitmaps
Gui::BitmapFactoryInst& rclBmpFactory = Gui::BitmapFactory();
rclBmpFactory.addXPM("PartFeature",(const char**) PartFeature_xpm);
rclBmpFactory.addXPM("PartFeatureImport",(const char**) PartFeatureImport_xpm);
rclBmpFactory.addXPM("Part_Feature",(const char**) PartFeature_xpm);
rclBmpFactory.addXPM("Part_FeatureImport",(const char**) PartFeatureImport_xpm);

PyMOD_Return(partGuiModule);
}
6 changes: 3 additions & 3 deletions src/Mod/Part/Gui/Resources/Part.qrc
Expand Up @@ -22,9 +22,9 @@
<file>icons/Part_ExplodeCompound.svg</file>
<file>icons/Part_Export.svg</file>
<file>icons/Part_Extrude.svg</file>
<file>icons/PartFeature.svg</file>
<file>icons/PartFeature.xpm</file>
<file>icons/PartFeatureImport.xpm</file>
<file>icons/Part_Feature.svg</file>
<file>icons/Part_Feature.xpm</file>
<file>icons/Part_FeatureImport.xpm</file>
<file>icons/Part_Fillet.svg</file>
<file>icons/Part_Fuse.svg</file>
<file>icons/Part_Helix_Parametric.svg</file>
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Part/Gui/ViewProviderImport.cpp
Expand Up @@ -48,7 +48,7 @@ PROPERTY_SOURCE(PartGui::ViewProviderImport,PartGui::ViewProviderPart)

ViewProviderImport::ViewProviderImport()
{
sPixmap = "PartFeatureImport";
sPixmap = "Part_FeatureImport";
}

ViewProviderImport::~ViewProviderImport()
Expand Down

0 comments on commit 022442c

Please sign in to comment.