r18773 by fschmid - Fixed Bug #12016: "Soft Shadow" is not selectable for Image Frames

scribus-commit scribus-commit at lists.scribus.net
Mon Jan 27 19:41:13 UTC 2014


Author: fschmid
Date: Mon Jan 27 19:41:13 2014
New Revision: 18773

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18773
Log:
Fixed Bug #12016: "Soft Shadow" is not selectable for Image Frames

Modified:
    trunk/Scribus/scribus/ui/propertiespalette.cpp

Modified: trunk/Scribus/scribus/ui/propertiespalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18773&path=/trunk/Scribus/scribus/ui/propertiespalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette.cpp (original)
+++ trunk/Scribus/scribus/ui/propertiespalette.cpp Mon Jan 27 19:41:13 2014
@@ -93,7 +93,7 @@
 	idXYZItem = TabStack->addItem( xyzPal, "X, Y, &Z" );
 
 	shadowPal = new PropertiesPalette_Shadow( this );
-	idShadowItem = TabStack->addItem( shadowPal, "Soft Shadow" );
+	idShadowItem = TabStack->addItem( shadowPal, "Drop Shadow" );
 
 	shapePal = new PropertiesPalette_Shape( this );
 	idShapeItem = TabStack->addItem( shapePal, "&Shape" );
@@ -286,7 +286,7 @@
 	Tpal->setDocument(NULL);
 
 	m_haveItem = false;
-	for (int ws = 1; ws < 9; ++ws)
+	for (int ws = 1; ws < 10; ++ws)
 		TabStack->setItemEnabled(ws, false);
 	TabStack->widget(0)->setEnabled(false);
 	TabStack->setItemEnabled(idXYZItem, false);
@@ -422,6 +422,7 @@
 	if (!sender())
 	{
 		xyzPal->handleSelectionChanged();
+		shadowPal->handleSelectionChanged();
 		shapePal->handleSelectionChanged();
 		groupPal->handleSelectionChanged();
 		imagePal->handleSelectionChanged();
@@ -524,6 +525,8 @@
 			}
 			else
 			{
+				TabStack->setItemEnabled(idXYZItem, true);
+				TabStack->setItemEnabled(idShadowItem, true);
 				TabStack->setItemEnabled(idShapeItem, true);
 				TabStack->setItemEnabled(idTextItem, false);
 				TabStack->setItemEnabled(idImageItem, true);
@@ -911,7 +914,7 @@
 	TabStack->setItemText(idXYZItem, tr("X, Y, &Z"));
 	TabStack->setItemText(idTextItem, tr("&Text"));
 	TabStack->setItemText(idImageItem, tr("&Image"));
-	TabStack->setItemText(idShadowItem, tr("Soft Shadow"));
+	TabStack->setItemText(idShadowItem, tr("Drop Shadow"));
 	TabStack->setItemText(idShapeItem, tr("&Shape"));
 	TabStack->setItemText(idLineItem, tr("&Line"));
 	TabStack->setItemText(idColorsItem, tr("&Colors"));




More information about the scribus-commit mailing list