kune-commits
Threads by month
- ----- 2026 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
February 2012
- 1 participants
- 55 discussions
r1701 - in trunk/src/main/java/cc/kune: common/client/utils events/client/viewer events/server events/shared
by Vicente J. Ruiz Jurado 23 Feb '12
by Vicente J. Ruiz Jurado 23 Feb '12
23 Feb '12
Author: vjrj_
Date: 2012-02-23 14:17:09 +0100 (Thu, 23 Feb 2012)
New Revision: 1701
Added:
trunk/src/main/java/cc/kune/common/client/utils/DateUtils.java
Removed:
trunk/src/main/java/cc/kune/events/server/DateServerUtils.java
trunk/src/main/java/cc/kune/events/server/EventsServerConversionUtil.java
trunk/src/main/java/cc/kune/events/shared/DateUtils.java
Modified:
trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java
trunk/src/main/java/cc/kune/events/shared/EventsClientConversionUtil.java
Log:
Copied: trunk/src/main/java/cc/kune/common/client/utils/DateUtils.java (from rev 1698, trunk/src/main/java/cc/kune/events/shared/DateUtils.java)
===================================================================
--- trunk/src/main/java/cc/kune/common/client/utils/DateUtils.java (rev 0)
+++ trunk/src/main/java/cc/kune/common/client/utils/DateUtils.java 2012-02-23 13:17:09 UTC (rev 1701)
@@ -0,0 +1,40 @@
+package cc.kune.common.client.utils;
+
+import java.util.Date;
+
+import com.google.gwt.i18n.client.DateTimeFormat;
+import com.google.gwt.i18n.client.DateTimeFormat.PredefinedFormat;
+
+/**
+ * The Class DateUtils try to follow ISO_8601 (previously RFC 2445 date-time
+ * formats).
+ */
+public class DateUtils {
+
+ private static DateTimeFormat iso_8601 = DateTimeFormat.getFormat(PredefinedFormat.ISO_8601);
+ // Sample DTSTART:19980118T230000
+ private static DateTimeFormat rfcDateFormat = DateTimeFormat.getFormat("'DTSTART':yyyyMMdd'T'Hmmss");
+
+ public static Date toDate(final String date) {
+ try {
+ return iso_8601.parse(date);
+ } catch (final IllegalArgumentException e) {
+ try {
+ return rfcDateFormat.parse(date);
+ } catch (final IllegalArgumentException e1) {
+ // try old (buggy) hour formats
+ // DTSTART:20120229T120000
+ try {
+ return DateTimeFormat.getFormat("'DTSTART':yyyyMMdd'T'hhmmss").parse(date);
+ } catch (final IllegalArgumentException e2) {
+ // DTSTART:20120225T1300
+ return DateTimeFormat.getFormat("'DTSTART':yyyyMMdd'T'hhmm").parse(date);
+ }
+ }
+ }
+ }
+
+ public static String toString(final Date date) {
+ return iso_8601.format(date);
+ }
+}
Modified: trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java 2012-02-23 02:57:00 UTC (rev 1700)
+++ trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java 2012-02-23 13:17:09 UTC (rev 1701)
@@ -9,6 +9,7 @@
import cc.kune.common.client.actions.ui.descrip.Position;
import cc.kune.common.client.log.Log;
import cc.kune.common.client.notify.NotifyUser;
+import cc.kune.common.client.utils.DateUtils;
import cc.kune.common.shared.i18n.I18nTranslationService;
import cc.kune.common.shared.res.ICalConstants;
import cc.kune.common.shared.utils.TextUtils;
@@ -19,7 +20,6 @@
import cc.kune.core.shared.dto.HasContent;
import cc.kune.core.shared.dto.StateEventContainerDTO;
import cc.kune.events.client.actions.CalendarOnOverMenu;
-import cc.kune.events.shared.DateUtils;
import cc.kune.events.shared.EventsClientConversionUtil;
import cc.kune.events.shared.EventsConstants;
import cc.kune.gspace.client.viewers.AbstractFolderViewerView;
Deleted: trunk/src/main/java/cc/kune/events/server/DateServerUtils.java
===================================================================
--- trunk/src/main/java/cc/kune/events/server/DateServerUtils.java 2012-02-23 02:57:00 UTC (rev 1700)
+++ trunk/src/main/java/cc/kune/events/server/DateServerUtils.java 2012-02-23 13:17:09 UTC (rev 1701)
@@ -1,26 +0,0 @@
-package cc.kune.events.server;
-
-import java.text.ParseException;
-import java.text.SimpleDateFormat;
-import java.util.Date;
-
-/**
- * The Class DateUtils try to follow RFC 2445 date-time formats.
- *
- * DTSTART;TZID=US-Eastern:19970714T133000 ;Local time and time ; zone reference
- */
-public class DateServerUtils {
-
- private static String RFC_DATE_TIME_FORMAT = "'DTSTART':yyyyMMdd'T'hhmmss";
- // This is not tested: better use some class conversion util...
- private static String RFC_DATE_TIME_FORMAT_TZ = "'DTSTART;TZID='z:yyyyMMdd'T'hhmmss";
- private static SimpleDateFormat rfcDateFormat = new SimpleDateFormat(RFC_DATE_TIME_FORMAT);
-
- public static Date toDate(final String date) throws ParseException {
- return rfcDateFormat.parse(date);
- }
-
- public static String toString(final Date date) {
- return rfcDateFormat.format(date);
- }
-}
Deleted: trunk/src/main/java/cc/kune/events/server/EventsServerConversionUtil.java
===================================================================
--- trunk/src/main/java/cc/kune/events/server/EventsServerConversionUtil.java 2012-02-23 02:57:00 UTC (rev 1700)
+++ trunk/src/main/java/cc/kune/events/server/EventsServerConversionUtil.java 2012-02-23 13:17:09 UTC (rev 1701)
@@ -1,44 +0,0 @@
-package cc.kune.events.server;
-
-import java.text.ParseException;
-import java.util.Map;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-import cc.kune.common.shared.res.ICalConstants;
-import cc.kune.events.shared.EventsSharedConversionUtil;
-
-import com.bradrydzewski.gwt.calendar.client.Appointment;
-
-/**
- * The Class EventsConversionUtil is used to convert Appointments to Gadgets
- * properties and viceversa
- */
-public class EventsServerConversionUtil extends EventsSharedConversionUtil {
- private static final Logger LOG = Logger.getLogger(EventsServerConversionUtil.class.getName());
-
- public static Appointment toApp(final Map<String, String> properties) {
- final Appointment app = EventsSharedConversionUtil.toApp(properties);
- try {
- final String start = properties.get(ICalConstants.DATE_TIME_START);
- if (start != null) {
- app.setStart(DateServerUtils.toDate(start));
- }
- final String end = properties.get(ICalConstants.DATE_TIME_END);
- if (end != null) {
- app.setEnd(DateServerUtils.toDate(end));
- }
- } catch (final ParseException e) {
- LOG.log(Level.SEVERE, "Error parsing event", e);
- }
- return app;
- }
-
- public static Map<String, String> toMap(final Appointment app) {
- final Map<String, String> properties = EventsSharedConversionUtil.toMap(app);
- properties.put(ICalConstants.DATE_TIME_START, DateServerUtils.toString(app.getStart()));
- properties.put(ICalConstants.DATE_TIME_END, DateServerUtils.toString(app.getEnd()));
- return properties;
- }
-
-}
Deleted: trunk/src/main/java/cc/kune/events/shared/DateUtils.java
===================================================================
--- trunk/src/main/java/cc/kune/events/shared/DateUtils.java 2012-02-23 02:57:00 UTC (rev 1700)
+++ trunk/src/main/java/cc/kune/events/shared/DateUtils.java 2012-02-23 13:17:09 UTC (rev 1701)
@@ -1,26 +0,0 @@
-package cc.kune.events.shared;
-
-import java.util.Date;
-
-import com.google.gwt.i18n.client.DateTimeFormat;
-
-/**
- * The Class DateUtils try to follow RFC 2445 date-time formats.
- *
- * DTSTART;TZID=US-Eastern:19970714T133000 ;Local time and time ; zone reference
- */
-public class DateUtils {
-
- private static String RFC_DATE_TIME_FORMAT = "'DTSTART':yyyyMMdd'T'hhmmss";
- // This is not tested
- private static String RFC_DATE_TIME_FORMAT_TZ = "'DTSTART;TZID='v:yyyyMMdd'T'hhmmss";
- private static DateTimeFormat rfcDateFormat = DateTimeFormat.getFormat(RFC_DATE_TIME_FORMAT);
-
- public static Date toDate(final String date) {
- return rfcDateFormat.parse(date);
- }
-
- public static String toString(final Date date) {
- return rfcDateFormat.format(date);
- }
-}
Modified: trunk/src/main/java/cc/kune/events/shared/EventsClientConversionUtil.java
===================================================================
--- trunk/src/main/java/cc/kune/events/shared/EventsClientConversionUtil.java 2012-02-23 02:57:00 UTC (rev 1700)
+++ trunk/src/main/java/cc/kune/events/shared/EventsClientConversionUtil.java 2012-02-23 13:17:09 UTC (rev 1701)
@@ -2,6 +2,7 @@
import java.util.Map;
+import cc.kune.common.client.utils.DateUtils;
import cc.kune.common.shared.res.ICalConstants;
import com.bradrydzewski.gwt.calendar.client.Appointment;
1
0
r1700 - in trunk/src/main/java/cc/kune: core/client/i18n core/server/manager/file gspace/client/viewers
by Vicente J. Ruiz Jurado 23 Feb '12
by Vicente J. Ruiz Jurado 23 Feb '12
23 Feb '12
Author: vjrj_
Date: 2012-02-23 03:57:00 +0100 (Thu, 23 Feb 2012)
New Revision: 1700
Modified:
trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.java
trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.properties
trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants_es.properties
trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants_fr.properties
trunk/src/main/java/cc/kune/core/server/manager/file/EntityBackgroundUploadManager.java
trunk/src/main/java/cc/kune/gspace/client/viewers/FolderViewerUtils.java
Log:
Translation updated
Modified: trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.java 2012-02-23 00:55:51 UTC (rev 1699)
+++ trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.java 2012-02-23 02:57:00 UTC (rev 1700)
@@ -881,4 +881,5 @@
String yourLanguage();
String yourPreferences();
+
}
Modified: trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.properties
===================================================================
--- trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.properties 2012-02-23 00:55:51 UTC (rev 1699)
+++ trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.properties 2012-02-23 02:57:00 UTC (rev 1700)
@@ -120,7 +120,7 @@
longName = Long name
tools = Tools
hereYouCanSelectTheToolsUsed = Here you can select the tools used:
-thisToolCannotBeDisabledAsLongAsItsWhereTheGroupsHomePageIsLocatedChangeTheDefaultHomePageToAnotherT = This tool cannot be disabled as long as it\u2019s where the group\u2019s home page is located. Change the default home page to another tool then try again.
+thisToolCannotBeDisabledAsLongAsItsWhereTheGroupsHomePageIsLocatedChangeTheDefaultHomePageToAnotherT = This tool cannot be disabled as long as it’s where the group’s home page is located. Change the default home page to another tool then try again.
choose = Choose
changeThisWorkspaceTheme = Change this workspace theme:
selectAnImageFromYourComputerAsTheLogoForThisGroupForBestResultsUseANxnPixelImageBiggerImagesWillBeA = Select an image from your computer as the logo for this group. For best results use a [%d]x[%d] pixel image. Bigger images will be automatically resized.
@@ -412,9 +412,7 @@
wikiPagesAreDocumentsThatCanBeEditedByAnyVisitorInParamInsteadOfOnlyByTheGroupThisAcceleratesUpdatin = Wiki-pages are Documents that can be edited by any visitor (in [%s]), instead of only by the group. This accelerates updating and construction
errorSettingTheLogo = Error setting the logo
signInOrCreateAnAccountToAccessToYourInbox = Sign in or create an account to access to your inbox
-sorryThisGadgetHasProblemsWithItsnHeightWeHopeThisWillBeFixedSoonn = Sorry, this gadget has problems with its
- height. We hope this will be fixed soon
-
+sorryThisGadgetHasProblemsWithItsnHeightWeHopeThisWillBeFixedSoonn = Sorry, this gadget has problems with its height. We hope this will be fixed soon
addNewMember = Add new member
typeTheNameOfTheUserAndSelectHimHer = Type the name of the user and select him/her:
typeSomethingToSearchForUsersInParam = Type something to search for users in [%s]
@@ -442,4 +440,78 @@
nameOfTheNewChatroom = Name of the new chatroom?
nameOfTheNewList = Name of the new list?
titleOfTheNewPost = Title of the new post?
-serverErrorSavingTheTranslation = Server error saving the translation
\ No newline at end of file
+serverErrorSavingTheTranslation = Server error saving the translation
+thisBlogHasnTAnyPost = This blog hasn't any post
+thereIsnTAnyBlog = There isn't any blog
+thisFolderIsEmptyYouCanCreateSomeDocumentOrFolderHere = This folder is empty. You can create some document or folder here.
+thereIsnTAnyBarterYouCanCreateSomeHere = There isn't any barter. You can create some here
+thereIsNothingPostedYet = There is nothing posted yet
+homePageOfParam = Home page of [%s]
+thereIsnTAnyList = There isn't any list
+thereIsnTAnyMeetingCreateOne = There isn't any meeting, create one
+thisFolderIsEmptyCreateSomeWikipageOrFolder = This folder is empty, create some wikipage or folder
+thanksForJoiningParamNowYouCanActivelyParticipateInParamYouCanAlsoUseYourPersonalSpaceToPublishConte = Thanks for joining [%s]. Now you can actively participate in [%s]. You can also use your personal space to publish contents.
+toHelpWithTheTranslationOfThisSoftwarePleaseContactBeforeWithThisSiteAdministrators = To help with the translation of this software please contact before with this site administrators.
+doYouWantToCollaborativelyEditYourMeetingMinutesInANewDocument = Do you want to collaboratively edit your meeting minutes in a new document?
+signInOrCreateAnAccountToGiveUsFeedback = Sign in or create an account to give us feedback
+paramCreatedSuccesfully = '[%s]' created succesfully
+youCanCollaborativelyEditTheMeetingMinutesShownInThisDocument = You can collaboratively edit the meeting minutes, shown in this document.
+doYouWantToReloadThisPageToUseParamLanguage = Do you want to reload this page to use '[%s]' language?
+participate = Participate
+noResults = No results
+newMeetPlaner = New meet planer
+home = Home
+youCanResizeTheAboveTextarea = You can resize the above textarea.
+inbox = Inbox
+today = Today
+goToToday = Go To Today
+1Day = 1 Day
+3Days = 3 Days
+previous = Previous
+7Days = 7 Days
+month = Month
+next = Next
+userParamSaysParam = User [%s] says «[%s]»
+signInOrCreateAnAccountToAccessToThisRoom = Sign in or create an account to access to this room
+editTheAppointment = Edit the appointment
+addAnAppointment = Add an appointment
+removeThisAppointment = Remove this appointment
+emailNotifications = Email notifications
+esteBlogNoTieneNingnPostCreaUno = Este blog no tiene ningún post, crea uno
+noHayListasCrearUna = No hay listas, crear una
+noSeHaPublicadoNadaTodavaPublicaAlgo = No se ha publicado nada todavía. Publica algo
+descriptionOfTheAppointment = Description of the appointment
+add = Add
+pleaseSignInAgain = Please sign in again
+lostYourPassword = Lost your password?
+howOftenDoYouWantToReceiveEmailNotifications = How often do you want to receive email notifications?
+youWillReceiveAnEmailWithAnyNewMessagesInYourInboxAtParamAlmostImmediately = you will receive an email with any new messages in your inbox at [%s] almost immediately
+almostImmediately = almost immediately
+youWillReceiveAnEmailWithAnyNewMessagesInYourInboxAtParamAtMostHourly = you will receive an email with any new messages in your inbox at [%s] at most hourly
+atMostHourly = at most hourly
+atMostDaily = at most daily
+iDonTNeedEmailNotifications = I don't need email notifications
+youWillReceiveAnEmailWithAnyNewMessagesInYourInboxAtParamAtMostDaily = you will receive an email with any new messages in your inbox at [%s] at most daily
+youWillNoReceiveAnEmailWithAnyNewMessagesInYourInboxAtParam = you will no receive an email with any new messages in your inbox at [%s]
+yourEmailIsNotVerifiedSoYouWillNotReceiveEmailNotifications = Your email is not verified, so you will not receive email notifications
+resendVerificationEmail = Resend verification email
+otherErrorTryingToVerifyYourPassword = Other error trying to verify your password
+emailConfirmationCodeExpired = Email confirmation code expired
+resetYourPassword = Reset your password
+pleaseEnterYourEmailAddressYouWillReceiveALinkToCreateANewPasswordViaEmail = Please enter your email address. You will receive a link to create a new password via email.
+newImage = New image
+editThisToInsertResizeAndAnnotatenAnynImageFromTheWebTheImageCanBeAnnotatedDoubleClicknOnnItByAnyPar = Edit this to insert, resize and annotate any image from the web. The image can be annotated (double click on it) by any participant of this document
+yourPasswordHasBeenResetSignIn = Your password has been reset. Sign in
+enterYourNewPasswordBelow = Enter your new password below.
+confirm = Confirm
+confirmPlease = Confirm please
+errorRenaming = Error renaming
+searching = Searching
+thereIsnTAnyBarter = There isn't any barter.
+invalidAddressParam = Invalid address: [%s]
+errorCreatingGroup = Error creating group
+memberRejected = Member rejected
+invalidEmail = Invalid email
+onlyMembersCanUpdateEvents = Only members can update events
+backgroupChanged = Backgroup changed
+checkYourEmailForTheConfirmationLink = Check your email for the confirmation link
\ No newline at end of file
Modified: trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants_es.properties
===================================================================
--- trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants_es.properties 2012-02-23 00:55:51 UTC (rev 1699)
+++ trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants_es.properties 2012-02-23 02:57:00 UTC (rev 1700)
@@ -32,7 +32,7 @@
administrators = Administradoræs
usersWhoCanAdministrateThisGroup = Usuarios/as que pueden administrar este grupo
collaborators = Colaboradoræs
-othersWhoCollaborateWithThisGroup = Otr@s que colaboran en este grupo
+othersWhoCollaborateWithThisGroup = Otros/as que colaboran en este grupo
thisIsAnOrphanedProjectIfYouAreInterestedInContributingPleaseRequestToJoin = Este es un proyecto huérfano, si estás interesado/a en contribuir por favor, solicita participar en él
pending = Pendiente
theMembersOfThisGroupAreNotPublic = Los miembros de este grupo no son públicos
@@ -100,7 +100,7 @@
chatWithThisPerson = Chatea con esta persona
kuneDevelopmentSite = Sitio de desarrollo de Kune
andNExternalUser = y [%d] usuarios externos
-thisIsOnlyAPreviewOfHowThisPageWouldLookLikeToTheGeneralPublicOnTheInternet = Esto es solo una vista previa de como está página la verá el público general en Internet
+thisIsOnlyAPreviewOfHowThisPageWouldLookLikeToTheGeneralPublicOnTheInternet = Esto es solo una vista previa de como está página la verá el público general en Internet.
preview = Vista previa
paramUnderLicenseParam = © [%s], bajo licencia: [%s]
clickToRename = Pulsa para renombrar
@@ -115,7 +115,7 @@
memberAccepted = Miembro aceptado
general = General
changeThisValues = Cambia estos valores:
-theNameMustBeBetween3And15LowercaseWesternCharactersAndOrNumbers = El nombre debe tener entre 3 y 15 caracteres occidentales y/o números
+theNameMustBeBetween3And15LowercaseWesternCharactersAndOrNumbers = El nombre debe tener entre 3 y 15 letras minúsculas (occidentales) y/o números
shortName = Nombre corto
longName = Nombre largo
tools = Herramientas
@@ -160,7 +160,7 @@
newPassword = Nueva contraseña
newPasswordRepeatIt = Nueva contraseña (repítela)
changeIt = Cámbiala
-youCannotDisableThisToolBecauseItSWhereYourHomePageIsLocatedToDoThatYouHaveToSelectOtherContentAsThe = No puedes desactivar esta herramienta porque es donde tu página inicial está localizada. Para hacerlo tiene que seleccionar otro contenido de otra herramienta como página inicial.
+youCannotDisableThisToolBecauseItSWhereYourHomePageIsLocatedToDoThatYouHaveToSelectOtherContentAsThe = No puedes desactivar esta herramienta porque es donde tu página inicial está localizada. Para hacerlo tienes que seleccionar otro contenido de otra herramienta como página inicial.
selectAnImageFromYourComputerAsYourAvatarForBestResultsUseANxnPixelImageBiggerImagesWillBeAutomatica = Selecciona una imagen de tu ordenador como tu avatar. Para resultados óptimos usa una imagen de [%d]x[%d] píxeles. Imágenes más grandes serán reajustadas automáticamente.
passwordChangedSuccessfully = La contraseña se ha cambiado correctamente
newGadget = Nuevo Gadget
@@ -179,12 +179,12 @@
aMidTermTaskSample = Ejemplo de tarea a medio plazo
aShortTermTaskSample = Una tarea a corto plazo
wikiPageSample = Ejemplo de página wiki
-thisIsOnlyAWikiPageSampleYouCanEditOrRenameItButAlsoAnyOtherUser = Esto es solo una página wiki de ejemplo. Puedes editarla o renombrarla, pero también cualquier otro/a usuario/a
+thisIsOnlyAWikiPageSampleYouCanEditOrRenameItButAlsoAnyOtherUser = Esto es solo una página wiki de ejemplo. Puedes editarla o renombrarla, pero también cualquier otro/a usuario/a.
blogSample = Ejemplo de Blog
aPostSample = Ejemplo de post
thisIsOnlyAPostSampleYouCanEditItRenameThePostAndThisBlog = Esto es solo un ejemplo de post. Puedes editarlo, o renombrar el nombre de este post o del blog
welcome = Bienvenido/a
-thanksForJoiningParamNowYouCanActivelyParticipateInParamYouCanAlsoUseYourPersonalSpaceToPublishConte = Gracias por unirte a [%s]. Ahora puedes participar activamente en [%s]. Pues también usar tu espacio personal para publicar contenidos. Nota: Tu correo no está verificado, por favor, sigue las indicaciones que recibirás por correo.
+thanksForJoiningParamNowYouCanActivelyParticipateInParamYouCanAlsoUseYourPersonalSpaceToPublishConte = Gracias por unirte a [%s]. Ahora puedes participar activamente en [%s]. Pues también usar tu espacio personal para publicar contenidos. Nota: Tu correo no está verificado, por favor, sigue las indicaciones que recibirás por correo electrónico.
thisUserHasNoBuddiesYet = Estæ usuaria/o no tiene todavía colegas
newTask = Nueva tarea
createANewTask = Crea una nueva tarea
@@ -225,7 +225,7 @@
aProjectIsAKindOfGroupInWhichTheJoiningOfNewMembersIsModeratedByTheProjectAdministrators = Un proyecto es un tipo de grupo en el que la aceptación de nuevos miembros es moderada por las/los administradoræs.
anOrganizationWorksTheSameWayAsAProjectExceptThatItMustBeALegalEntity = Una organización funciona igual que un proyecto, excepto en que debe ser una entidad legal.
closed = Cerrado
-aClosedGroupIsAPrivateProjectWhichContentsAreOnlyAccessibleToItsMembersByDefault = Un grupo cerrado es un proyecto privado, en el que sus contenidos, por defecto, son solo accesibles para sus miembros.
+aClosedGroupIsAPrivateProjectWhichContentsAreOnlyAccessibleToItsMembersByDefault = Un grupo cerrado es un proyecto privado, en el que sus contenidos, por defecto, son solo accesibles por sus miembros.
community = Comunidad
aCommunityIsAGroupOfUsersWithSharedInterestsForInstanceTheEnvironmentalCommunityOrTheLgbtCommunityIt = Una comunidad es un grupo de usuarios/as con intereses compartidos (por ejemplo la comunidad ecologista o la comunidad LGBT). Está abierta para que participe cualquier persona libremente sin la moderación de los/as administradoræs.
paramCreatedNewContentCreatedForInstance = [%s] creado
@@ -275,7 +275,7 @@
thisIsOnlyAMeetSampleYouCanInviteOtherParticipantsToThisMeetingButAlsoPublishToTheGeneralPublicAllow = Esto es solo un ejemplo de cita. Puedes invitar a otros participantes a esta cita, pero también publicarla al público general lo que te ayudará en la organización, convocatoria y acelerar eventos.
markAsDone = Marcar como hecho
createANewPost = Crear un nuevo post
-makeThisListNotPublic = Hacer esta lista como no pública
+makeThisListNotPublic = Hacer privada esta lista
subscribeToThisList = Suscríbete a la lista
subscribe = Suscríbete
nSubscribedNPosts = [%d] subscritoræs, [%d] posts
@@ -368,31 +368,30 @@
yesAsLongAsOtherShareAlike = Sí, siempre que compartan por igual
theLicensorPermitsOthersToDistributeDerivativeWorksOnlyUnderTheSameLicenseOrOneCompatibleWithTheOneT = El licenciador/a permite a otras personas distribuir trabajos derivados solo bajo la misma licencia o una compatible con esta
theLicensorPermitsOthersToCopyDistributeDisplayAndPerformOnlyUnalteredCopiesOfTheWork8212NotDerivati = El licenciador/a permite a otras personas copiar, distribuir, mostrar y realizar solo copias no modificadas de este trabajo (trabajos no derivados basados en este)
-thisIsACopyleftLicense = Esta es una licencia copyleft
+thisIsACopyleftLicense = Esta es una licencia copyleft.
thisIsNotACopyleftLicense = Esta no es una licencia copyleft.
thisIsAppropriateForFreeCulturalWorks = Esto es apropiado para trabajos culturales.
thisIsNotAppropriateForFreeCulturalWorks = Esto no es apropiado para trabajos culturales.
reasonsNotToUseANonCommercialLicense = Razones para no usar una licencia no-comercial
selectOtherKindOfLicenses = Elige otro tipo de licencias:
selectLicense = Elige una licencia
-membershipRequestedWaitingForAdminsDecision = Petición de participación enviada. En espera de la decisión de los/as adminstradores/as.
+membershipRequestedWaitingForAdminsDecision = Petición de participación enviada. En espera de la decisión de los/as adminstradores/as
memberTypeChanged = Tipo de miembro cambiado
memberRemoved = Miembro borrado
contentNotFound = Contenido no encontrado
onlyToAuthorizedTranslators = Sólo para traductoras autorizadas
-toHelpWithTheTranslationOfThisSoftwarePleaseContactBeforeWithThisSiteAdministrators = Para ayudar con la traducción de este software por favor contacta antes con el sitio de las administradoras
+toHelpWithTheTranslationOfThisSoftwarePleaseContactBeforeWithThisSiteAdministrators = Para ayudar con la traducción de este software por favor contacta antes con las administradoras de este sitio
visibilityOfYourNetworkChanged = La visibilidad de tu red ha sido cambiada
-areYouSureYouWantThisItWillBeDeletedWithAllItsContents = ¿Estás segura que quieres esto? Será eliminado borrado junto con todo su contenido.
-thisNameIsAlreadyInUsePleaseTryWithADifferentName = Este nombre ya está en uso, por favor trata con un nombre diferente
+areYouSureYouWantThisItWillBeDeletedWithAllItsContents = ¿Estás segura que quieres esto? Será borrado junto con todo su contenido.
+thisNameIsAlreadyInUsePleaseTryWithADifferentName = Este nombre ya está en uso, por favor prueba con un nombre diferente
doYouWantToWriteAMessageToTheAdministratorsOfThisGroup = ¿Quieres escribirle un mensaje a los administradores de este grupo?
listCreated = Lista creada
-thisListIsNowRestrictedToThePublic = Esta lista ahora es restringida para el público
+thisListIsNowRestrictedToThePublic = Esta lista ahora está restringida para el público
makeThisListPublic = Hacer pública esta lista
membersVisibilityChanged = Visibilidad de los miembros cambiada
membersJoiningPolicyChanged = Política de adhesión de miembros cambiada
moving = Moviendo
aContentWithTheSameNameAlreadyExistPleaseRenameIt = Ya existe un contenido con el mismo nombre. Por favor renómbralo.
-
removedAsMember = Eliminado como miembro
addGadget = Añade un Gadget
theSocialNetworkOfThisUserIsNotPublic = La red social de este/a usuario/a no es público
@@ -413,8 +412,105 @@
wikiPagesAreDocumentsThatCanBeEditedByAnyVisitorInParamInsteadOfOnlyByTheGroupThisAcceleratesUpdatin = Las páginas Wiki son documentos que pueden ser editados por cualquier usuario/a (de [%s]) en vez de solo por el grupo. Este acelera su actualización y construcción
errorSettingTheLogo = Error configurando el logo
signInOrCreateAnAccountToAccessToYourInbox = Entra o créate una cuenta para acceder a tu carpeta de entrada
+sorryThisGadgetHasProblemsWithItsnHeightWeHopeThisWillBeFixedSoonn = Lo sentimos, este gadget tiene problemas con su altura. Esperamos solucionar este problema pronto
addNewMember = Añadir un nuevo miembro
-unsubscribe = Desubscrito
+typeTheNameOfTheUserAndSelectHimHer = Escribe el nombre de usuario/a y selecciónalo/a
+typeSomethingToSearchForUsersInParam = Escribe algo para buscar usuarios en [%s]
+doubleClickToOpenDragAndDropToMoveThisToAnotherPlace = Pulsa dos veces para abrirlo. Pincha y arrastra para moverlo a otro sitio
+theUsernamePasswordIsIncorrect = Esta cuenta de usuario o contraseña son incorrectas
+subscribed = Suscrito
+unsubscribe = Desuscribete
unsubscribeToThisList = Desuscribirse de esta lista
+unsubscribed = Desuscrito
+doYouWantToAddParamToYourContacts = ¿Quieres agregar a '[%s]' a tus contactos?
+youAreTryingToMoveThisToTheSameLocation = Estás intentado mover esto al mismo sitio
+postCreatedEditIt = Se ha creado la publicación. Edítala
+pleaseSignInOrRegisterToCreateAGroup = Por favor, entra o regístrate para crear un grupo
+signInOrCreateAnAccountToParticipateInThisGroup = Entra o crea una cuenta para participar en este grupo
+thisNameInAlreadyInUsePleaseTryWithADifferentName = Este nombre ya está en uso. Por favor, escoge otro nombre diferente
+nowadaysTheGadgetsMapsPollsEtcAreExperimentalInSomeBrowsersYouMightExperienceProblemsWithCertainGadg = Actualmente los gadgets (mapas, encuestas, etc) son experimentales. En algunos navegadores es posible que experimente problemas con ciertos gadgets
errorConfiguringTheTool = Error de configuración de la herramienta
-doYouWantToAddParamAsAMemberOfParam = ¿Quieres añadir '[%s]' como miembro de '[%s]'?
\ No newline at end of file
+youDoNotHaveRightsToPerformThatAction = No tienes permisos para realizar esta acción
+signInOrRegisterToHelpWithTheTranslation = Entra o regístrate para ayudar con la traducción
+thisNameAlreadyExistsItIsUsedWhenAFileOrAFolderWithTheSameNameAlreadyExists = Este nombre ya existe
+doYouWantToAddParamAsAMemberOfParam = ¿Quieres añadir '[%s]' como miembro de '[%s]'?
+memberAddedAsCollaborator = Miembro agregado como colaborador/a
+thisEmailAddressIsBeingUsedByAnotherUserPleaseTryWithAnotherOne = Este correo electrónico está siendo usado por otro usuario/a. Por favor, escoge otro.
+youCannotWriteToNonBuddies = No puedes escribir a usuarios que no sean colegas tuyos
+nameOfTheNewChatroom = ¿Nombre de la nueva sala de chat?
+nameOfTheNewList = ¿Nombre de la nueva lista?
+titleOfTheNewPost = ¿Título de la nueva publicación?
+serverErrorSavingTheTranslation = Error de servidor al guardar la traducción
+thisBlogHasnTAnyPost = Este blog no tiene ninguna publicación
+thereIsnTAnyBlog = No hay ningún blog
+thisFolderIsEmptyYouCanCreateSomeDocumentOrFolderHere = Esta carpeta está vacía. Puedes crear aquí algún documento o carpeta.
+thereIsnTAnyBarterYouCanCreateSomeHere = No hay ningún trueque. Puedes crear uno aquí.
+thereIsNothingPostedYet = No hay nada publicado aún
+homePageOfParam = Página de inicio de [%s]
+thereIsnTAnyList = No hay ninguna lista
+thereIsnTAnyMeetingCreateOne = No hay ningún encuentro, crea uno
+thisFolderIsEmptyCreateSomeWikipageOrFolder = Esta carpeta está vacía, crea alguna página wiki o carpeta
+thanksForJoiningParamNowYouCanActivelyParticipateInParamYouCanAlsoUseYourPersonalSpaceToPublishConte = Gracias por apuntarte [%s]. Ahora ya puedes participar activamente en [%s]. Puedes usar también tu espacio personal para publicar contenidos.
+toHelpWithTheTranslationOfThisSoftwarePleaseContactBeforeWithThisSiteAdministrators = Para ayudar con la traducción de este software contacta por favor antes con las adminitradoras de este sitio.
+doYouWantToCollaborativelyEditYourMeetingMinutesInANewDocument = ¿Quieres editar las actas de tu encuentro de forma colaborativa en un nuevo documento?
+signInOrCreateAnAccountToGiveUsFeedback = Entra o crea una cuenta para darnos feedback
+paramCreatedSuccesfully = Se ha creado con éxito: '[%s]'
+youCanCollaborativelyEditTheMeetingMinutesShownInThisDocument = Puedes editar de forma colaborativa el acta de la reunión, mostrada en este documento.
+doYouWantToReloadThisPageToUseParamLanguage = ¿Quieres recargar esta página para utilizar el idioma '[%s]'?
+participate = Participa
+noResults = Ningún resultad
+newMeetPlaner = Nuevo planificador de eventos
+home = Inicio
+youCanResizeTheAboveTextarea = Puedes redimensionar el área de texto de más arriba
+inbox = Bandeja de entrada
+today = Hoy
+goToToday = Ir a Hoy
+1Day = 1 Día
+3Days = 3 Días
+previous = Previo/a
+7Days = 7 Días
+month = Mes
+next = Siguiente
+userParamSaysParam = El usuario/a [%s] dice «[%s]»
+signInOrCreateAnAccountToAccessToThisRoom = Entra o crea una cuenta para acceder a esta sala
+editTheAppointment = Edita la cita
+addAnAppointment = Añade una cita
+removeThisAppointment = Elimina esta cita
+emailNotifications = Notificaciones por correo
+esteBlogNoTieneNingnPostCreaUno = Este blog no tiene ningún post, crea uno
+noHayListasCrearUna = No hay listas, crea una
+descriptionOfTheAppointment = Descripción de la cita
+add = Añadir
+pleaseSignInAgain = Entra de nuevo, por favor
+lostYourPassword = ¿Has perdido tu contraseña?
+howOftenDoYouWantToReceiveEmailNotifications = ¿Cada cuanto quieres recibir notificaciones por correo electrónico?
+youWillReceiveAnEmailWithAnyNewMessagesInYourInboxAtParamAlmostImmediately = recibirás un correo electrónico con cualquier mensaje nuevo en tu buzón en [%s] casi inmediatamente
+almostImmediately = casi inmediatamente
+youWillReceiveAnEmailWithAnyNewMessagesInYourInboxAtParamAtMostHourly = recibirás un correo electrónico con cualquier mensaje nuevo en tu buzón en [%s] como mucho cada hora
+atMostHourly = como mucho cada hora
+atMostDaily = como mucho diariamente
+iDonTNeedEmailNotifications = No necesito notificaciones por correo
+youWillReceiveAnEmailWithAnyNewMessagesInYourInboxAtParamAtMostDaily = recibirás un correo electrónico con cualquier mensaje nuevo en tu buzón en [%s] como mucho diariamente
+youWillNoReceiveAnEmailWithAnyNewMessagesInYourInboxAtParam = no recibirás ningún correo electrónico con mensajes nuevos en tu buzón en [%s]
+yourEmailIsNotVerifiedSoYouWillNotReceiveEmailNotifications = Tú correo electrónico no está verificado, por lo que no recibirás notificaciones por correo
+resendVerificationEmail = Vuelve a enviar el correo electrónico de verificación
+otherErrorTryingToVerifyYourPassword = Ha habido algún otro error al intentar verificar tu contraseña
+emailConfirmationCodeExpired = El código de confirmación por correo-e ha caducado
+resetYourPassword = Cambia tu contraseña
+pleaseEnterYourEmailAddressYouWillReceiveALinkToCreateANewPasswordViaEmail = Introduce tu dirección de correo electrónico, por favor. Recibirás un enlace por correo para crear una nueva contraseña
+newImage = Nueva imagen
+editThisToInsertResizeAndAnnotatenAnynImageFromTheWebTheImageCanBeAnnotatedDoubleClicknOnnItByAnyPar = Edita esto para insertar, redimensionar y anotar cualquier imagen de la web. Cada participante de este documento puede anotar la imagen (pulsando dos veces en ella)
+yourPasswordHasBeenResetSignIn = Se te ha cambiado la contraseña. Ya puedes entrar
+enterYourNewPasswordBelow = Introduce tu nueva contraseña debajo
+confirm = Confírmalo
+confirmPlease = Por favor, confírmalo
+errorRenaming = Ha habido un error al renombrar
+searching = Buscando
+thereIsnTAnyBarter = No hay ningún trueque.
+invalidAddressParam = Dirección inválida: [%s]
+errorCreatingGroup = Ha habido un error al crear el grupo
+memberRejected = Miembro rechazado
+invalidEmail = Correo electrónico inválido
+onlyMembersCanUpdateEvents = Sólo los miembros pueden actualizar eventos
+backgroupChanged = Fondo cambiado
+checkYourEmailForTheConfirmationLink = Comprueba tu correo para el enlace de confirmación
\ No newline at end of file
Modified: trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants_fr.properties
===================================================================
--- trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants_fr.properties 2012-02-23 00:55:51 UTC (rev 1699)
+++ trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants_fr.properties 2012-02-23 02:57:00 UTC (rev 1700)
@@ -440,4 +440,76 @@
nameOfTheNewChatroom = Nom de la nouvelle salle de discussion ?
nameOfTheNewList = Nom de cette nouvelle liste ?
titleOfTheNewPost = Titre du nouvel article ?
-serverErrorSavingTheTranslation = Erreur du serveur lors de la sauvegarde de la traduction
\ No newline at end of file
+serverErrorSavingTheTranslation = Erreur du serveur lors de la sauvegarde de la traduction
+thisBlogHasnTAnyPost = Ce blog n'a pas d'article
+thereIsnTAnyBlog = Il n'y a pas de blog
+thisFolderIsEmptyYouCanCreateSomeDocumentOrFolderHere = Le répertoire est vide. Vous pouvez créer un document ou un répertoire ici.
+thereIsnTAnyBarterYouCanCreateSomeHere = Il n'y a aucun troc. Vous pouvez en créer ici
+thereIsNothingPostedYet = Rien n'a encore été posté
+homePageOfParam = Page d'accueil de [%s]
+thereIsnTAnyList = Il n'y a pas de liste
+thereIsnTAnyMeetingCreateOne = Il n'y a pas de réunion, en créer une
+thisFolderIsEmptyCreateSomeWikipageOrFolder = Le répertoire est vide, créer une page wiki ou un répertoire
+thanksForJoiningParamNowYouCanActivelyParticipateInParamYouCanAlsoUseYourPersonalSpaceToPublishConte = Merci de rejoindre [%s]. Maintenant vous pouvez activement participer à [%s]. Vous pouvez aussi utiliser votre espace personnel pour publier du contenu.
+toHelpWithTheTranslationOfThisSoftwarePleaseContactBeforeWithThisSiteAdministrators = Pour contribuer à la traduction de ce logiciel, merci de contacter les administrateurs de ce site auparavant.
+doYouWantToCollaborativelyEditYourMeetingMinutesInANewDocument = Voulez-vous éditer collaborativement les minutes de la réunion dans un nouveau document ?
+signInOrCreateAnAccountToGiveUsFeedback = Connectez-vous ou créez un compte pour nous envoyer des retours
+paramCreatedSuccesfully = '[%s]' créés avec succès
+youCanCollaborativelyEditTheMeetingMinutesShownInThisDocument = Vous pouvez éditer collaborativement les minutes de la réunion qui sont affichées dans ce document.
+doYouWantToReloadThisPageToUseParamLanguage = Voulez-vous recharger cette page pour qu'elle soit en '[%s]' ?
+participate = Participer
+noResults = Pas de résultat
+newMeetPlaner = Nouveau plan de réunion
+home = Accueil
+youCanResizeTheAboveTextarea = Vous pouvez redimensionner la zone de texte ci-dessus.
+inbox = Boîte de réception
+today = Aujourd'hui
+goToToday = Aller à aujourd'hui
+1Day = 1 jour
+3Days = 3 jours
+previous = Précédent
+7Days = 7 jours
+month = Mois
+next = Suivant
+userParamSaysParam = L'utilisateur [%s] dit « [%s] »
+signInOrCreateAnAccountToAccessToThisRoom = Connectez-vous ou créez un compte pour accéder à cet espace
+editTheAppointment = Editer le rendez-vous
+addAnAppointment = Ajouter un rendez-vous
+removeThisAppointment = Supprimer ce rendez-vous
+emailNotifications = Notifications par email
+esteBlogNoTieneNingnPostCreaUno = Ce blog ne contient pas d'article, en créer un
+noHayListasCrearUna = Il n'y a pas de liste, en créer une
+noSeHaPublicadoNadaTodavaPublicaAlgo = Rien n'a encore été publié. Publier quelque chose
+descriptionOfTheAppointment = Description du rendez-vous
+add = Ajouter
+pleaseSignInAgain = Merci de vous connecter à nouveau
+lostYourPassword = Oublié votre mot de passe ?
+howOftenDoYouWantToReceiveEmailNotifications = A quelle fréquence souhaitez-vous recevoir des notifications par email
+youWillReceiveAnEmailWithAnyNewMessagesInYourInboxAtParamAlmostImmediately = vous recevrez un email avec tous les nouveaux messages de votre boîte de réception [%s] presque tout de suite
+almostImmediately = presque tout de suite
+youWillReceiveAnEmailWithAnyNewMessagesInYourInboxAtParamAtMostHourly = vous recevrez un email avec tous les nouveaux messages de votre boîte de réception [%s] au plus une fois par heure
+atMostHourly = au plus toutes les heures
+atMostDaily = au plus tous les jours
+iDonTNeedEmailNotifications = Je n'ai pas besoin de notifications par email
+youWillReceiveAnEmailWithAnyNewMessagesInYourInboxAtParamAtMostDaily = vous recevrez un email avec tous les nouveaux messages de votre boîte de réception [%s] au plus une fois par jour
+youWillNoReceiveAnEmailWithAnyNewMessagesInYourInboxAtParam = vous ne recevrez plus d'email et de nouveaux messages dans votre boîte de réception à [%s]
+yourEmailIsNotVerifiedSoYouWillNotReceiveEmailNotifications = Votre email n'est pas vérifié, donc vous ne recevrez pas de notifications par email
+resendVerificationEmail = Réenvoyer le courriel de vérification
+otherErrorTryingToVerifyYourPassword = D'autres erreurs lors de la vérification de votre mot de passe
+emailConfirmationCodeExpired = Le code de confirmation email a expiré
+resetYourPassword = Réinitialiser votre mot de passe
+pleaseEnterYourEmailAddressYouWillReceiveALinkToCreateANewPasswordViaEmail = Merci d'entrer votre adresse email. Vous recevrez un lien pour créer un nouveau mot de passe par email.
+newImage = Nouvelle image
+editThisToInsertResizeAndAnnotatenAnynImageFromTheWebTheImageCanBeAnnotatedDoubleClicknOnnItByAnyPar = Editer pour insérer, changer la taille et annoter toute image depuis le web. L'image peut être annotée (double-cliquez dessus) par n'importe quel participant de ce document
+yourPasswordHasBeenResetSignIn = Votre mot de passe a été réinitialisé. Se connecter
+enterYourNewPasswordBelow = Indiquez votre mot de passe ci-dessous
+confirm = Confirmer
+confirmPlease = Merci de confirmer
+errorRenaming = Erreur lors du renommage
+searching = Recherche
+thereIsnTAnyBarter = Il n'y a aucun troc.
+invalidAddressParam = Adresse erronée : [%s]
+errorCreatingGroup = Erreur lors de la création du groupe
+memberRejected = Membre rejeté
+invalidEmail = Adresse de courriel non erronée
+onlyMembersCanUpdateEvents = Seuls les membres peuvent mettre à jour les événements
\ No newline at end of file
Modified: trunk/src/main/java/cc/kune/core/server/manager/file/EntityBackgroundUploadManager.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/manager/file/EntityBackgroundUploadManager.java 2012-02-23 00:55:51 UTC (rev 1699)
+++ trunk/src/main/java/cc/kune/core/server/manager/file/EntityBackgroundUploadManager.java 2012-02-23 02:57:00 UTC (rev 1700)
@@ -98,6 +98,6 @@
} catch (final Exception e) {
return i18n.t("Error uploading background");
}
- return i18n.t("Backgroup changed");
+ return i18n.t("Background changed");
}
}
Modified: trunk/src/main/java/cc/kune/gspace/client/viewers/FolderViewerUtils.java
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/viewers/FolderViewerUtils.java 2012-02-23 00:55:51 UTC (rev 1699)
+++ trunk/src/main/java/cc/kune/gspace/client/viewers/FolderViewerUtils.java 2012-02-23 02:57:00 UTC (rev 1700)
@@ -100,11 +100,13 @@
String msg = null;
final String typeId = container.getTypeId();
if (session.isLogged()) {
+ // msg is already translated
msg = capabilitiesRegistry.getEmptyMessagesRegistry().getContentTypeIcon(typeId);
} else {
msg = capabilitiesRegistry.getEmptyMessagesRegistryNotLogged().getContentTypeIcon(typeId);
}
- final String emptyMessage = TextUtils.empty(msg) ? i18n.t("This is empty.") : i18n.t(msg);
+ // msg is already translated
+ final String emptyMessage = TextUtils.empty(msg) ? i18n.t("This is empty.") : msg;
getView().showEmptyMsg(emptyMessage);
} else {
// Folders
1
0
r1699 - in trunk: img/icons src/main/java/cc/kune/core/client/rpcservices src/main/java/cc/kune/core/server/content src/main/java/cc/kune/core/server/rpc src/main/java/cc/kune/events/client/viewer
by Vicente J. Ruiz Jurado 23 Feb '12
by Vicente J. Ruiz Jurado 23 Feb '12
23 Feb '12
Author: vjrj_
Date: 2012-02-23 01:55:51 +0100 (Thu, 23 Feb 2012)
New Revision: 1699
Modified:
trunk/img/icons/person.svg
trunk/src/main/java/cc/kune/core/client/rpcservices/ContentService.java
trunk/src/main/java/cc/kune/core/client/rpcservices/ContentServiceAsync.java
trunk/src/main/java/cc/kune/core/server/content/ContentManager.java
trunk/src/main/java/cc/kune/core/server/content/ContentManagerDefault.java
trunk/src/main/java/cc/kune/core/server/content/CreationService.java
trunk/src/main/java/cc/kune/core/server/content/CreationServiceDefault.java
trunk/src/main/java/cc/kune/core/server/rpc/ContentRPC.java
trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPanel.java
trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java
Log:
NEW - # 158: Add a Calendar view to event tool
http://kune.ourproject.org/issues/ticket/158
Modified: trunk/img/icons/person.svg
===================================================================
--- trunk/img/icons/person.svg 2012-02-22 23:48:59 UTC (rev 1698)
+++ trunk/img/icons/person.svg 2012-02-23 00:55:51 UTC (rev 1699)
@@ -14,7 +14,7 @@
height="297mm"
id="svg3567"
sodipodi:version="0.32"
- inkscape:version="0.48.0 r9654"
+ inkscape:version="0.48.2 r9819"
sodipodi:docname="person.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1">
@@ -43,14 +43,14 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1"
- inkscape:cx="1018.0008"
- inkscape:cy="187.75619"
+ inkscape:cx="607.94049"
+ inkscape:cy="107.75619"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
- inkscape:window-width="1270"
+ inkscape:window-width="1078"
inkscape:window-height="773"
- inkscape:window-x="8"
+ inkscape:window-x="0"
inkscape:window-y="25"
inkscape:window-maximized="0" />
<metadata
@@ -61,7 +61,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
- <dc:title></dc:title>
+ <dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@@ -2091,262 +2091,266 @@
d="m 941.30576,922.262 c -2.30799,0.42179 -4.16251,2.32674 -4.81728,4.53835 -1.1649,2.62595 -1.70571,5.55638 -1.35538,8.41966 0.005,0.25892 0.0352,0.52059 -0.009,0.77766 0.90512,-1.08651 0.91732,-2.57442 1.44289,-3.83498 0.81336,-2.57684 2.12136,-5.10808 4.26397,-6.82486 1.05327,-0.88861 2.28631,-1.53931 3.55077,-2.07317 0.17421,-0.43871 -0.35603,-0.78282 -0.74634,-0.75388 -0.752,-0.22268 -1.54788,-0.29672 -2.32948,-0.24878 z"
id="path33071"
inkscape:connector-curvature="0" />
- <path
- style="fill:#dce2e8"
- d="m 1092.5142,862.96792 c 0.01,-5.30143 1.6059,-10.6248 3.7815,-15.43929 4.3212,-8.8444 14.216,-12.22658 22.338,-16.5859 4.6806,-1.37584 9.0712,-5.52844 4.7426,-10.02046 -6.3949,-12.22902 -8.7729,-27.8219 -2.1065,-40.43961 3.6547,-7.37162 12.389,-12.01132 20.4933,-9.67176 7.2863,1.44287 13.1447,7.15895 15.3403,14.18101 4.5144,13.20733 1.2153,28.11579 -6.5366,39.43979 -1.3297,3.95225 5.8957,5.24121 8.44,7.53545 5.4039,3.00388 11.6059,4.85759 15.8683,9.59775 5.1225,5.30858 9.7926,12.48585 8.6642,20.18284 -2.666,2.93451 -8.4087,1.41927 -12.3014,2.20861 -23.9529,0.89934 -47.9593,1.13829 -71.9091,0.0384 -2.2566,-0.26203 -4.7316,-0.0739 -6.8146,-1.02681 z"
- id="path33075"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#d4dbe2"
- d="m 1092.8619,863.98091 c -0.3001,-10.49202 6.0373,-20.13978 14.6626,-25.69496 5.5197,-4.0779 12.4095,-5.84192 17.8082,-10.06232 2.8497,-4.01312 -2.3724,-8.04948 -3.3454,-11.96125 -5.1733,-11.94737 -5.914,-27.08139 2.2563,-37.90341 5.8941,-8.20878 18.8524,-9.23957 26.2071,-2.50691 7.922,7.8665 8.9959,20.23178 7.0788,30.70563 -1.0774,6.52092 -4.2598,12.37274 -7.8005,17.84376 -0.6394,4.72644 5.997,6.29571 9.1566,8.71794 5.6707,3.14875 12.427,4.70876 16.6239,10.05061 4.552,5.13638 7.7383,11.97169 7.2645,18.94209 -3.4288,3.13676 -9.1732,1.57453 -13.5604,2.19728 -25.1428,0.17847 -50.294,0.26439 -75.4332,-0.23791 l -0.9185,-0.0906 0,0 z"
- id="path33077"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#a9b6c7;fill-opacity:1"
- d="m 1137.4063,773.21875 c -2.0844,0.0218 -4.0688,0.82425 -5.7801,1.97408 -1.7905,1.15879 -3.4062,2.56842 -5.1034,3.85771 -2.0732,1.7046 -4.1307,3.52243 -5.5432,5.83208 -1.4246,2.63374 -2.0143,5.62903 -2.3241,8.58199 -0.3303,2.74853 -0.3282,5.52241 -0.4367,8.28539 -0.01,3.82444 -0.1536,7.64782 -0.1389,11.4717 0.086,5.10181 0.5221,10.19115 0.6389,15.29078 -0.017,1.6471 0.017,3.30988 -0.1419,4.94514 -0.2452,0.76103 -0.5661,2.26102 0.5747,2.38613 1.06,-0.019 1.2351,-1.39535 1.1555,-2.21222 0.2295,-1.68105 1.3251,-3.13394 2.6304,-4.16278 0.8525,-0.49875 1.9731,-0.491 2.8438,-0.0625 1.3276,1.06993 2.3723,2.46316 3.7496,3.48406 1.7879,1.52488 3.518,3.13357 5.2774,4.67984 0.9867,0.7019 2.2703,0.71795 3.4299,0.66919 1.068,-0.16832 2.1353,-0.35487 3.2195,-0.36775 0.8941,0.16109 2.328,-0.70942 1.3861,-1.62159 -0.8042,-0.70337 -1.8875,-0.23431 -2.8337,-0.39781 -1.8427,-0.0672 -3.621,-1.11476 -4.5976,-2.66893 -1.0034,-1.75997 -1.5986,-3.7098 -2.4271,-5.55243 -1.6611,-3.95349 -2.9103,-8.07322 -3.8504,-12.25354 -0.4782,-2.16238 -0.9493,-4.33361 -1.0404,-6.55414 -0.4428,-5.17654 -0.016,-10.36675 0.2179,-15.5419 0.4316,-2.80874 0.9386,-5.71235 2.5236,-8.13079 1.4095,-2.34955 3.2117,-4.47033 5.3351,-6.20561 1.3496,-1.17749 2.79,-2.24805 4.1726,-3.38235 0.6571,-0.78426 0.1282,-2.21425 -0.9301,-2.28177 -0.6603,-0.14562 -1.3384,-0.0725 -2.0074,-0.062 z"
- id="path33079"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#b6c5d8;fill-opacity:1"
- d="m 1135.0625,771.09375 c -3.5,0.58518 -6.8259,1.96099 -9.8715,3.75664 -1.4659,0.9392 -2.8977,1.9504 -4.1015,3.21637 -2.2637,2.18699 -4.0577,4.84626 -5.3102,7.72931 -1.7244,4.45631 -3.1815,9.00923 -4.5462,13.58674 -1.1787,3.81878 -2.2925,7.66048 -3.5864,11.44147 -0.9806,2.31904 -2.2556,4.50522 -3.1467,6.86322 -0.072,0.83217 -0.5208,1.71408 -0.1562,2.53125 0.3439,0.63556 0.6129,-0.72716 0.904,-1.00196 0.7079,-1.17012 1.6787,-2.15857 2.5022,-3.24804 2.0256,-2.4413 4.0925,-4.85803 6.3438,-7.09375 0.8922,-0.67775 1.9311,-1.14621 3,-1.46875 0.9592,-0.27381 2.0457,-0.0942 2.7855,0.6034 0.7982,0.68845 1.0522,1.81659 0.9264,2.82928 -0.069,2.24614 -0.6218,4.43634 -0.9416,6.65146 -0.3771,1.50747 -0.596,3.04826 -0.8953,4.57211 -0.019,0.88489 0.8029,1.89802 1.75,1.65625 1.2051,-0.41761 1.6861,-1.71186 2.0121,-2.83444 1.0809,-3.47552 1.1641,-7.147 1.3117,-10.75426 0.2526,-3.87574 0.4302,-7.76125 0.9007,-11.61815 0.521,-3.65166 1.2465,-7.28074 2.2755,-10.8244 0.5077,-1.47275 1.2852,-2.82251 2.1324,-4.12255 1.0451,-1.54481 2.4259,-2.97532 4.2113,-3.62745 3.7719,-1.53211 7.856,-2.03477 11.7188,-3.28125 0.8561,-0.41385 1.6694,-1.37746 1.3437,-2.375 -0.3658,-1.12201 -1.5732,-1.602 -2.6128,-1.89568 -2.3028,-0.66163 -4.6814,-1.03339 -7.0648,-1.2496 -0.6285,-0.0212 -1.2564,-0.11142 -1.8849,-0.0422 z"
- id="path33081"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#c9cfd7"
- d="m 1093.3186,862.68392 c 2.0397,-6.75845 2.6267,-14.59993 8.2825,-19.57905 6.8665,-6.55449 16.4927,-8.81781 23.9521,-14.46458 3.6447,-4.45932 -2.8105,-9.08083 -3.562,-13.60484 -4.1433,-11.16786 -4.9817,-24.68811 1.4956,-35.15189 5.6846,-8.73332 19.8555,-10.9347 27.194,-3.0481 8.414,8.94249 8.7762,22.65299 5.2735,33.81426 -1.4944,5.581 -4.9984,10.28747 -7.0924,15.6006 2.7618,3.52771 7.1493,5.48724 10.9349,7.7964 6.119,3.22073 13.5834,5.02515 17.4835,11.27477 2.9699,4.63969 4.4219,10.08731 5.8092,15.35231 -1.5017,4.96315 -8.8182,2.91096 -12.8589,3.69351 -22.8034,0.12179 -45.6117,0.15756 -68.4143,-0.11428 -2.3117,-0.50334 -7.5324,0.74503 -8.4977,-1.56911 z"
- id="path33083"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#b6c5d8"
- d="m 1094.235,862.68169 c 2.0564,-7.41778 3.349,-16.08468 10.1767,-20.8097 6.6183,-5.16685 15.1606,-7.20405 21.595,-12.59203 3.5446,-4.88336 -2.4756,-9.88767 -3.3534,-14.75239 -3.474,-10.8555 -4.1294,-23.33186 0.8597,-33.82801 1.7263,-3.59701 5.2395,-6.62494 9.4292,-6.35645 4.1922,-1.15696 8.5272,-4.11292 12.9387,-1.76941 7.4615,3.81566 10.0643,12.7832 10.996,20.5469 1.1638,10.51462 -1.4742,21.3696 -7.4745,30.09882 -3.0592,4.5826 3.8279,7.04871 6.5928,9.43949 4.453,3.31782 9.9277,4.58376 14.7042,7.25683 7.6851,4.50047 10.7441,13.62794 11.7443,22.00374 -2.9167,3.42132 -8.8791,1.6959 -13.0442,2.37973 -23.0139,0.17734 -46.0359,0.29901 -69.0471,-0.12448 -1.4771,-0.46732 -5.7882,0.53078 -6.1174,-1.49304 z"
- id="path33085"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#89929e"
- d="m 1145.4158,831.51882 c -6.511,-0.17414 1.8961,-8.32488 2.1097,-2.13677 0.2551,1.05824 -0.9099,3.45218 -2.1097,2.13677 z m -9.1923,-2.58713 c -5.03,-3.26087 3.8069,-5.55701 3.715,-0.9855 -0.3316,1.64802 -2.6976,2.53253 -3.715,0.9855 z m 8.2796,-8.19213 c 5.4124,-4.28675 4.1865,-12.49507 9.1419,-17.11237 0.2956,5.93898 -0.8154,13.05465 -6.0648,16.64412 -0.9456,0.45813 -2.0369,0.66185 -3.0771,0.46825 z"
- id="path33087"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#b4c3d5"
- d="m 1095.4869,863.63394 c -0.7086,-2.12774 2.227,-4.3804 1.3414,-0.66819 0.1019,0.98814 -0.6521,2.27111 -1.3414,0.66819 z m 37.375,-0.1401 c 1.386,-2.43696 5.5317,0.89636 1.4289,0.91541 -0.4953,-0.004 -1.425,-0.23332 -1.4289,-0.91541 z m 7.6969,-0.45528 c -1.7662,-3.1746 2.2388,-3.26451 1.112,0.0649 -0.3282,2.3234 -0.6929,0.92535 -1.112,-0.0649 z m 26.8031,-0.60687 c -0.1412,-3.37799 -6.3561,-0.78227 -3.1471,-4.41577 3.4614,-3.84128 -0.9126,-6.50536 0.3286,-10.70489 -1.3534,-4.87174 -4.4459,3.58742 -6.3126,-0.95498 -2.2864,-0.76047 -6.1461,-2.25962 -7.8438,-1.85811 1.7929,4.16671 -5.0761,3.88297 -4.657,8.23859 -2.8783,4.77401 -4.2136,-5.23107 0.4167,-4.75641 3.0178,-1.66128 2.6353,-6.07232 -1.1054,-3.24125 -4.1035,2.38594 -8.1014,0.13188 -10.9801,-2.65973 -1.5746,1.027 -7.1905,5.94236 -6.2298,1.16697 3.1085,-2.66186 -0.5867,-8.92294 -4.2926,-8.18935 -5.1067,-0.52325 2.4463,-4.85414 3.5764,-6.66771 1.8593,-4.36472 -3.1729,-7.83742 -3.708,-12.04941 -1.2651,-5.08051 -2.8301,-10.57026 -1.531,-15.77259 2.6465,-1.80932 -6.039,-6.34583 -0.1274,-6.57829 2.9743,2.18718 10.861,-0.73904 8.664,-4.74784 1.4327,-4.1299 6.0259,3.62463 2.1811,5.45085 -2.5974,0.10573 -7.4936,3.34663 -3.6277,5.54395 1.6435,-0.82217 6.4932,-5.71297 6.673,-2.49044 -2.7854,3.31115 -8.671,4.59991 -5.9505,10.09851 -0.147,1.93717 2.2229,5.8417 2.3835,1.69036 -0.2918,-2.60942 -0.2747,-9.86038 3.6482,-6.05741 -1.5505,2.76367 1.6584,4.017 1.4661,0.70751 1.2313,-3.60319 4.1633,-6.90216 1.9615,-10.6292 1.0857,-3.44275 2.4753,-8.92278 -1.1456,-10.9983 -0.2759,-2.38485 4.3956,-5.73004 -0.7238,-6.12506 -5.3095,-0.90828 1.6765,-3.69288 4.0418,-2.6646 4.3254,0.22232 9.1692,1.37034 11.4584,5.44637 6.2849,9.7073 5.6843,22.38166 2.1707,32.98508 -0.9294,4.64278 -5.2222,8.12432 -5.2048,12.92114 1.2085,6.56432 8.0163,9.99242 13.782,11.95844 5.1796,1.02044 10.1383,3.62424 13.0319,8.19359 3.204,4.79647 5.2164,10.49318 5.7367,16.22196 -2.3558,3.8145 -7.9005,3.87439 -11.8952,3.17059 -1.2245,-0.32543 -2.6028,-0.92802 -3.0382,-2.23257 z m -6.0908,-20.1003 c -1.4189,-3.47946 -9.2021,-2.51084 -5.1374,1.1248 1.0491,0.55257 8.1492,1.55777 5.1374,-1.1248 z m -35.4092,-40.45872 c -2.1626,-4.30335 -2.5662,5.59099 0,0 z m -10.7721,57.4647 c 0.9739,-2.58634 6.2446,-4.23216 3.3578,-0.21672 -0.9325,2.57294 -7.0509,4.43368 -3.3578,0.21672 z m 15.2677,1.08726 c -0.4615,-3.123 5.9277,-1.79651 2.3333,0.70108 -0.7844,0.59532 -1.935,0.11193 -2.3333,-0.70108 z m 17.1983,0.36758 c -1.4021,-3.70988 5.6946,-2.0316 1.5001,0.56139 l -0.7246,-0.0276 -0.7755,-0.53379 z m -46.6939,-2.34909 c 0.2511,-3.17228 6.7054,-7.64119 4.5997,-1.5241 -0.3029,1.59959 -3.8831,3.82735 -4.5997,1.5241 z m 56,-0.51143 c 2.5129,-5.65641 2.4066,5.5417 0,0 z m -47.8,-2.7 c -4.0511,-2.74409 2.8618,-11.29262 3.0007,-4.49156 -2.2734,1.19476 -2.9497,4.14273 0.2779,3.98531 0.4491,2.1979 -2.5034,1.86609 -3.2786,0.50625 z m 17.0438,-0.05 c 1.3165,-2.24916 8.5838,-2.15975 3.4328,0.33832 -0.7575,0.55533 -3.9521,1.81288 -3.4328,-0.33832 z m 28.4134,-2.29909 c 1.9889,-3.91758 6.8542,2.62004 1.3117,1.52967 -0.8499,0.0565 -1.9284,-0.52139 -1.3117,-1.52967 z m -56.6572,-0.39189 c 1.6879,-4.90927 2.9969,2.75221 0.079,0.36537 l -0.079,-0.36537 z m 16.6476,-4.24293 c -1.8915,-2.61234 0.8405,-5.75092 1.6884,-1.54504 0.8485,1.72586 -0.7024,5.1602 -1.6884,1.54504 z m 4.5919,-1.82793 c 1.6025,-1.85967 3.6635,-1.43607 5.2605,-2.98816 3.9626,1.46685 -2.6295,3.48646 -3.7286,4.9303 -1.9952,0.50428 -2.9215,-0.26884 -1.5319,-1.94214 z m -9.2395,-3.57149 c 0.5999,-5.93389 4.1759,2.63959 0.6117,2.37949 -0.5227,-0.66971 -0.5818,-1.56896 -0.6117,-2.37949 z m -5.43,0.69664 c -0.366,-3.22691 5.2275,-3.96176 2.5144,-0.12486 -0.5163,1.26584 -1.7962,1.28548 -2.5144,0.12486 z m 16.43,-54.05429 c -0.3067,-2.8402 2.7857,-3.62344 2.3713,-0.3321 1.7775,2.89278 -2.5383,3.01913 -2.3713,0.3321 z m 7,-4.85902 c -0.4203,-5.12456 8.4363,-1.94337 4.3583,0.72111 -1.3692,0.0212 -3.344,0.40232 -4.3583,-0.72111 z m -1,-5.82423 c 0.171,-4.09108 9.3884,-5.68544 7.3598,-0.21811 -2.2194,0.24293 -4.553,-2.11058 -6.7961,0.31894 l -0.4123,0.0536 -0.1514,-0.1544 0,0 z"
- id="path33089"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#b3bcc9"
- d="m 1168.8619,861.63169 c -0.6243,-3.55935 -2.6973,-6.3569 -0.7215,-9.98987 0.1253,-5.45244 -2.7911,-10.65923 -7.0967,-13.89447 -1.2068,-2.85452 5.3278,0.70573 6.9238,1.01004 7.6726,3.41307 13.8636,11.22205 14.0998,19.78329 0.2021,5.97005 -6.5489,6.42322 -10.9269,5.80556 -1.7323,0.15131 -2.5832,-1.0909 -2.2785,-2.71455 z m -32.0895,-20.80784 c -4.434,-1.14416 -6.6424,-4.93813 -9.6183,-8.11599 -5.8032,-0.96373 3.5761,-5.23189 -0.1243,-8.64226 -1.2887,-3.82859 -5.1974,-7.73842 -3.9124,-11.88366 3.5763,0.77406 7.9814,4.56157 11.4304,0.4736 4.5442,-4.37751 7.176,-10.57138 8.2612,-16.71192 0.4026,-6.44762 0.588,-13.17942 -1.3863,-19.39442 -3.6853,-5.04182 5.4099,-3.08901 7.4628,-1.22179 7.1884,5.3533 8.7099,15.22614 8.4974,23.6257 -0.2493,8.4967 -3.1434,16.73146 -7.7275,23.84074 -2.8899,4.70712 3.7802,7.4172 6.1701,10.48571 2.372,1.75978 2.7988,3.59039 -0.4709,3.94333 -4.9323,3.54041 -11.3816,5.84263 -17.44,4.36937 l -0.655,-0.33776 -0.4872,-0.43065 0,0 z"
- id="path33091"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#a9b6c7"
- d="m 1169.677,857.68169 c 0.6954,-5.83229 -1.1934,-11.42869 -3.0624,-16.84619 1.705,-4.06189 7.7076,2.15936 9.0817,4.7283 3.4747,5.23289 5.9898,11.23822 6.7494,17.4968 -2.7491,2.48603 -8.7127,1.53936 -12.2569,0.52734 -1.141,-1.73296 -0.478,-3.96643 -0.5118,-5.90625 z m -35.079,-19.01192 c -4.3537,-1.9881 -8.7378,-7.05736 -6.2671,-11.96771 0.379,-3.87987 -6.1972,-8.74866 -2.6155,-11.649 3.8173,-0.0455 7.9232,-0.57969 10.7008,-3.51648 7.5387,-7.6238 9.3732,-19.29758 8.1101,-29.5788 -0.2934,-2.73658 -3.4831,-10.05061 2.1384,-6.90166 5.5905,2.86145 9.3559,8.5583 9.9536,14.79053 1.4524,11.54814 -0.9993,23.83469 -7.7852,33.40876 -3.2246,5.24149 5.7034,6.58552 5.5499,11.37054 -1.1447,5.117 -7.7589,5.97682 -12.1564,5.8855 -2.6283,-0.12443 -5.2379,-0.7377 -7.6286,-1.84168 z"
- id="path33093"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#a5aeba"
- d="m 1171.8619,856.01273 c 0.1763,-4.74944 -0.356,-9.57132 -2.7594,-13.74195 1.4975,-4.03011 6.8274,2.83782 8.0786,5.41566 2.902,4.84584 4.2902,10.45516 5.3821,15.90906 -3.3515,1.42092 -11.5911,2.28284 -10.6646,-3.67955 -0.043,-1.30058 -0.035,-2.60214 -0.037,-3.90322 z m -32,-17.72887 c -5.8477,-1.14965 -11.4267,-6.22518 -11.1545,-12.52353 -1.5003,-2.03434 -5.7153,-8.53816 -0.064,-7.68024 6.7325,0.44741 11.3131,-5.91275 13.9722,-11.28778 4.5289,-9.55307 5.8263,-20.85993 2.5334,-31.00041 2.1812,-2.95131 6.7947,3.62386 8.5128,5.81939 4.3355,6.99236 3.5563,15.74508 2.3456,23.52395 -1.0453,6.26492 -3.4373,12.23617 -6.8939,17.55368 -4.1164,5.37273 4.8634,7.17375 5.4,11.35344 -3.346,2.78013 -7.8431,4.85802 -12.3007,4.56282 -0.7887,-0.0649 -1.5719,-0.18321 -2.3507,-0.32132 z"
- id="path33095"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#99a5b4"
- d="m 1174.4426,862.18169 c -1.1883,-6.44151 -0.7153,-13.29528 -3.2234,-19.40763 5.2155,1.71368 7.2191,7.68437 8.6149,12.50189 0.4675,3.74753 5.9571,10.77397 -1.5469,9.15113 -1.5971,0.0659 -3.7451,-0.21664 -3.8446,-2.24539 z m -37.0807,-25.70949 c -5.2137,-2.6559 -8.3881,-8.12562 -9.4507,-13.73768 -3.0238,-5.26702 5.3254,-2.26568 7.462,-5.22634 8.4902,-5.8936 12.466,-16.48626 13.5185,-26.43011 1.0826,-4.83991 -1.472,-10.13976 -0.9548,-14.48335 7.0302,4.3261 9.109,13.3759 8.6445,21.14239 -0.4724,9.88319 -4.2133,19.33825 -9.4291,27.6489 0.196,3.60522 8.594,7.29794 2.2185,10.91971 -3.6456,2.02664 -8.2528,1.70657 -12.0089,0.16648 z"
- id="path33097"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#99a5b4;fill-opacity:1"
- d="m 1137.625,771.4375 c -3.2175,0.80995 -6.3589,1.89093 -9.4985,2.95674 -0.9716,0.37142 -1.8529,0.9729 -2.5952,1.69951 -0.8529,0.75372 -1.5183,1.68678 -2.243,2.5579 -1.4336,1.82026 -2.7094,3.75542 -4.0695,5.6296 -0.882,1.49498 -1.701,3.03188 -2.2874,4.66945 -0.773,1.87386 -1.3796,3.81126 -2.0369,5.7276 -1.4886,4.58577 -2.8667,9.20755 -4.1553,13.85304 -0.3808,1.5389 -0.8175,3.06718 -1.1142,4.62491 -0.098,1.32482 0.4277,2.57219 0.8125,3.8125 0.6544,1.89642 1.248,3.81318 1.875,5.71875 0.4387,1.03708 1.5319,1.69185 2.625,1.8125 1.242,-0.0193 2.5208,0.0375 3.7188,-0.34375 1.0206,-0.39402 1.605,-1.36074 1.8656,-2.3781 0.7327,-2.56005 1.0195,-5.21766 1.5005,-7.83083 0.4005,-2.37627 0.7757,-4.75672 1.1651,-7.13482 0.6094,-2.21748 1.288,-4.41783 2.0397,-6.59038 0.7828,-2.02938 1.7157,-3.99664 2.5541,-6.00337 0.89,-1.89943 1.8666,-3.76562 3.0149,-5.52201 1.4077,-2.01133 3.3385,-3.57662 5.3281,-4.9803 1.2399,-0.75485 2.4221,-1.59957 3.6892,-2.3108 1.428,-0.88217 2.9558,-1.58776 4.4678,-2.31189 0.9989,-0.30772 1.9526,-0.81445 2.9948,-0.95052 0.9487,-0.0968 1.933,0.0577 2.8489,-0.26823 0.9246,-0.56794 0.7301,-1.98773 -0.1562,-2.5 -0.8073,-0.63096 -1.7434,-1.0782 -2.6335,-1.5793 -1.6813,-0.84475 -3.4743,-1.44213 -5.3035,-1.87163 -1.3571,-0.28247 -2.7391,-0.47084 -4.1255,-0.51782 l -0.1817,0.0202 -0.1,0.0111 z"
- id="path33099"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#929ca9"
- d="m 1177.6504,862.68169 c -2.1223,-4.15541 -2.6296,-9.16791 -2.1104,-13.77435 2.7363,-0.59646 3.4894,6.19672 4.6159,8.71136 0.5097,2.43464 4.4493,8.54497 -0.8865,6.29893 l -0.882,-0.55645 -0.737,-0.67949 0,0 z m -43.7561,-31 c -2.9459,-2.28349 -7.1894,-8.93795 -1.3629,-10.29495 8.0732,-2.18725 12.6924,-10.20871 15.4879,-17.52164 2.7539,-7.08868 3.0096,-14.78608 2.3457,-22.27209 0.5717,-3.73359 4.2685,3.25102 4.563,4.83879 2.8335,10.0499 1.0854,21.07617 -3.2632,30.43572 -1.4732,3.78479 -7.2463,8.22354 -2.8605,12.027 4.9081,2.55146 1.5708,6.14222 -2.5582,6.40295 -4.4148,1.02741 -9.1521,-0.44638 -12.3518,-3.61578 z"
- id="path33101"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#8a95a3;fill-opacity:1"
- d="m 1144.0768,778.57601 c -2.0799,0.18622 -4.1669,0.39931 -6.1906,0.93582 -1.9627,0.5268 -3.8686,1.26151 -5.6783,2.18771 -1.2785,0.72607 -2.5949,1.40817 -3.7322,2.35094 -1.8707,1.41739 -3.5016,3.11504 -5.0864,4.83803 -0.8029,1.1366 -1.6615,2.24315 -2.3582,3.44834 -1.046,1.93489 -1.9268,3.96033 -2.5571,6.06935 -1.0282,3.17356 -1.896,6.39655 -2.7733,9.61433 -0.7909,2.99079 -1.588,5.98101 -2.3162,8.9875 -0.7253,3.0427 -1.2105,6.14099 -1.4506,9.25973 -0.081,1.12348 -0.2781,2.24516 -0.1383,3.37206 0.063,1.15775 0.1471,2.31618 0.2812,3.46744 0.029,0.43529 0.6411,0.88693 0.8125,0.28125 0.4378,-0.93637 0.9849,-1.88776 2.0312,-2.21875 0.7705,-0.37522 1.6447,-0.58501 2.4947,-0.42232 0.9951,0.20928 2.0235,0.51766 2.8728,1.09107 1.1525,0.76152 2.171,1.75918 2.8259,2.98452 0.6743,0.79355 0.8672,1.92774 1.4941,2.69048 0.5562,0.0517 0.4674,-0.84631 0.609,-1.24468 0.2079,-1.87479 -0.2258,-3.73167 -0.5465,-5.56782 -0.3256,-1.64053 -0.8042,-3.25041 -0.9989,-4.91491 -0.2714,-1.81202 -0.6034,-3.6237 -0.5936,-5.46277 -0.058,-1.99807 -0.1665,-3.99431 -0.1442,-5.99405 -0.035,-1.23626 -10e-4,-2.47036 0.1134,-3.70195 0.2442,-2.90098 0.5633,-5.79741 0.9983,-8.67632 0.6275,-2.95685 1.3389,-5.92442 2.6429,-8.66725 0.6163,-1.36529 1.239,-2.73456 1.9585,-4.04735 0.7208,-1.14986 1.5962,-2.22584 2.737,-2.98238 1.7132,-1.17297 3.5558,-2.14034 5.4483,-2.98937 1.8042,-0.81317 3.6119,-1.62339 5.3383,-2.5949 0.8226,-0.40084 1.8837,-0.6713 2.3005,-1.56976 0.1274,-0.30615 0.04,-0.72575 -0.3942,-0.52399 z"
- id="path33103"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#8a95a3"
- d="m 1178.5691,861.68169 c -1.0134,-1.80767 1.2879,-7.15927 1.2421,-2.50022 0.4241,2.21568 -0.4446,7.79222 -1.2421,2.50022 l 0,0 z m -43.0654,-31 c -2.9868,-1.67058 -7.0066,-6.75545 -1.2627,-7.50408 4.8324,-2.49559 9.8284,-5.69893 12.5216,-10.55778 1.1155,-4.62828 4.1189,-8.61975 4.8415,-13.41654 0.9852,-4.74585 2.5256,-9.7007 1.4529,-14.54866 3.4059,4.0618 2.7268,9.97803 2.4056,14.94875 -0.9957,8.63373 -3.5835,17.28503 -8.7848,24.35117 -2.2871,3.74841 7.1983,8.26089 -0.2126,9.84972 -3.9181,1.46539 -7.9707,-0.66912 -10.9615,-3.12258 z"
- id="path33105"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- inkscape:connector-curvature="0"
- id="path33141"
- d="m 1092.5142,862.96792 c 0.01,-5.30143 1.6059,-10.6248 3.7815,-15.43929 4.3212,-8.8444 14.216,-12.22658 22.338,-16.5859 4.6806,-1.37584 9.0712,-5.52844 4.7426,-10.02046 -6.3949,-12.22902 -8.7729,-27.8219 -2.1065,-40.43961 3.6547,-7.37162 12.389,-12.01132 20.4933,-9.67176 7.2863,1.44287 13.1447,7.15895 15.3403,14.18101 4.5144,13.20733 1.2153,28.11579 -6.5366,39.43979 -1.3297,3.95225 5.8957,5.24121 8.44,7.53545 5.4039,3.00388 11.6059,4.85759 15.8683,9.59775 5.1225,5.30858 9.7926,12.48585 8.6642,20.18284 -2.666,2.93451 -8.4087,1.41927 -12.3014,2.20861 -23.9529,0.89934 -47.9593,1.13829 -71.9091,0.0384 -2.2566,-0.26203 -4.7316,-0.0739 -6.8146,-1.02681 z"
- style="fill:#dce2e8"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- inkscape:connector-curvature="0"
- id="path33143"
- d="m 1092.8619,863.98091 c -0.3001,-10.49202 6.0373,-20.13978 14.6626,-25.69496 5.5197,-4.0779 12.4095,-5.84192 17.8082,-10.06232 2.8497,-4.01312 -2.3724,-8.04948 -3.3454,-11.96125 -5.1733,-11.94737 -5.914,-27.08139 2.2563,-37.90341 5.8941,-8.20878 18.8524,-9.23957 26.2071,-2.50691 7.922,7.8665 8.9959,20.23178 7.0788,30.70563 -1.0774,6.52092 -4.2598,12.37274 -7.8005,17.84376 -0.6394,4.72644 5.997,6.29571 9.1566,8.71794 5.6707,3.14875 12.427,4.70876 16.6239,10.05061 4.552,5.13638 7.7383,11.97169 7.2645,18.94209 -3.4288,3.13676 -9.1732,1.57453 -13.5604,2.19728 -25.1428,0.17847 -50.294,0.26439 -75.4332,-0.23791 l -0.9185,-0.0906 0,0 z"
- style="fill:#d4dbe2"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- inkscape:connector-curvature="0"
- id="path33145"
- d="m 1137.4063,773.21875 c -2.0844,0.0218 -4.0688,0.82425 -5.7801,1.97408 -1.7905,1.15879 -3.4062,2.56842 -5.1034,3.85771 -2.0732,1.7046 -4.1307,3.52243 -5.5432,5.83208 -1.4246,2.63374 -2.0143,5.62903 -2.3241,8.58199 -0.3303,2.74853 -0.3282,5.52241 -0.4367,8.28539 -0.01,3.82444 -0.1536,7.64782 -0.1389,11.4717 0.086,5.10181 0.5221,10.19115 0.6389,15.29078 -0.017,1.6471 0.017,3.30988 -0.1419,4.94514 -0.2452,0.76103 -0.5661,2.26102 0.5747,2.38613 1.06,-0.019 1.2351,-1.39535 1.1555,-2.21222 0.2295,-1.68105 1.3251,-3.13394 2.6304,-4.16278 0.8525,-0.49875 1.9731,-0.491 2.8438,-0.0625 1.3276,1.06993 2.3723,2.46316 3.7496,3.48406 1.7879,1.52488 3.518,3.13357 5.2774,4.67984 0.9867,0.7019 2.2703,0.71795 3.4299,0.66919 1.068,-0.16832 2.1353,-0.35487 3.2195,-0.36775 0.8941,0.16109 2.328,-0.70942 1.3861,-1.62159 -0.8042,-0.70337 -1.8875,-0.23431 -2.8337,-0.39781 -1.8427,-0.0672 -3.621,-1.11476 -4.5976,-2.66893 -1.0034,-1.75997 -1.5986,-3.7098 -2.4271,-5.55243 -1.6611,-3.95349 -2.9103,-8.07322 -3.8504,-12.25354 -0.4782,-2.16238 -0.9493,-4.33361 -1.0404,-6.55414 -0.4428,-5.17654 -0.016,-10.36675 0.2179,-15.5419 0.4316,-2.80874 0.9386,-5.71235 2.5236,-8.13079 1.4095,-2.34955 3.2117,-4.47033 5.3351,-6.20561 1.3496,-1.17749 2.79,-2.24805 4.1726,-3.38235 0.6571,-0.78426 0.1282,-2.21425 -0.9301,-2.28177 -0.6603,-0.14562 -1.3384,-0.0725 -2.0074,-0.062 z"
- style="fill:#a9b6c7;fill-opacity:1"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- inkscape:connector-curvature="0"
- id="path33147"
- d="m 1135.0625,771.09375 c -3.5,0.58518 -6.8259,1.96099 -9.8715,3.75664 -1.4659,0.9392 -2.8977,1.9504 -4.1015,3.21637 -2.2637,2.18699 -4.0577,4.84626 -5.3102,7.72931 -1.7244,4.45631 -3.1815,9.00923 -4.5462,13.58674 -1.1787,3.81878 -2.2925,7.66048 -3.5864,11.44147 -0.9806,2.31904 -2.2556,4.50522 -3.1467,6.86322 -0.072,0.83217 -0.5208,1.71408 -0.1562,2.53125 0.3439,0.63556 0.6129,-0.72716 0.904,-1.00196 0.7079,-1.17012 1.6787,-2.15857 2.5022,-3.24804 2.0256,-2.4413 4.0925,-4.85803 6.3438,-7.09375 0.8922,-0.67775 1.9311,-1.14621 3,-1.46875 0.9592,-0.27381 2.0457,-0.0942 2.7855,0.6034 0.7982,0.68845 1.0522,1.81659 0.9264,2.82928 -0.069,2.24614 -0.6218,4.43634 -0.9416,6.65146 -0.3771,1.50747 -0.596,3.04826 -0.8953,4.57211 -0.019,0.88489 0.8029,1.89802 1.75,1.65625 1.2051,-0.41761 1.6861,-1.71186 2.0121,-2.83444 1.0809,-3.47552 1.1641,-7.147 1.3117,-10.75426 0.2526,-3.87574 0.4302,-7.76125 0.9007,-11.61815 0.521,-3.65166 1.2465,-7.28074 2.2755,-10.8244 0.5077,-1.47275 1.2852,-2.82251 2.1324,-4.12255 1.0451,-1.54481 2.4259,-2.97532 4.2113,-3.62745 3.7719,-1.53211 7.856,-2.03477 11.7188,-3.28125 0.8561,-0.41385 1.6694,-1.37746 1.3437,-2.375 -0.3658,-1.12201 -1.5732,-1.602 -2.6128,-1.89568 -2.3028,-0.66163 -4.6814,-1.03339 -7.0648,-1.2496 -0.6285,-0.0212 -1.2564,-0.11142 -1.8849,-0.0422 z"
- style="fill:#8a95a3;fill-opacity:1"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- inkscape:connector-curvature="0"
- id="path33149"
- d="m 1093.3186,862.68392 c 2.0397,-6.75845 2.6267,-14.59993 8.2825,-19.57905 6.8665,-6.55449 16.4927,-8.81781 23.9521,-14.46458 3.6447,-4.45932 -2.8105,-9.08083 -3.562,-13.60484 -4.1433,-11.16786 -4.9817,-24.68811 1.4956,-35.15189 5.6846,-8.73332 19.8555,-10.9347 27.194,-3.0481 8.414,8.94249 8.7762,22.65299 5.2735,33.81426 -1.4944,5.581 -4.9984,10.28747 -7.0924,15.6006 2.7618,3.52771 7.1493,5.48724 10.9349,7.7964 6.119,3.22073 13.5834,5.02515 17.4835,11.27477 2.9699,4.63969 4.4219,10.08731 5.8092,15.35231 -1.5017,4.96315 -8.8182,2.91096 -12.8589,3.69351 -22.8034,0.12179 -45.6117,0.15756 -68.4143,-0.11428 -2.3117,-0.50334 -7.5324,0.74503 -8.4977,-1.56911 z"
- style="fill:#c9cfd7"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- inkscape:connector-curvature="0"
- id="path33151"
- d="m 1094.235,862.68169 c 2.0564,-7.41778 3.349,-16.08468 10.1767,-20.8097 6.6183,-5.16685 15.1606,-7.20405 21.595,-12.59203 3.5446,-4.88336 -2.4756,-9.88767 -3.3534,-14.75239 -3.474,-10.8555 -4.1294,-23.33186 0.8597,-33.82801 1.7263,-3.59701 5.2395,-6.62494 9.4292,-6.35645 4.1922,-1.15696 8.5272,-4.11292 12.9387,-1.76941 7.4615,3.81566 10.0643,12.7832 10.996,20.5469 1.1638,10.51462 -1.4742,21.3696 -7.4745,30.09882 -3.0592,4.5826 3.8279,7.04871 6.5928,9.43949 4.453,3.31782 9.9277,4.58376 14.7042,7.25683 7.6851,4.50047 10.7441,13.62794 11.7443,22.00374 -2.9167,3.42132 -8.8791,1.6959 -13.0442,2.37973 -23.0139,0.17734 -46.0359,0.29901 -69.0471,-0.12448 -1.4771,-0.46732 -5.7882,0.53078 -6.1174,-1.49304 z"
- style="fill:#b6c5d8"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- inkscape:connector-curvature="0"
- id="path33153"
- d="m 1145.4158,831.51882 c -6.511,-0.17414 1.8961,-8.32488 2.1097,-2.13677 0.2551,1.05824 -0.9099,3.45218 -2.1097,2.13677 z m -9.1923,-2.58713 c -5.03,-3.26087 3.8069,-5.55701 3.715,-0.9855 -0.3316,1.64802 -2.6976,2.53253 -3.715,0.9855 z m 8.2796,-8.19213 c 5.4124,-4.28675 4.1865,-12.49507 9.1419,-17.11237 0.2956,5.93898 -0.8154,13.05465 -6.0648,16.64412 -0.9456,0.45813 -2.0369,0.66185 -3.0771,0.46825 z"
- style="fill:#89929e"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- inkscape:connector-curvature="0"
- id="path33155"
- d="m 1095.4869,863.63394 c -0.7086,-2.12774 2.227,-4.3804 1.3414,-0.66819 0.1019,0.98814 -0.6521,2.27111 -1.3414,0.66819 z m 37.375,-0.1401 c 1.386,-2.43696 5.5317,0.89636 1.4289,0.91541 -0.4953,-0.004 -1.425,-0.23332 -1.4289,-0.91541 z m 7.6969,-0.45528 c -1.7662,-3.1746 2.2388,-3.26451 1.112,0.0649 -0.3282,2.3234 -0.6929,0.92535 -1.112,-0.0649 z m 26.8031,-0.60687 c -0.1412,-3.37799 -6.3561,-0.78227 -3.1471,-4.41577 3.4614,-3.84128 -0.9126,-6.50536 0.3286,-10.70489 -1.3534,-4.87174 -4.4459,3.58742 -6.3126,-0.95498 -2.2864,-0.76047 -6.1461,-2.25962 -7.8438,-1.85811 1.7929,4.16671 -5.0761,3.88297 -4.657,8.23859 -2.8783,4.77401 -4.2136,-5.23107 0.4167,-4.75641 3.0178,-1.66128 2.6353,-6.07232 -1.1054,-3.24125 -4.1035,2.38594 -8.1014,0.13188 -10.9801,-2.65973 -1.5746,1.027 -7.1905,5.94236 -6.2298,1.16697 3.1085,-2.66186 -0.5867,-8.92294 -4.2926,-8.18935 -5.1067,-0.52325 2.4463,-4.85414 3.5764,-6.66771 1.8593,-4.36472 -3.1729,-7.83742 -3.708,-12.04941 -1.2651,-5.08051 -2.8301,-10.57026 -1.531,-15.77259 2.6465,-1.80932 -6.039,-6.34583 -0.1274,-6.57829 2.9743,2.18718 10.861,-0.73904 8.664,-4.74784 1.4327,-4.1299 6.0259,3.62463 2.1811,5.45085 -2.5974,0.10573 -7.4936,3.34663 -3.6277,5.54395 1.6435,-0.82217 6.4932,-5.71297 6.673,-2.49044 -2.7854,3.31115 -8.671,4.59991 -5.9505,10.09851 -0.147,1.93717 2.2229,5.8417 2.3835,1.69036 -0.2918,-2.60942 -0.2747,-9.86038 3.6482,-6.05741 -1.5505,2.76367 1.6584,4.017 1.4661,0.70751 1.2313,-3.60319 4.1633,-6.90216 1.9615,-10.6292 1.0857,-3.44275 2.4753,-8.92278 -1.1456,-10.9983 -0.2759,-2.38485 4.3956,-5.73004 -0.7238,-6.12506 -5.3095,-0.90828 1.6765,-3.69288 4.0418,-2.6646 4.3254,0.22232 9.1692,1.37034 11.4584,5.44637 6.2849,9.7073 5.6843,22.38166 2.1707,32.98508 -0.9294,4.64278 -5.2222,8.12432 -5.2048,12.92114 1.2085,6.56432 8.0163,9.99242 13.782,11.95844 5.1796,1.02044 10.1383,3.62424 13.0319,8.19359 3.204,4.79647 5.2164,10.49318 5.7367,16.22196 -2.3558,3.8145 -7.9005,3.87439 -11.8952,3.17059 -1.2245,-0.32543 -2.6028,-0.92802 -3.0382,-2.23257 z m -6.0908,-20.1003 c -1.4189,-3.47946 -9.2021,-2.51084 -5.1374,1.1248 1.0491,0.55257 8.1492,1.55777 5.1374,-1.1248 z m -35.4092,-40.45872 c -2.1626,-4.30335 -2.5662,5.59099 0,0 z m -10.7721,57.4647 c 0.9739,-2.58634 6.2446,-4.23216 3.3578,-0.21672 -0.9325,2.57294 -7.0509,4.43368 -3.3578,0.21672 z m 15.2677,1.08726 c -0.4615,-3.123 5.9277,-1.79651 2.3333,0.70108 -0.7844,0.59532 -1.935,0.11193 -2.3333,-0.70108 z m 17.1983,0.36758 c -1.4021,-3.70988 5.6946,-2.0316 1.5001,0.56139 l -0.7246,-0.0276 -0.7755,-0.53379 z m -46.6939,-2.34909 c 0.2511,-3.17228 6.7054,-7.64119 4.5997,-1.5241 -0.3029,1.59959 -3.8831,3.82735 -4.5997,1.5241 z m 56,-0.51143 c 2.5129,-5.65641 2.4066,5.5417 0,0 z m -47.8,-2.7 c -4.0511,-2.74409 2.8618,-11.29262 3.0007,-4.49156 -2.2734,1.19476 -2.9497,4.14273 0.2779,3.98531 0.4491,2.1979 -2.5034,1.86609 -3.2786,0.50625 z m 17.0438,-0.05 c 1.3165,-2.24916 8.5838,-2.15975 3.4328,0.33832 -0.7575,0.55533 -3.9521,1.81288 -3.4328,-0.33832 z m 28.4134,-2.29909 c 1.9889,-3.91758 6.8542,2.62004 1.3117,1.52967 -0.8499,0.0565 -1.9284,-0.52139 -1.3117,-1.52967 z m -56.6572,-0.39189 c 1.6879,-4.90927 2.9969,2.75221 0.079,0.36537 l -0.079,-0.36537 z m 16.6476,-4.24293 c -1.8915,-2.61234 0.8405,-5.75092 1.6884,-1.54504 0.8485,1.72586 -0.7024,5.1602 -1.6884,1.54504 z m 4.5919,-1.82793 c 1.6025,-1.85967 3.6635,-1.43607 5.2605,-2.98816 3.9626,1.46685 -2.6295,3.48646 -3.7286,4.9303 -1.9952,0.50428 -2.9215,-0.26884 -1.5319,-1.94214 z m -9.2395,-3.57149 c 0.5999,-5.93389 4.1759,2.63959 0.6117,2.37949 -0.5227,-0.66971 -0.5818,-1.56896 -0.6117,-2.37949 z m -5.43,0.69664 c -0.366,-3.22691 5.2275,-3.96176 2.5144,-0.12486 -0.5163,1.26584 -1.7962,1.28548 -2.5144,0.12486 z m 16.43,-54.05429 c -0.3067,-2.8402 2.7857,-3.62344 2.3713,-0.3321 1.7775,2.89278 -2.5383,3.01913 -2.3713,0.3321 z m 7,-4.85902 c -0.4203,-5.12456 8.4363,-1.94337 4.3583,0.72111 -1.3692,0.0212 -3.344,0.40232 -4.3583,-0.72111 z m -1,-5.82423 c 0.171,-4.09108 9.3884,-5.68544 7.3598,-0.21811 -2.2194,0.24293 -4.553,-2.11058 -6.7961,0.31894 l -0.4123,0.0536 -0.1514,-0.1544 0,0 z"
- style="fill:#b4c3d5"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- inkscape:connector-curvature="0"
- id="path33157"
- d="m 1168.8619,861.63169 c -0.6243,-3.55935 -2.6973,-6.3569 -0.7215,-9.98987 0.1253,-5.45244 -2.7911,-10.65923 -7.0967,-13.89447 -1.2068,-2.85452 5.3278,0.70573 6.9238,1.01004 7.6726,3.41307 13.8636,11.22205 14.0998,19.78329 0.2021,5.97005 -6.5489,6.42322 -10.9269,5.80556 -1.7323,0.15131 -2.5832,-1.0909 -2.2785,-2.71455 z m -32.0895,-20.80784 c -4.434,-1.14416 -6.6424,-4.93813 -9.6183,-8.11599 -5.8032,-0.96373 3.5761,-5.23189 -0.1243,-8.64226 -1.2887,-3.82859 -5.1974,-7.73842 -3.9124,-11.88366 3.5763,0.77406 7.9814,4.56157 11.4304,0.4736 4.5442,-4.37751 7.176,-10.57138 8.2612,-16.71192 0.4026,-6.44762 0.588,-13.17942 -1.3863,-19.39442 -3.6853,-5.04182 5.4099,-3.08901 7.4628,-1.22179 7.1884,5.3533 8.7099,15.22614 8.4974,23.6257 -0.2493,8.4967 -3.1434,16.73146 -7.7275,23.84074 -2.8899,4.70712 3.7802,7.4172 6.1701,10.48571 2.372,1.75978 2.7988,3.59039 -0.4709,3.94333 -4.9323,3.54041 -11.3816,5.84263 -17.44,4.36937 l -0.655,-0.33776 -0.4872,-0.43065 0,0 z"
- style="fill:#b3bcc9"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- inkscape:connector-curvature="0"
- id="path33159"
- d="m 1169.677,857.68169 c 0.6954,-5.83229 -1.1934,-11.42869 -3.0624,-16.84619 1.705,-4.06189 7.7076,2.15936 9.0817,4.7283 3.4747,5.23289 5.9898,11.23822 6.7494,17.4968 -2.7491,2.48603 -8.7127,1.53936 -12.2569,0.52734 -1.141,-1.73296 -0.478,-3.96643 -0.5118,-5.90625 z m -35.079,-19.01192 c -4.3537,-1.9881 -8.7378,-7.05736 -6.2671,-11.96771 0.379,-3.87987 -6.1972,-8.74866 -2.6155,-11.649 3.8173,-0.0455 7.9232,-0.57969 10.7008,-3.51648 7.5387,-7.6238 9.3732,-19.29758 8.1101,-29.5788 -0.2934,-2.73658 -3.4831,-10.05061 2.1384,-6.90166 5.5905,2.86145 9.3559,8.5583 9.9536,14.79053 1.4524,11.54814 -0.9993,23.83469 -7.7852,33.40876 -3.2246,5.24149 5.7034,6.58552 5.5499,11.37054 -1.1447,5.117 -7.7589,5.97682 -12.1564,5.8855 -2.6283,-0.12443 -5.2379,-0.7377 -7.6286,-1.84168 z"
- style="fill:#a9b6c7"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- inkscape:connector-curvature="0"
- id="path33161"
- d="m 1171.8619,856.01273 c 0.1763,-4.74944 -0.356,-9.57132 -2.7594,-13.74195 1.4975,-4.03011 6.8274,2.83782 8.0786,5.41566 2.902,4.84584 4.2902,10.45516 5.3821,15.90906 -3.3515,1.42092 -11.5911,2.28284 -10.6646,-3.67955 -0.043,-1.30058 -0.035,-2.60214 -0.037,-3.90322 z m -32,-17.72887 c -5.8477,-1.14965 -11.4267,-6.22518 -11.1545,-12.52353 -1.5003,-2.03434 -5.7153,-8.53816 -0.064,-7.68024 6.7325,0.44741 11.3131,-5.91275 13.9722,-11.28778 4.5289,-9.55307 5.8263,-20.85993 2.5334,-31.00041 2.1812,-2.95131 6.7947,3.62386 8.5128,5.81939 4.3355,6.99236 3.5563,15.74508 2.3456,23.52395 -1.0453,6.26492 -3.4373,12.23617 -6.8939,17.55368 -4.1164,5.37273 4.8634,7.17375 5.4,11.35344 -3.346,2.78013 -7.8431,4.85802 -12.3007,4.56282 -0.7887,-0.0649 -1.5719,-0.18321 -2.3507,-0.32132 z"
- style="fill:#a5aeba"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- inkscape:connector-curvature="0"
- id="path33163"
- d="m 1174.4426,862.18169 c -1.1883,-6.44151 -0.7153,-13.29528 -3.2234,-19.40763 5.2155,1.71368 7.2191,7.68437 8.6149,12.50189 0.4675,3.74753 5.9571,10.77397 -1.5469,9.15113 -1.5971,0.0659 -3.7451,-0.21664 -3.8446,-2.24539 z m -37.0807,-25.70949 c -5.2137,-2.6559 -8.3881,-8.12562 -9.4507,-13.73768 -3.0238,-5.26702 5.3254,-2.26568 7.462,-5.22634 8.4902,-5.8936 12.466,-16.48626 13.5185,-26.43011 1.0826,-4.83991 -1.472,-10.13976 -0.9548,-14.48335 7.0302,4.3261 9.109,13.3759 8.6445,21.14239 -0.4724,9.88319 -4.2133,19.33825 -9.4291,27.6489 0.196,3.60522 8.594,7.29794 2.2185,10.91971 -3.6456,2.02664 -8.2528,1.70657 -12.0089,0.16648 z"
- style="fill:#99a5b4"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- style="fill:#a5aeba;fill-opacity:1"
- d="m 1137.625,771.4375 c -3.6671,1.06383 -7.4523,1.96161 -10.8672,3.68958 -3.3601,2.52275 -5.3983,6.30741 -7.8225,9.64449 -3.2743,5.92464 -4.7689,12.59418 -6.8342,18.98785 -0.8946,3.19887 -1.9543,6.39515 -2.4616,9.67244 0.274,3.22935 1.9063,6.12977 2.634,9.24893 1.556,2.56144 6.3235,2.61939 7.8721,0.001 1.1858,-2.35978 1.0134,-5.10166 1.7006,-7.61029 0.7858,-5.21212 1.5444,-10.48577 3.6263,-15.37326 1.7541,-4.33647 3.4935,-8.8399 6.5285,-12.46053 3.3879,-3.5886 7.8318,-5.96537 12.2205,-8.10315 1.8391,-1.62624 5.7259,0.0661 6.4438,-2.51986 -1.0379,-2.43936 -3.9525,-3.05083 -6.1812,-3.99677 -2.2038,-0.75251 -4.5258,-1.19495 -6.8591,-1.1805 z"
- id="path33165"
- inkscape:connector-curvature="0"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- inkscape:connector-curvature="0"
- id="path33167"
- d="m 1177.6504,862.68169 c -2.1223,-4.15541 -2.6296,-9.16791 -2.1104,-13.77435 2.7363,-0.59646 3.4894,6.19672 4.6159,8.71136 0.5097,2.43464 4.4493,8.54497 -0.8865,6.29893 l -0.882,-0.55645 -0.737,-0.67949 0,0 z m -43.7561,-31 c -2.9459,-2.28349 -7.1894,-8.93795 -1.3629,-10.29495 8.0732,-2.18725 12.6924,-10.20871 15.4879,-17.52164 2.7539,-7.08868 3.0096,-14.78608 2.3457,-22.27209 0.5717,-3.73359 4.2685,3.25102 4.563,4.83879 2.8335,10.0499 1.0854,21.07617 -3.2632,30.43572 -1.4732,3.78479 -7.2463,8.22354 -2.8605,12.027 4.9081,2.55146 1.5708,6.14222 -2.5582,6.40295 -4.4148,1.02741 -9.1521,-0.44638 -12.3518,-3.61578 z"
- style="fill:#929ca9"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- inkscape:connector-curvature="0"
- id="path33169"
- d="m 1145.9405,777.3343 c -2.0799,0.18884 -4.1669,0.40492 -6.1906,0.94896 -1.9627,0.5342 -3.8686,1.27922 -5.6783,2.21843 -1.2785,0.73626 -2.5949,1.42794 -3.7322,2.38395 -1.8707,1.43729 -3.5016,3.15878 -5.0864,4.90596 -0.8029,1.15256 -1.6615,2.27465 -2.3582,3.49676 -1.046,1.96206 -1.9268,4.01594 -2.5571,6.15457 -1.0282,3.21812 -1.896,6.48637 -2.7733,9.74933 -0.7909,3.03279 -1.588,6.06499 -2.3162,9.1137 -0.7253,3.08542 -1.2105,6.22721 -1.4506,9.38975 -0.081,1.13925 -0.2781,2.27668 -0.1383,3.4194 0.063,1.17401 0.1471,2.34871 0.2812,3.51613 0.029,0.4414 0.6411,0.89938 0.8125,0.2852 0.4378,-0.94952 0.9849,-1.91427 2.0312,-2.2499 0.7705,-0.38049 1.6447,-0.59323 2.4947,-0.42825 0.9951,0.21221 2.0235,0.52492 2.8728,1.10639 1.1525,0.77221 2.171,1.78388 2.8259,3.02642 0.6743,0.80469 0.8672,1.95481 1.4941,2.72826 0.5562,0.0524 0.4674,-0.85819 0.609,-1.26216 0.2079,-1.90111 -0.2258,-3.78406 -0.5465,-5.646 -0.3256,-1.66356 -0.8042,-3.29605 -0.9989,-4.98392 -0.2714,-1.83746 -0.6034,-3.67458 -0.5936,-5.53947 -0.058,-2.02613 -0.1665,-4.0504 -0.1442,-6.07822 -0.035,-1.25362 -10e-4,-2.50504 0.1134,-3.75393 0.2442,-2.94171 0.5633,-5.87881 0.9983,-8.79814 0.6275,-2.99837 1.3389,-6.00761 2.6429,-8.78895 0.6163,-1.38446 1.239,-2.77296 1.9585,-4.10418 0.7208,-1.16601 1.5962,-2.2571 2.737,-3.02426 1.7132,-1.18944 3.5558,-2.17039 5.4483,-3.03134 1.8042,-0.82459 3.6119,-1.64619 5.3383,-2.63134 0.8226,-0.40647 1.8837,-0.68073 2.3005,-1.5918 0.1274,-0.31045 0.04,-0.73594 -0.3942,-0.53135 z"
- style="fill:#929daa;fill-opacity:1"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
- <path
- inkscape:connector-curvature="0"
- id="path33171"
- d="m 1178.5691,861.68169 c -1.0134,-1.80767 1.2879,-7.15927 1.2421,-2.50022 0.4241,2.21568 -0.4446,7.79222 -1.2421,2.50022 l 0,0 z m -43.0654,-31 c -2.9868,-1.67058 -7.0066,-6.75545 -1.2627,-7.50408 4.8324,-2.49559 9.8284,-5.69893 12.5216,-10.55778 1.1155,-4.62828 4.1189,-8.61975 4.8415,-13.41654 0.9852,-4.74585 2.5256,-9.7007 1.4529,-14.54866 3.4059,4.0618 2.7268,9.97803 2.4056,14.94875 -0.9957,8.63373 -3.5835,17.28503 -8.7848,24.35117 -2.2871,3.74841 7.1983,8.26089 -0.2126,9.84972 -3.9181,1.46539 -7.9707,-0.66912 -10.9615,-3.12258 z"
- style="fill:#8a95a3"
- inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
- inkscape:export-xdpi="90"
- inkscape:export-ydpi="90" />
+ <g
+ id="g5131"
+ transform="translate(82,21)">
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33075"
+ d="m 1092.5142,862.96792 c 0.01,-5.30143 1.6059,-10.6248 3.7815,-15.43929 4.3212,-8.8444 14.216,-12.22658 22.338,-16.5859 4.6806,-1.37584 9.0712,-5.52844 4.7426,-10.02046 -6.3949,-12.22902 -8.7729,-27.8219 -2.1065,-40.43961 3.6547,-7.37162 12.389,-12.01132 20.4933,-9.67176 7.2863,1.44287 13.1447,7.15895 15.3403,14.18101 4.5144,13.20733 1.2153,28.11579 -6.5366,39.43979 -1.3297,3.95225 5.8957,5.24121 8.44,7.53545 5.4039,3.00388 11.6059,4.85759 15.8683,9.59775 5.1225,5.30858 9.7926,12.48585 8.6642,20.18284 -2.666,2.93451 -8.4087,1.41927 -12.3014,2.20861 -23.9529,0.89934 -47.9593,1.13829 -71.9091,0.0384 -2.2566,-0.26203 -4.7316,-0.0739 -6.8146,-1.02681 z"
+ style="fill:#dce2e8" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33077"
+ d="m 1092.8619,863.98091 c -0.3001,-10.49202 6.0373,-20.13978 14.6626,-25.69496 5.5197,-4.0779 12.4095,-5.84192 17.8082,-10.06232 2.8497,-4.01312 -2.3724,-8.04948 -3.3454,-11.96125 -5.1733,-11.94737 -5.914,-27.08139 2.2563,-37.90341 5.8941,-8.20878 18.8524,-9.23957 26.2071,-2.50691 7.922,7.8665 8.9959,20.23178 7.0788,30.70563 -1.0774,6.52092 -4.2598,12.37274 -7.8005,17.84376 -0.6394,4.72644 5.997,6.29571 9.1566,8.71794 5.6707,3.14875 12.427,4.70876 16.6239,10.05061 4.552,5.13638 7.7383,11.97169 7.2645,18.94209 -3.4288,3.13676 -9.1732,1.57453 -13.5604,2.19728 -25.1428,0.17847 -50.294,0.26439 -75.4332,-0.23791 l -0.9185,-0.0906 0,0 z"
+ style="fill:#d4dbe2" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33079"
+ d="m 1137.4063,773.21875 c -2.0844,0.0218 -4.0688,0.82425 -5.7801,1.97408 -1.7905,1.15879 -3.4062,2.56842 -5.1034,3.85771 -2.0732,1.7046 -4.1307,3.52243 -5.5432,5.83208 -1.4246,2.63374 -2.0143,5.62903 -2.3241,8.58199 -0.3303,2.74853 -0.3282,5.52241 -0.4367,8.28539 -0.01,3.82444 -0.1536,7.64782 -0.1389,11.4717 0.086,5.10181 0.5221,10.19115 0.6389,15.29078 -0.017,1.6471 0.017,3.30988 -0.1419,4.94514 -0.2452,0.76103 -0.5661,2.26102 0.5747,2.38613 1.06,-0.019 1.2351,-1.39535 1.1555,-2.21222 0.2295,-1.68105 1.3251,-3.13394 2.6304,-4.16278 0.8525,-0.49875 1.9731,-0.491 2.8438,-0.0625 1.3276,1.06993 2.3723,2.46316 3.7496,3.48406 1.7879,1.52488 3.518,3.13357 5.2774,4.67984 0.9867,0.7019 2.2703,0.71795 3.4299,0.66919 1.068,-0.16832 2.1353,-0.35487 3.2195,-0.36775 0.8941,0.16109 2.328,-0.70942 1.3861,-1.62159 -0.8042,-0.70337 -1.8875,-0.23431 -2.8337,-0.39781 -1.8427,-0.0672 -3.621,-1.11476 -4.5976,-2.66893 -1.0034,-1.75997 -1.5986,-3.7098 -2.4271,-5.55243 -1.6611,-3.95349 -2.9103,-8.07322 -3.8504,-12.25354 -0.4782,-2.16238 -0.9493,-4.33361 -1.0404,-6.55414 -0.4428,-5.17654 -0.016,-10.36675 0.2179,-15.5419 0.4316,-2.80874 0.9386,-5.71235 2.5236,-8.13079 1.4095,-2.34955 3.2117,-4.47033 5.3351,-6.20561 1.3496,-1.17749 2.79,-2.24805 4.1726,-3.38235 0.6571,-0.78426 0.1282,-2.21425 -0.9301,-2.28177 -0.6603,-0.14562 -1.3384,-0.0725 -2.0074,-0.062 z"
+ style="fill:#a9b6c7;fill-opacity:1" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33081"
+ d="m 1135.0625,771.09375 c -3.5,0.58518 -6.8259,1.96099 -9.8715,3.75664 -1.4659,0.9392 -2.8977,1.9504 -4.1015,3.21637 -2.2637,2.18699 -4.0577,4.84626 -5.3102,7.72931 -1.7244,4.45631 -3.1815,9.00923 -4.5462,13.58674 -1.1787,3.81878 -2.2925,7.66048 -3.5864,11.44147 -0.9806,2.31904 -2.2556,4.50522 -3.1467,6.86322 -0.072,0.83217 -0.5208,1.71408 -0.1562,2.53125 0.3439,0.63556 0.6129,-0.72716 0.904,-1.00196 0.7079,-1.17012 1.6787,-2.15857 2.5022,-3.24804 2.0256,-2.4413 4.0925,-4.85803 6.3438,-7.09375 0.8922,-0.67775 1.9311,-1.14621 3,-1.46875 0.9592,-0.27381 2.0457,-0.0942 2.7855,0.6034 0.7982,0.68845 1.0522,1.81659 0.9264,2.82928 -0.069,2.24614 -0.6218,4.43634 -0.9416,6.65146 -0.3771,1.50747 -0.596,3.04826 -0.8953,4.57211 -0.019,0.88489 0.8029,1.89802 1.75,1.65625 1.2051,-0.41761 1.6861,-1.71186 2.0121,-2.83444 1.0809,-3.47552 1.1641,-7.147 1.3117,-10.75426 0.2526,-3.87574 0.4302,-7.76125 0.9007,-11.61815 0.521,-3.65166 1.2465,-7.28074 2.2755,-10.8244 0.5077,-1.47275 1.2852,-2.82251 2.1324,-4.12255 1.0451,-1.54481 2.4259,-2.97532 4.2113,-3.62745 3.7719,-1.53211 7.856,-2.03477 11.7188,-3.28125 0.8561,-0.41385 1.6694,-1.37746 1.3437,-2.375 -0.3658,-1.12201 -1.5732,-1.602 -2.6128,-1.89568 -2.3028,-0.66163 -4.6814,-1.03339 -7.0648,-1.2496 -0.6285,-0.0212 -1.2564,-0.11142 -1.8849,-0.0422 z"
+ style="fill:#b6c5d8;fill-opacity:1" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33083"
+ d="m 1093.3186,862.68392 c 2.0397,-6.75845 2.6267,-14.59993 8.2825,-19.57905 6.8665,-6.55449 16.4927,-8.81781 23.9521,-14.46458 3.6447,-4.45932 -2.8105,-9.08083 -3.562,-13.60484 -4.1433,-11.16786 -4.9817,-24.68811 1.4956,-35.15189 5.6846,-8.73332 19.8555,-10.9347 27.194,-3.0481 8.414,8.94249 8.7762,22.65299 5.2735,33.81426 -1.4944,5.581 -4.9984,10.28747 -7.0924,15.6006 2.7618,3.52771 7.1493,5.48724 10.9349,7.7964 6.119,3.22073 13.5834,5.02515 17.4835,11.27477 2.9699,4.63969 4.4219,10.08731 5.8092,15.35231 -1.5017,4.96315 -8.8182,2.91096 -12.8589,3.69351 -22.8034,0.12179 -45.6117,0.15756 -68.4143,-0.11428 -2.3117,-0.50334 -7.5324,0.74503 -8.4977,-1.56911 z"
+ style="fill:#c9cfd7" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33085"
+ d="m 1094.235,862.68169 c 2.0564,-7.41778 3.349,-16.08468 10.1767,-20.8097 6.6183,-5.16685 15.1606,-7.20405 21.595,-12.59203 3.5446,-4.88336 -2.4756,-9.88767 -3.3534,-14.75239 -3.474,-10.8555 -4.1294,-23.33186 0.8597,-33.82801 1.7263,-3.59701 5.2395,-6.62494 9.4292,-6.35645 4.1922,-1.15696 8.5272,-4.11292 12.9387,-1.76941 7.4615,3.81566 10.0643,12.7832 10.996,20.5469 1.1638,10.51462 -1.4742,21.3696 -7.4745,30.09882 -3.0592,4.5826 3.8279,7.04871 6.5928,9.43949 4.453,3.31782 9.9277,4.58376 14.7042,7.25683 7.6851,4.50047 10.7441,13.62794 11.7443,22.00374 -2.9167,3.42132 -8.8791,1.6959 -13.0442,2.37973 -23.0139,0.17734 -46.0359,0.29901 -69.0471,-0.12448 -1.4771,-0.46732 -5.7882,0.53078 -6.1174,-1.49304 z"
+ style="fill:#b6c5d8" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33087"
+ d="m 1145.4158,831.51882 c -6.511,-0.17414 1.8961,-8.32488 2.1097,-2.13677 0.2551,1.05824 -0.9099,3.45218 -2.1097,2.13677 z m -9.1923,-2.58713 c -5.03,-3.26087 3.8069,-5.55701 3.715,-0.9855 -0.3316,1.64802 -2.6976,2.53253 -3.715,0.9855 z m 8.2796,-8.19213 c 5.4124,-4.28675 4.1865,-12.49507 9.1419,-17.11237 0.2956,5.93898 -0.8154,13.05465 -6.0648,16.64412 -0.9456,0.45813 -2.0369,0.66185 -3.0771,0.46825 z"
+ style="fill:#89929e" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33089"
+ d="m 1095.4869,863.63394 c -0.7086,-2.12774 2.227,-4.3804 1.3414,-0.66819 0.1019,0.98814 -0.6521,2.27111 -1.3414,0.66819 z m 37.375,-0.1401 c 1.386,-2.43696 5.5317,0.89636 1.4289,0.91541 -0.4953,-0.004 -1.425,-0.23332 -1.4289,-0.91541 z m 7.6969,-0.45528 c -1.7662,-3.1746 2.2388,-3.26451 1.112,0.0649 -0.3282,2.3234 -0.6929,0.92535 -1.112,-0.0649 z m 26.8031,-0.60687 c -0.1412,-3.37799 -6.3561,-0.78227 -3.1471,-4.41577 3.4614,-3.84128 -0.9126,-6.50536 0.3286,-10.70489 -1.3534,-4.87174 -4.4459,3.58742 -6.3126,-0.95498 -2.2864,-0.76047 -6.1461,-2.25962 -7.8438,-1.85811 1.7929,4.16671 -5.0761,3.88297 -4.657,8.23859 -2.8783,4.77401 -4.2136,-5.23107 0.4167,-4.75641 3.0178,-1.66128 2.6353,-6.07232 -1.1054,-3.24125 -4.1035,2.38594 -8.1014,0.13188 -10.9801,-2.65973 -1.5746,1.027 -7.1905,5.94236 -6.2298,1.16697 3.1085,-2.66186 -0.5867,-8.92294 -4.2926,-8.18935 -5.1067,-0.52325 2.4463,-4.85414 3.5764,-6.66771 1.8593,-4.36472 -3.1729,-7.83742 -3.708,-12.04941 -1.2651,-5.08051 -2.8301,-10.57026 -1.531,-15.77259 2.6465,-1.80932 -6.039,-6.34583 -0.1274,-6.57829 2.9743,2.18718 10.861,-0.73904 8.664,-4.74784 1.4327,-4.1299 6.0259,3.62463 2.1811,5.45085 -2.5974,0.10573 -7.4936,3.34663 -3.6277,5.54395 1.6435,-0.82217 6.4932,-5.71297 6.673,-2.49044 -2.7854,3.31115 -8.671,4.59991 -5.9505,10.09851 -0.147,1.93717 2.2229,5.8417 2.3835,1.69036 -0.2918,-2.60942 -0.2747,-9.86038 3.6482,-6.05741 -1.5505,2.76367 1.6584,4.017 1.4661,0.70751 1.2313,-3.60319 4.1633,-6.90216 1.9615,-10.6292 1.0857,-3.44275 2.4753,-8.92278 -1.1456,-10.9983 -0.2759,-2.38485 4.3956,-5.73004 -0.7238,-6.12506 -5.3095,-0.90828 1.6765,-3.69288 4.0418,-2.6646 4.3254,0.22232 9.1692,1.37034 11.4584,5.44637 6.2849,9.7073 5.6843,22.38166 2.1707,32.98508 -0.9294,4.64278 -5.2222,8.12432 -5.2048,12.92114 1.2085,6.56432 8.0163,9.99242 13.782,11.95844 5.1796,1.02044 10.1383,3.62424 13.0319,8.19359 3.204,4.79647 5.2164,10.49318 5.7367,16.22196 -2.3558,3.8145 -7.9005,3.87439 -11.8952,3.17059 -1.2245,-0.32543 -2.6028,-0.92802 -3.0382,-2.23257 z m -6.0908,-20.1003 c -1.4189,-3.47946 -9.2021,-2.51084 -5.1374,1.1248 1.0491,0.55257 8.1492,1.55777 5.1374,-1.1248 z m -35.4092,-40.45872 c -2.1626,-4.30335 -2.5662,5.59099 0,0 z m -10.7721,57.4647 c 0.9739,-2.58634 6.2446,-4.23216 3.3578,-0.21672 -0.9325,2.57294 -7.0509,4.43368 -3.3578,0.21672 z m 15.2677,1.08726 c -0.4615,-3.123 5.9277,-1.79651 2.3333,0.70108 -0.7844,0.59532 -1.935,0.11193 -2.3333,-0.70108 z m 17.1983,0.36758 c -1.4021,-3.70988 5.6946,-2.0316 1.5001,0.56139 l -0.7246,-0.0276 -0.7755,-0.53379 z m -46.6939,-2.34909 c 0.2511,-3.17228 6.7054,-7.64119 4.5997,-1.5241 -0.3029,1.59959 -3.8831,3.82735 -4.5997,1.5241 z m 56,-0.51143 c 2.5129,-5.65641 2.4066,5.5417 0,0 z m -47.8,-2.7 c -4.0511,-2.74409 2.8618,-11.29262 3.0007,-4.49156 -2.2734,1.19476 -2.9497,4.14273 0.2779,3.98531 0.4491,2.1979 -2.5034,1.86609 -3.2786,0.50625 z m 17.0438,-0.05 c 1.3165,-2.24916 8.5838,-2.15975 3.4328,0.33832 -0.7575,0.55533 -3.9521,1.81288 -3.4328,-0.33832 z m 28.4134,-2.29909 c 1.9889,-3.91758 6.8542,2.62004 1.3117,1.52967 -0.8499,0.0565 -1.9284,-0.52139 -1.3117,-1.52967 z m -56.6572,-0.39189 c 1.6879,-4.90927 2.9969,2.75221 0.079,0.36537 l -0.079,-0.36537 z m 16.6476,-4.24293 c -1.8915,-2.61234 0.8405,-5.75092 1.6884,-1.54504 0.8485,1.72586 -0.7024,5.1602 -1.6884,1.54504 z m 4.5919,-1.82793 c 1.6025,-1.85967 3.6635,-1.43607 5.2605,-2.98816 3.9626,1.46685 -2.6295,3.48646 -3.7286,4.9303 -1.9952,0.50428 -2.9215,-0.26884 -1.5319,-1.94214 z m -9.2395,-3.57149 c 0.5999,-5.93389 4.1759,2.63959 0.6117,2.37949 -0.5227,-0.66971 -0.5818,-1.56896 -0.6117,-2.37949 z m -5.43,0.69664 c -0.366,-3.22691 5.2275,-3.96176 2.5144,-0.12486 -0.5163,1.26584 -1.7962,1.28548 -2.5144,0.12486 z m 16.43,-54.05429 c -0.3067,-2.8402 2.7857,-3.62344 2.3713,-0.3321 1.7775,2.89278 -2.5383,3.01913 -2.3713,0.3321 z m 7,-4.85902 c -0.4203,-5.12456 8.4363,-1.94337 4.3583,0.72111 -1.3692,0.0212 -3.344,0.40232 -4.3583,-0.72111 z m -1,-5.82423 c 0.171,-4.09108 9.3884,-5.68544 7.3598,-0.21811 -2.2194,0.24293 -4.553,-2.11058 -6.7961,0.31894 l -0.4123,0.0536 -0.1514,-0.1544 0,0 z"
+ style="fill:#b4c3d5" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33091"
+ d="m 1168.8619,861.63169 c -0.6243,-3.55935 -2.6973,-6.3569 -0.7215,-9.98987 0.1253,-5.45244 -2.7911,-10.65923 -7.0967,-13.89447 -1.2068,-2.85452 5.3278,0.70573 6.9238,1.01004 7.6726,3.41307 13.8636,11.22205 14.0998,19.78329 0.2021,5.97005 -6.5489,6.42322 -10.9269,5.80556 -1.7323,0.15131 -2.5832,-1.0909 -2.2785,-2.71455 z m -32.0895,-20.80784 c -4.434,-1.14416 -6.6424,-4.93813 -9.6183,-8.11599 -5.8032,-0.96373 3.5761,-5.23189 -0.1243,-8.64226 -1.2887,-3.82859 -5.1974,-7.73842 -3.9124,-11.88366 3.5763,0.77406 7.9814,4.56157 11.4304,0.4736 4.5442,-4.37751 7.176,-10.57138 8.2612,-16.71192 0.4026,-6.44762 0.588,-13.17942 -1.3863,-19.39442 -3.6853,-5.04182 5.4099,-3.08901 7.4628,-1.22179 7.1884,5.3533 8.7099,15.22614 8.4974,23.6257 -0.2493,8.4967 -3.1434,16.73146 -7.7275,23.84074 -2.8899,4.70712 3.7802,7.4172 6.1701,10.48571 2.372,1.75978 2.7988,3.59039 -0.4709,3.94333 -4.9323,3.54041 -11.3816,5.84263 -17.44,4.36937 l -0.655,-0.33776 -0.4872,-0.43065 0,0 z"
+ style="fill:#b3bcc9" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33093"
+ d="m 1169.677,857.68169 c 0.6954,-5.83229 -1.1934,-11.42869 -3.0624,-16.84619 1.705,-4.06189 7.7076,2.15936 9.0817,4.7283 3.4747,5.23289 5.9898,11.23822 6.7494,17.4968 -2.7491,2.48603 -8.7127,1.53936 -12.2569,0.52734 -1.141,-1.73296 -0.478,-3.96643 -0.5118,-5.90625 z m -35.079,-19.01192 c -4.3537,-1.9881 -8.7378,-7.05736 -6.2671,-11.96771 0.379,-3.87987 -6.1972,-8.74866 -2.6155,-11.649 3.8173,-0.0455 7.9232,-0.57969 10.7008,-3.51648 7.5387,-7.6238 9.3732,-19.29758 8.1101,-29.5788 -0.2934,-2.73658 -3.4831,-10.05061 2.1384,-6.90166 5.5905,2.86145 9.3559,8.5583 9.9536,14.79053 1.4524,11.54814 -0.9993,23.83469 -7.7852,33.40876 -3.2246,5.24149 5.7034,6.58552 5.5499,11.37054 -1.1447,5.117 -7.7589,5.97682 -12.1564,5.8855 -2.6283,-0.12443 -5.2379,-0.7377 -7.6286,-1.84168 z"
+ style="fill:#a9b6c7" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33095"
+ d="m 1171.8619,856.01273 c 0.1763,-4.74944 -0.356,-9.57132 -2.7594,-13.74195 1.4975,-4.03011 6.8274,2.83782 8.0786,5.41566 2.902,4.84584 4.2902,10.45516 5.3821,15.90906 -3.3515,1.42092 -11.5911,2.28284 -10.6646,-3.67955 -0.043,-1.30058 -0.035,-2.60214 -0.037,-3.90322 z m -32,-17.72887 c -5.8477,-1.14965 -11.4267,-6.22518 -11.1545,-12.52353 -1.5003,-2.03434 -5.7153,-8.53816 -0.064,-7.68024 6.7325,0.44741 11.3131,-5.91275 13.9722,-11.28778 4.5289,-9.55307 5.8263,-20.85993 2.5334,-31.00041 2.1812,-2.95131 6.7947,3.62386 8.5128,5.81939 4.3355,6.99236 3.5563,15.74508 2.3456,23.52395 -1.0453,6.26492 -3.4373,12.23617 -6.8939,17.55368 -4.1164,5.37273 4.8634,7.17375 5.4,11.35344 -3.346,2.78013 -7.8431,4.85802 -12.3007,4.56282 -0.7887,-0.0649 -1.5719,-0.18321 -2.3507,-0.32132 z"
+ style="fill:#a5aeba" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33097"
+ d="m 1174.4426,862.18169 c -1.1883,-6.44151 -0.7153,-13.29528 -3.2234,-19.40763 5.2155,1.71368 7.2191,7.68437 8.6149,12.50189 0.4675,3.74753 5.9571,10.77397 -1.5469,9.15113 -1.5971,0.0659 -3.7451,-0.21664 -3.8446,-2.24539 z m -37.0807,-25.70949 c -5.2137,-2.6559 -8.3881,-8.12562 -9.4507,-13.73768 -3.0238,-5.26702 5.3254,-2.26568 7.462,-5.22634 8.4902,-5.8936 12.466,-16.48626 13.5185,-26.43011 1.0826,-4.83991 -1.472,-10.13976 -0.9548,-14.48335 7.0302,4.3261 9.109,13.3759 8.6445,21.14239 -0.4724,9.88319 -4.2133,19.33825 -9.4291,27.6489 0.196,3.60522 8.594,7.29794 2.2185,10.91971 -3.6456,2.02664 -8.2528,1.70657 -12.0089,0.16648 z"
+ style="fill:#99a5b4" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33099"
+ d="m 1137.625,771.4375 c -3.2175,0.80995 -6.3589,1.89093 -9.4985,2.95674 -0.9716,0.37142 -1.8529,0.9729 -2.5952,1.69951 -0.8529,0.75372 -1.5183,1.68678 -2.243,2.5579 -1.4336,1.82026 -2.7094,3.75542 -4.0695,5.6296 -0.882,1.49498 -1.701,3.03188 -2.2874,4.66945 -0.773,1.87386 -1.3796,3.81126 -2.0369,5.7276 -1.4886,4.58577 -2.8667,9.20755 -4.1553,13.85304 -0.3808,1.5389 -0.8175,3.06718 -1.1142,4.62491 -0.098,1.32482 0.4277,2.57219 0.8125,3.8125 0.6544,1.89642 1.248,3.81318 1.875,5.71875 0.4387,1.03708 1.5319,1.69185 2.625,1.8125 1.242,-0.0193 2.5208,0.0375 3.7188,-0.34375 1.0206,-0.39402 1.605,-1.36074 1.8656,-2.3781 0.7327,-2.56005 1.0195,-5.21766 1.5005,-7.83083 0.4005,-2.37627 0.7757,-4.75672 1.1651,-7.13482 0.6094,-2.21748 1.288,-4.41783 2.0397,-6.59038 0.7828,-2.02938 1.7157,-3.99664 2.5541,-6.00337 0.89,-1.89943 1.8666,-3.76562 3.0149,-5.52201 1.4077,-2.01133 3.3385,-3.57662 5.3281,-4.9803 1.2399,-0.75485 2.4221,-1.59957 3.6892,-2.3108 1.428,-0.88217 2.9558,-1.58776 4.4678,-2.31189 0.9989,-0.30772 1.9526,-0.81445 2.9948,-0.95052 0.9487,-0.0968 1.933,0.0577 2.8489,-0.26823 0.9246,-0.56794 0.7301,-1.98773 -0.1562,-2.5 -0.8073,-0.63096 -1.7434,-1.0782 -2.6335,-1.5793 -1.6813,-0.84475 -3.4743,-1.44213 -5.3035,-1.87163 -1.3571,-0.28247 -2.7391,-0.47084 -4.1255,-0.51782 l -0.1817,0.0202 -0.1,0.0111 z"
+ style="fill:#99a5b4;fill-opacity:1" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33101"
+ d="m 1177.6504,862.68169 c -2.1223,-4.15541 -2.6296,-9.16791 -2.1104,-13.77435 2.7363,-0.59646 3.4894,6.19672 4.6159,8.71136 0.5097,2.43464 4.4493,8.54497 -0.8865,6.29893 l -0.882,-0.55645 -0.737,-0.67949 0,0 z m -43.7561,-31 c -2.9459,-2.28349 -7.1894,-8.93795 -1.3629,-10.29495 8.0732,-2.18725 12.6924,-10.20871 15.4879,-17.52164 2.7539,-7.08868 3.0096,-14.78608 2.3457,-22.27209 0.5717,-3.73359 4.2685,3.25102 4.563,4.83879 2.8335,10.0499 1.0854,21.07617 -3.2632,30.43572 -1.4732,3.78479 -7.2463,8.22354 -2.8605,12.027 4.9081,2.55146 1.5708,6.14222 -2.5582,6.40295 -4.4148,1.02741 -9.1521,-0.44638 -12.3518,-3.61578 z"
+ style="fill:#929ca9" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33103"
+ d="m 1144.0768,778.57601 c -2.0799,0.18622 -4.1669,0.39931 -6.1906,0.93582 -1.9627,0.5268 -3.8686,1.26151 -5.6783,2.18771 -1.2785,0.72607 -2.5949,1.40817 -3.7322,2.35094 -1.8707,1.41739 -3.5016,3.11504 -5.0864,4.83803 -0.8029,1.1366 -1.6615,2.24315 -2.3582,3.44834 -1.046,1.93489 -1.9268,3.96033 -2.5571,6.06935 -1.0282,3.17356 -1.896,6.39655 -2.7733,9.61433 -0.7909,2.99079 -1.588,5.98101 -2.3162,8.9875 -0.7253,3.0427 -1.2105,6.14099 -1.4506,9.25973 -0.081,1.12348 -0.2781,2.24516 -0.1383,3.37206 0.063,1.15775 0.1471,2.31618 0.2812,3.46744 0.029,0.43529 0.6411,0.88693 0.8125,0.28125 0.4378,-0.93637 0.9849,-1.88776 2.0312,-2.21875 0.7705,-0.37522 1.6447,-0.58501 2.4947,-0.42232 0.9951,0.20928 2.0235,0.51766 2.8728,1.09107 1.1525,0.76152 2.171,1.75918 2.8259,2.98452 0.6743,0.79355 0.8672,1.92774 1.4941,2.69048 0.5562,0.0517 0.4674,-0.84631 0.609,-1.24468 0.2079,-1.87479 -0.2258,-3.73167 -0.5465,-5.56782 -0.3256,-1.64053 -0.8042,-3.25041 -0.9989,-4.91491 -0.2714,-1.81202 -0.6034,-3.6237 -0.5936,-5.46277 -0.058,-1.99807 -0.1665,-3.99431 -0.1442,-5.99405 -0.035,-1.23626 -10e-4,-2.47036 0.1134,-3.70195 0.2442,-2.90098 0.5633,-5.79741 0.9983,-8.67632 0.6275,-2.95685 1.3389,-5.92442 2.6429,-8.66725 0.6163,-1.36529 1.239,-2.73456 1.9585,-4.04735 0.7208,-1.14986 1.5962,-2.22584 2.737,-2.98238 1.7132,-1.17297 3.5558,-2.14034 5.4483,-2.98937 1.8042,-0.81317 3.6119,-1.62339 5.3383,-2.5949 0.8226,-0.40084 1.8837,-0.6713 2.3005,-1.56976 0.1274,-0.30615 0.04,-0.72575 -0.3942,-0.52399 z"
+ style="fill:#8a95a3;fill-opacity:1" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33105"
+ d="m 1178.5691,861.68169 c -1.0134,-1.80767 1.2879,-7.15927 1.2421,-2.50022 0.4241,2.21568 -0.4446,7.79222 -1.2421,2.50022 l 0,0 z m -43.0654,-31 c -2.9868,-1.67058 -7.0066,-6.75545 -1.2627,-7.50408 4.8324,-2.49559 9.8284,-5.69893 12.5216,-10.55778 1.1155,-4.62828 4.1189,-8.61975 4.8415,-13.41654 0.9852,-4.74585 2.5256,-9.7007 1.4529,-14.54866 3.4059,4.0618 2.7268,9.97803 2.4056,14.94875 -0.9957,8.63373 -3.5835,17.28503 -8.7848,24.35117 -2.2871,3.74841 7.1983,8.26089 -0.2126,9.84972 -3.9181,1.46539 -7.9707,-0.66912 -10.9615,-3.12258 z"
+ style="fill:#8a95a3" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ style="fill:#dce2e8"
+ d="m 1092.5142,862.96792 c 0.01,-5.30143 1.6059,-10.6248 3.7815,-15.43929 4.3212,-8.8444 14.216,-12.22658 22.338,-16.5859 4.6806,-1.37584 9.0712,-5.52844 4.7426,-10.02046 -6.3949,-12.22902 -8.7729,-27.8219 -2.1065,-40.43961 3.6547,-7.37162 12.389,-12.01132 20.4933,-9.67176 7.2863,1.44287 13.1447,7.15895 15.3403,14.18101 4.5144,13.20733 1.2153,28.11579 -6.5366,39.43979 -1.3297,3.95225 5.8957,5.24121 8.44,7.53545 5.4039,3.00388 11.6059,4.85759 15.8683,9.59775 5.1225,5.30858 9.7926,12.48585 8.6642,20.18284 -2.666,2.93451 -8.4087,1.41927 -12.3014,2.20861 -23.9529,0.89934 -47.9593,1.13829 -71.9091,0.0384 -2.2566,-0.26203 -4.7316,-0.0739 -6.8146,-1.02681 z"
+ id="path33141"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ style="fill:#d4dbe2"
+ d="m 1092.8619,863.98091 c -0.3001,-10.49202 6.0373,-20.13978 14.6626,-25.69496 5.5197,-4.0779 12.4095,-5.84192 17.8082,-10.06232 2.8497,-4.01312 -2.3724,-8.04948 -3.3454,-11.96125 -5.1733,-11.94737 -5.914,-27.08139 2.2563,-37.90341 5.8941,-8.20878 18.8524,-9.23957 26.2071,-2.50691 7.922,7.8665 8.9959,20.23178 7.0788,30.70563 -1.0774,6.52092 -4.2598,12.37274 -7.8005,17.84376 -0.6394,4.72644 5.997,6.29571 9.1566,8.71794 5.6707,3.14875 12.427,4.70876 16.6239,10.05061 4.552,5.13638 7.7383,11.97169 7.2645,18.94209 -3.4288,3.13676 -9.1732,1.57453 -13.5604,2.19728 -25.1428,0.17847 -50.294,0.26439 -75.4332,-0.23791 l -0.9185,-0.0906 0,0 z"
+ id="path33143"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ style="fill:#a9b6c7;fill-opacity:1"
+ d="m 1137.4063,773.21875 c -2.0844,0.0218 -4.0688,0.82425 -5.7801,1.97408 -1.7905,1.15879 -3.4062,2.56842 -5.1034,3.85771 -2.0732,1.7046 -4.1307,3.52243 -5.5432,5.83208 -1.4246,2.63374 -2.0143,5.62903 -2.3241,8.58199 -0.3303,2.74853 -0.3282,5.52241 -0.4367,8.28539 -0.01,3.82444 -0.1536,7.64782 -0.1389,11.4717 0.086,5.10181 0.5221,10.19115 0.6389,15.29078 -0.017,1.6471 0.017,3.30988 -0.1419,4.94514 -0.2452,0.76103 -0.5661,2.26102 0.5747,2.38613 1.06,-0.019 1.2351,-1.39535 1.1555,-2.21222 0.2295,-1.68105 1.3251,-3.13394 2.6304,-4.16278 0.8525,-0.49875 1.9731,-0.491 2.8438,-0.0625 1.3276,1.06993 2.3723,2.46316 3.7496,3.48406 1.7879,1.52488 3.518,3.13357 5.2774,4.67984 0.9867,0.7019 2.2703,0.71795 3.4299,0.66919 1.068,-0.16832 2.1353,-0.35487 3.2195,-0.36775 0.8941,0.16109 2.328,-0.70942 1.3861,-1.62159 -0.8042,-0.70337 -1.8875,-0.23431 -2.8337,-0.39781 -1.8427,-0.0672 -3.621,-1.11476 -4.5976,-2.66893 -1.0034,-1.75997 -1.5986,-3.7098 -2.4271,-5.55243 -1.6611,-3.95349 -2.9103,-8.07322 -3.8504,-12.25354 -0.4782,-2.16238 -0.9493,-4.33361 -1.0404,-6.55414 -0.4428,-5.17654 -0.016,-10.36675 0.2179,-15.5419 0.4316,-2.80874 0.9386,-5.71235 2.5236,-8.13079 1.4095,-2.34955 3.2117,-4.47033 5.3351,-6.20561 1.3496,-1.17749 2.79,-2.24805 4.1726,-3.38235 0.6571,-0.78426 0.1282,-2.21425 -0.9301,-2.28177 -0.6603,-0.14562 -1.3384,-0.0725 -2.0074,-0.062 z"
+ id="path33145"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ style="fill:#8a95a3;fill-opacity:1"
+ d="m 1135.0625,771.09375 c -3.5,0.58518 -6.8259,1.96099 -9.8715,3.75664 -1.4659,0.9392 -2.8977,1.9504 -4.1015,3.21637 -2.2637,2.18699 -4.0577,4.84626 -5.3102,7.72931 -1.7244,4.45631 -3.1815,9.00923 -4.5462,13.58674 -1.1787,3.81878 -2.2925,7.66048 -3.5864,11.44147 -0.9806,2.31904 -2.2556,4.50522 -3.1467,6.86322 -0.072,0.83217 -0.5208,1.71408 -0.1562,2.53125 0.3439,0.63556 0.6129,-0.72716 0.904,-1.00196 0.7079,-1.17012 1.6787,-2.15857 2.5022,-3.24804 2.0256,-2.4413 4.0925,-4.85803 6.3438,-7.09375 0.8922,-0.67775 1.9311,-1.14621 3,-1.46875 0.9592,-0.27381 2.0457,-0.0942 2.7855,0.6034 0.7982,0.68845 1.0522,1.81659 0.9264,2.82928 -0.069,2.24614 -0.6218,4.43634 -0.9416,6.65146 -0.3771,1.50747 -0.596,3.04826 -0.8953,4.57211 -0.019,0.88489 0.8029,1.89802 1.75,1.65625 1.2051,-0.41761 1.6861,-1.71186 2.0121,-2.83444 1.0809,-3.47552 1.1641,-7.147 1.3117,-10.75426 0.2526,-3.87574 0.4302,-7.76125 0.9007,-11.61815 0.521,-3.65166 1.2465,-7.28074 2.2755,-10.8244 0.5077,-1.47275 1.2852,-2.82251 2.1324,-4.12255 1.0451,-1.54481 2.4259,-2.97532 4.2113,-3.62745 3.7719,-1.53211 7.856,-2.03477 11.7188,-3.28125 0.8561,-0.41385 1.6694,-1.37746 1.3437,-2.375 -0.3658,-1.12201 -1.5732,-1.602 -2.6128,-1.89568 -2.3028,-0.66163 -4.6814,-1.03339 -7.0648,-1.2496 -0.6285,-0.0212 -1.2564,-0.11142 -1.8849,-0.0422 z"
+ id="path33147"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ style="fill:#c9cfd7"
+ d="m 1093.3186,862.68392 c 2.0397,-6.75845 2.6267,-14.59993 8.2825,-19.57905 6.8665,-6.55449 16.4927,-8.81781 23.9521,-14.46458 3.6447,-4.45932 -2.8105,-9.08083 -3.562,-13.60484 -4.1433,-11.16786 -4.9817,-24.68811 1.4956,-35.15189 5.6846,-8.73332 19.8555,-10.9347 27.194,-3.0481 8.414,8.94249 8.7762,22.65299 5.2735,33.81426 -1.4944,5.581 -4.9984,10.28747 -7.0924,15.6006 2.7618,3.52771 7.1493,5.48724 10.9349,7.7964 6.119,3.22073 13.5834,5.02515 17.4835,11.27477 2.9699,4.63969 4.4219,10.08731 5.8092,15.35231 -1.5017,4.96315 -8.8182,2.91096 -12.8589,3.69351 -22.8034,0.12179 -45.6117,0.15756 -68.4143,-0.11428 -2.3117,-0.50334 -7.5324,0.74503 -8.4977,-1.56911 z"
+ id="path33149"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ style="fill:#b6c5d8"
+ d="m 1094.235,862.68169 c 2.0564,-7.41778 3.349,-16.08468 10.1767,-20.8097 6.6183,-5.16685 15.1606,-7.20405 21.595,-12.59203 3.5446,-4.88336 -2.4756,-9.88767 -3.3534,-14.75239 -3.474,-10.8555 -4.1294,-23.33186 0.8597,-33.82801 1.7263,-3.59701 5.2395,-6.62494 9.4292,-6.35645 4.1922,-1.15696 8.5272,-4.11292 12.9387,-1.76941 7.4615,3.81566 10.0643,12.7832 10.996,20.5469 1.1638,10.51462 -1.4742,21.3696 -7.4745,30.09882 -3.0592,4.5826 3.8279,7.04871 6.5928,9.43949 4.453,3.31782 9.9277,4.58376 14.7042,7.25683 7.6851,4.50047 10.7441,13.62794 11.7443,22.00374 -2.9167,3.42132 -8.8791,1.6959 -13.0442,2.37973 -23.0139,0.17734 -46.0359,0.29901 -69.0471,-0.12448 -1.4771,-0.46732 -5.7882,0.53078 -6.1174,-1.49304 z"
+ id="path33151"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ style="fill:#89929e"
+ d="m 1145.4158,831.51882 c -6.511,-0.17414 1.8961,-8.32488 2.1097,-2.13677 0.2551,1.05824 -0.9099,3.45218 -2.1097,2.13677 z m -9.1923,-2.58713 c -5.03,-3.26087 3.8069,-5.55701 3.715,-0.9855 -0.3316,1.64802 -2.6976,2.53253 -3.715,0.9855 z m 8.2796,-8.19213 c 5.4124,-4.28675 4.1865,-12.49507 9.1419,-17.11237 0.2956,5.93898 -0.8154,13.05465 -6.0648,16.64412 -0.9456,0.45813 -2.0369,0.66185 -3.0771,0.46825 z"
+ id="path33153"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ style="fill:#b4c3d5"
+ d="m 1095.4869,863.63394 c -0.7086,-2.12774 2.227,-4.3804 1.3414,-0.66819 0.1019,0.98814 -0.6521,2.27111 -1.3414,0.66819 z m 37.375,-0.1401 c 1.386,-2.43696 5.5317,0.89636 1.4289,0.91541 -0.4953,-0.004 -1.425,-0.23332 -1.4289,-0.91541 z m 7.6969,-0.45528 c -1.7662,-3.1746 2.2388,-3.26451 1.112,0.0649 -0.3282,2.3234 -0.6929,0.92535 -1.112,-0.0649 z m 26.8031,-0.60687 c -0.1412,-3.37799 -6.3561,-0.78227 -3.1471,-4.41577 3.4614,-3.84128 -0.9126,-6.50536 0.3286,-10.70489 -1.3534,-4.87174 -4.4459,3.58742 -6.3126,-0.95498 -2.2864,-0.76047 -6.1461,-2.25962 -7.8438,-1.85811 1.7929,4.16671 -5.0761,3.88297 -4.657,8.23859 -2.8783,4.77401 -4.2136,-5.23107 0.4167,-4.75641 3.0178,-1.66128 2.6353,-6.07232 -1.1054,-3.24125 -4.1035,2.38594 -8.1014,0.13188 -10.9801,-2.65973 -1.5746,1.027 -7.1905,5.94236 -6.2298,1.16697 3.1085,-2.66186 -0.5867,-8.92294 -4.2926,-8.18935 -5.1067,-0.52325 2.4463,-4.85414 3.5764,-6.66771 1.8593,-4.36472 -3.1729,-7.83742 -3.708,-12.04941 -1.2651,-5.08051 -2.8301,-10.57026 -1.531,-15.77259 2.6465,-1.80932 -6.039,-6.34583 -0.1274,-6.57829 2.9743,2.18718 10.861,-0.73904 8.664,-4.74784 1.4327,-4.1299 6.0259,3.62463 2.1811,5.45085 -2.5974,0.10573 -7.4936,3.34663 -3.6277,5.54395 1.6435,-0.82217 6.4932,-5.71297 6.673,-2.49044 -2.7854,3.31115 -8.671,4.59991 -5.9505,10.09851 -0.147,1.93717 2.2229,5.8417 2.3835,1.69036 -0.2918,-2.60942 -0.2747,-9.86038 3.6482,-6.05741 -1.5505,2.76367 1.6584,4.017 1.4661,0.70751 1.2313,-3.60319 4.1633,-6.90216 1.9615,-10.6292 1.0857,-3.44275 2.4753,-8.92278 -1.1456,-10.9983 -0.2759,-2.38485 4.3956,-5.73004 -0.7238,-6.12506 -5.3095,-0.90828 1.6765,-3.69288 4.0418,-2.6646 4.3254,0.22232 9.1692,1.37034 11.4584,5.44637 6.2849,9.7073 5.6843,22.38166 2.1707,32.98508 -0.9294,4.64278 -5.2222,8.12432 -5.2048,12.92114 1.2085,6.56432 8.0163,9.99242 13.782,11.95844 5.1796,1.02044 10.1383,3.62424 13.0319,8.19359 3.204,4.79647 5.2164,10.49318 5.7367,16.22196 -2.3558,3.8145 -7.9005,3.87439 -11.8952,3.17059 -1.2245,-0.32543 -2.6028,-0.92802 -3.0382,-2.23257 z m -6.0908,-20.1003 c -1.4189,-3.47946 -9.2021,-2.51084 -5.1374,1.1248 1.0491,0.55257 8.1492,1.55777 5.1374,-1.1248 z m -35.4092,-40.45872 c -2.1626,-4.30335 -2.5662,5.59099 0,0 z m -10.7721,57.4647 c 0.9739,-2.58634 6.2446,-4.23216 3.3578,-0.21672 -0.9325,2.57294 -7.0509,4.43368 -3.3578,0.21672 z m 15.2677,1.08726 c -0.4615,-3.123 5.9277,-1.79651 2.3333,0.70108 -0.7844,0.59532 -1.935,0.11193 -2.3333,-0.70108 z m 17.1983,0.36758 c -1.4021,-3.70988 5.6946,-2.0316 1.5001,0.56139 l -0.7246,-0.0276 -0.7755,-0.53379 z m -46.6939,-2.34909 c 0.2511,-3.17228 6.7054,-7.64119 4.5997,-1.5241 -0.3029,1.59959 -3.8831,3.82735 -4.5997,1.5241 z m 56,-0.51143 c 2.5129,-5.65641 2.4066,5.5417 0,0 z m -47.8,-2.7 c -4.0511,-2.74409 2.8618,-11.29262 3.0007,-4.49156 -2.2734,1.19476 -2.9497,4.14273 0.2779,3.98531 0.4491,2.1979 -2.5034,1.86609 -3.2786,0.50625 z m 17.0438,-0.05 c 1.3165,-2.24916 8.5838,-2.15975 3.4328,0.33832 -0.7575,0.55533 -3.9521,1.81288 -3.4328,-0.33832 z m 28.4134,-2.29909 c 1.9889,-3.91758 6.8542,2.62004 1.3117,1.52967 -0.8499,0.0565 -1.9284,-0.52139 -1.3117,-1.52967 z m -56.6572,-0.39189 c 1.6879,-4.90927 2.9969,2.75221 0.079,0.36537 l -0.079,-0.36537 z m 16.6476,-4.24293 c -1.8915,-2.61234 0.8405,-5.75092 1.6884,-1.54504 0.8485,1.72586 -0.7024,5.1602 -1.6884,1.54504 z m 4.5919,-1.82793 c 1.6025,-1.85967 3.6635,-1.43607 5.2605,-2.98816 3.9626,1.46685 -2.6295,3.48646 -3.7286,4.9303 -1.9952,0.50428 -2.9215,-0.26884 -1.5319,-1.94214 z m -9.2395,-3.57149 c 0.5999,-5.93389 4.1759,2.63959 0.6117,2.37949 -0.5227,-0.66971 -0.5818,-1.56896 -0.6117,-2.37949 z m -5.43,0.69664 c -0.366,-3.22691 5.2275,-3.96176 2.5144,-0.12486 -0.5163,1.26584 -1.7962,1.28548 -2.5144,0.12486 z m 16.43,-54.05429 c -0.3067,-2.8402 2.7857,-3.62344 2.3713,-0.3321 1.7775,2.89278 -2.5383,3.01913 -2.3713,0.3321 z m 7,-4.85902 c -0.4203,-5.12456 8.4363,-1.94337 4.3583,0.72111 -1.3692,0.0212 -3.344,0.40232 -4.3583,-0.72111 z m -1,-5.82423 c 0.171,-4.09108 9.3884,-5.68544 7.3598,-0.21811 -2.2194,0.24293 -4.553,-2.11058 -6.7961,0.31894 l -0.4123,0.0536 -0.1514,-0.1544 0,0 z"
+ id="path33155"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ style="fill:#b3bcc9"
+ d="m 1168.8619,861.63169 c -0.6243,-3.55935 -2.6973,-6.3569 -0.7215,-9.98987 0.1253,-5.45244 -2.7911,-10.65923 -7.0967,-13.89447 -1.2068,-2.85452 5.3278,0.70573 6.9238,1.01004 7.6726,3.41307 13.8636,11.22205 14.0998,19.78329 0.2021,5.97005 -6.5489,6.42322 -10.9269,5.80556 -1.7323,0.15131 -2.5832,-1.0909 -2.2785,-2.71455 z m -32.0895,-20.80784 c -4.434,-1.14416 -6.6424,-4.93813 -9.6183,-8.11599 -5.8032,-0.96373 3.5761,-5.23189 -0.1243,-8.64226 -1.2887,-3.82859 -5.1974,-7.73842 -3.9124,-11.88366 3.5763,0.77406 7.9814,4.56157 11.4304,0.4736 4.5442,-4.37751 7.176,-10.57138 8.2612,-16.71192 0.4026,-6.44762 0.588,-13.17942 -1.3863,-19.39442 -3.6853,-5.04182 5.4099,-3.08901 7.4628,-1.22179 7.1884,5.3533 8.7099,15.22614 8.4974,23.6257 -0.2493,8.4967 -3.1434,16.73146 -7.7275,23.84074 -2.8899,4.70712 3.7802,7.4172 6.1701,10.48571 2.372,1.75978 2.7988,3.59039 -0.4709,3.94333 -4.9323,3.54041 -11.3816,5.84263 -17.44,4.36937 l -0.655,-0.33776 -0.4872,-0.43065 0,0 z"
+ id="path33157"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ style="fill:#a9b6c7"
+ d="m 1169.677,857.68169 c 0.6954,-5.83229 -1.1934,-11.42869 -3.0624,-16.84619 1.705,-4.06189 7.7076,2.15936 9.0817,4.7283 3.4747,5.23289 5.9898,11.23822 6.7494,17.4968 -2.7491,2.48603 -8.7127,1.53936 -12.2569,0.52734 -1.141,-1.73296 -0.478,-3.96643 -0.5118,-5.90625 z m -35.079,-19.01192 c -4.3537,-1.9881 -8.7378,-7.05736 -6.2671,-11.96771 0.379,-3.87987 -6.1972,-8.74866 -2.6155,-11.649 3.8173,-0.0455 7.9232,-0.57969 10.7008,-3.51648 7.5387,-7.6238 9.3732,-19.29758 8.1101,-29.5788 -0.2934,-2.73658 -3.4831,-10.05061 2.1384,-6.90166 5.5905,2.86145 9.3559,8.5583 9.9536,14.79053 1.4524,11.54814 -0.9993,23.83469 -7.7852,33.40876 -3.2246,5.24149 5.7034,6.58552 5.5499,11.37054 -1.1447,5.117 -7.7589,5.97682 -12.1564,5.8855 -2.6283,-0.12443 -5.2379,-0.7377 -7.6286,-1.84168 z"
+ id="path33159"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ style="fill:#a5aeba"
+ d="m 1171.8619,856.01273 c 0.1763,-4.74944 -0.356,-9.57132 -2.7594,-13.74195 1.4975,-4.03011 6.8274,2.83782 8.0786,5.41566 2.902,4.84584 4.2902,10.45516 5.3821,15.90906 -3.3515,1.42092 -11.5911,2.28284 -10.6646,-3.67955 -0.043,-1.30058 -0.035,-2.60214 -0.037,-3.90322 z m -32,-17.72887 c -5.8477,-1.14965 -11.4267,-6.22518 -11.1545,-12.52353 -1.5003,-2.03434 -5.7153,-8.53816 -0.064,-7.68024 6.7325,0.44741 11.3131,-5.91275 13.9722,-11.28778 4.5289,-9.55307 5.8263,-20.85993 2.5334,-31.00041 2.1812,-2.95131 6.7947,3.62386 8.5128,5.81939 4.3355,6.99236 3.5563,15.74508 2.3456,23.52395 -1.0453,6.26492 -3.4373,12.23617 -6.8939,17.55368 -4.1164,5.37273 4.8634,7.17375 5.4,11.35344 -3.346,2.78013 -7.8431,4.85802 -12.3007,4.56282 -0.7887,-0.0649 -1.5719,-0.18321 -2.3507,-0.32132 z"
+ id="path33161"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ style="fill:#99a5b4"
+ d="m 1174.4426,862.18169 c -1.1883,-6.44151 -0.7153,-13.29528 -3.2234,-19.40763 5.2155,1.71368 7.2191,7.68437 8.6149,12.50189 0.4675,3.74753 5.9571,10.77397 -1.5469,9.15113 -1.5971,0.0659 -3.7451,-0.21664 -3.8446,-2.24539 z m -37.0807,-25.70949 c -5.2137,-2.6559 -8.3881,-8.12562 -9.4507,-13.73768 -3.0238,-5.26702 5.3254,-2.26568 7.462,-5.22634 8.4902,-5.8936 12.466,-16.48626 13.5185,-26.43011 1.0826,-4.83991 -1.472,-10.13976 -0.9548,-14.48335 7.0302,4.3261 9.109,13.3759 8.6445,21.14239 -0.4724,9.88319 -4.2133,19.33825 -9.4291,27.6489 0.196,3.60522 8.594,7.29794 2.2185,10.91971 -3.6456,2.02664 -8.2528,1.70657 -12.0089,0.16648 z"
+ id="path33163"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ inkscape:connector-curvature="0"
+ id="path33165"
+ d="m 1137.625,771.4375 c -3.6671,1.06383 -7.4523,1.96161 -10.8672,3.68958 -3.3601,2.52275 -5.3983,6.30741 -7.8225,9.64449 -3.2743,5.92464 -4.7689,12.59418 -6.8342,18.98785 -0.8946,3.19887 -1.9543,6.39515 -2.4616,9.67244 0.274,3.22935 1.9063,6.12977 2.634,9.24893 1.556,2.56144 6.3235,2.61939 7.8721,10e-4 1.1858,-2.35978 1.0134,-5.10166 1.7006,-7.61029 0.7858,-5.21212 1.5444,-10.48577 3.6263,-15.37326 1.7541,-4.33647 3.4935,-8.8399 6.5285,-12.46053 3.3879,-3.5886 7.8318,-5.96537 12.2205,-8.10315 1.8391,-1.62624 5.7259,0.0661 6.4438,-2.51986 -1.0379,-2.43936 -3.9525,-3.05083 -6.1812,-3.99677 -2.2038,-0.75251 -4.5258,-1.19495 -6.8591,-1.1805 z"
+ style="fill:#a5aeba;fill-opacity:1" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ style="fill:#929ca9"
+ d="m 1177.6504,862.68169 c -2.1223,-4.15541 -2.6296,-9.16791 -2.1104,-13.77435 2.7363,-0.59646 3.4894,6.19672 4.6159,8.71136 0.5097,2.43464 4.4493,8.54497 -0.8865,6.29893 l -0.882,-0.55645 -0.737,-0.67949 0,0 z m -43.7561,-31 c -2.9459,-2.28349 -7.1894,-8.93795 -1.3629,-10.29495 8.0732,-2.18725 12.6924,-10.20871 15.4879,-17.52164 2.7539,-7.08868 3.0096,-14.78608 2.3457,-22.27209 0.5717,-3.73359 4.2685,3.25102 4.563,4.83879 2.8335,10.0499 1.0854,21.07617 -3.2632,30.43572 -1.4732,3.78479 -7.2463,8.22354 -2.8605,12.027 4.9081,2.55146 1.5708,6.14222 -2.5582,6.40295 -4.4148,1.02741 -9.1521,-0.44638 -12.3518,-3.61578 z"
+ id="path33167"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ style="fill:#929daa;fill-opacity:1"
+ d="m 1145.9405,777.3343 c -2.0799,0.18884 -4.1669,0.40492 -6.1906,0.94896 -1.9627,0.5342 -3.8686,1.27922 -5.6783,2.21843 -1.2785,0.73626 -2.5949,1.42794 -3.7322,2.38395 -1.8707,1.43729 -3.5016,3.15878 -5.0864,4.90596 -0.8029,1.15256 -1.6615,2.27465 -2.3582,3.49676 -1.046,1.96206 -1.9268,4.01594 -2.5571,6.15457 -1.0282,3.21812 -1.896,6.48637 -2.7733,9.74933 -0.7909,3.03279 -1.588,6.06499 -2.3162,9.1137 -0.7253,3.08542 -1.2105,6.22721 -1.4506,9.38975 -0.081,1.13925 -0.2781,2.27668 -0.1383,3.4194 0.063,1.17401 0.1471,2.34871 0.2812,3.51613 0.029,0.4414 0.6411,0.89938 0.8125,0.2852 0.4378,-0.94952 0.9849,-1.91427 2.0312,-2.2499 0.7705,-0.38049 1.6447,-0.59323 2.4947,-0.42825 0.9951,0.21221 2.0235,0.52492 2.8728,1.10639 1.1525,0.77221 2.171,1.78388 2.8259,3.02642 0.6743,0.80469 0.8672,1.95481 1.4941,2.72826 0.5562,0.0524 0.4674,-0.85819 0.609,-1.26216 0.2079,-1.90111 -0.2258,-3.78406 -0.5465,-5.646 -0.3256,-1.66356 -0.8042,-3.29605 -0.9989,-4.98392 -0.2714,-1.83746 -0.6034,-3.67458 -0.5936,-5.53947 -0.058,-2.02613 -0.1665,-4.0504 -0.1442,-6.07822 -0.035,-1.25362 -10e-4,-2.50504 0.1134,-3.75393 0.2442,-2.94171 0.5633,-5.87881 0.9983,-8.79814 0.6275,-2.99837 1.3389,-6.00761 2.6429,-8.78895 0.6163,-1.38446 1.239,-2.77296 1.9585,-4.10418 0.7208,-1.16601 1.5962,-2.2571 2.737,-3.02426 1.7132,-1.18944 3.5558,-2.17039 5.4483,-3.03134 1.8042,-0.82459 3.6119,-1.64619 5.3383,-2.63134 0.8226,-0.40647 1.8837,-0.68073 2.3005,-1.5918 0.1274,-0.31045 0.04,-0.73594 -0.3942,-0.53135 z"
+ id="path33169"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:export-ydpi="90"
+ inkscape:export-xdpi="90"
+ inkscape:export-filename="/home/vjrj/proyectos/dev/kune/trunk/img/icons/unknown-gen.png"
+ style="fill:#8a95a3"
+ d="m 1178.5691,861.68169 c -1.0134,-1.80767 1.2879,-7.15927 1.2421,-2.50022 0.4241,2.21568 -0.4446,7.79222 -1.2421,2.50022 l 0,0 z m -43.0654,-31 c -2.9868,-1.67058 -7.0066,-6.75545 -1.2627,-7.50408 4.8324,-2.49559 9.8284,-5.69893 12.5216,-10.55778 1.1155,-4.62828 4.1189,-8.61975 4.8415,-13.41654 0.9852,-4.74585 2.5256,-9.7007 1.4529,-14.54866 3.4059,4.0618 2.7268,9.97803 2.4056,14.94875 -0.9957,8.63373 -3.5835,17.28503 -8.7848,24.35117 -2.2871,3.74841 7.1983,8.26089 -0.2126,9.84972 -3.9181,1.46539 -7.9707,-0.66912 -10.9615,-3.12258 z"
+ id="path33171"
+ inkscape:connector-curvature="0" />
+ </g>
<use
x="0"
y="0"
Modified: trunk/src/main/java/cc/kune/core/client/rpcservices/ContentService.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/rpcservices/ContentService.java 2012-02-22 23:48:59 UTC (rev 1698)
+++ trunk/src/main/java/cc/kune/core/client/rpcservices/ContentService.java 2012-02-23 00:55:51 UTC (rev 1699)
@@ -48,14 +48,14 @@
throws DefaultException;
void addGadgetToContent(String userHash, StateToken currentStateToken, String gadgetName)
- throws DefaultException;;
+ throws DefaultException;
StateContentDTO addNewContentWithGadget(String userHash, StateToken currentStateToken,
String gadgetName, String typeId, String title, String body) throws DefaultException;;
StateContentDTO addNewContentWithGadgetAndState(String userHash, StateToken currentStateToken,
String gadgetName, String typeId, String tile, String body, Map<String, String> gadgetState)
- throws DefaultException;
+ throws DefaultException;;
void addParticipant(String userHash, StateToken token, String participant) throws DefaultException;
@@ -86,6 +86,9 @@
ContentSimpleDTO setAsDefaultContent(String userHash, StateToken token);
+ void setGadgetProperties(final String userHash, final StateToken currentStateToken,
+ final String gadgetName, final Map<String, String> properties) throws DefaultException;
+
I18nLanguageDTO setLanguage(String userHash, StateToken token, String languageCode)
throws DefaultException;
Modified: trunk/src/main/java/cc/kune/core/client/rpcservices/ContentServiceAsync.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/rpcservices/ContentServiceAsync.java 2012-02-22 23:48:59 UTC (rev 1698)
+++ trunk/src/main/java/cc/kune/core/client/rpcservices/ContentServiceAsync.java 2012-02-23 00:55:51 UTC (rev 1699)
@@ -90,6 +90,9 @@
void setAsDefaultContent(String userHash, StateToken token,
AsyncCallback<ContentSimpleDTO> asyncCallback);
+ void setGadgetProperties(String userHash, StateToken currentStateToken, String gadgetName,
+ Map<String, String> properties, AsyncCallback<Void> callback);
+
void setLanguage(String userHash, StateToken token, String languageCode,
AsyncCallback<I18nLanguageDTO> asyncCallback);
Modified: trunk/src/main/java/cc/kune/core/server/content/ContentManager.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/content/ContentManager.java 2012-02-22 23:48:59 UTC (rev 1698)
+++ trunk/src/main/java/cc/kune/core/server/content/ContentManager.java 2012-02-23 00:55:51 UTC (rev 1699)
@@ -20,6 +20,7 @@
package cc.kune.core.server.content;
import java.util.Date;
+import java.util.Map;
import cc.kune.core.client.errors.DefaultException;
import cc.kune.core.server.manager.Manager;
@@ -46,8 +47,13 @@
void addAuthor(User user, Long contentId, String authorShortName) throws DefaultException;
+ void addGadgetToContent(User user, Content content, String gadgetName);
+
void addParticipant(User user, Long contentId, String participant);
+ Content createGadget(User user, Container container, String gadgetname, String typeIdChild,
+ String title, String body, Map<String, String> gadgetProperties);
+
boolean findIfExistsTitle(Container container, String title);
Double getRateAvg(Content content);
@@ -78,6 +84,8 @@
SearchResult<?> searchMime(String search, Integer firstResult, Integer maxResults, String group,
String mimetype, String mimetype2);
+ void setGadgetProperties(User user, Content content, String gadgetName, Map<String, String> properties);
+
I18nLanguage setLanguage(User user, Long contentId, String languageCode) throws DefaultException;
void setModifiedOn(Content content, long lastModifiedTime);
Modified: trunk/src/main/java/cc/kune/core/server/content/ContentManagerDefault.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/content/ContentManagerDefault.java 2012-02-22 23:48:59 UTC (rev 1698)
+++ trunk/src/main/java/cc/kune/core/server/content/ContentManagerDefault.java 2012-02-23 00:55:51 UTC (rev 1699)
@@ -19,6 +19,7 @@
*/
package cc.kune.core.server.content;
+import java.net.MalformedURLException;
import java.net.URL;
import java.util.Collections;
import java.util.Date;
@@ -27,6 +28,8 @@
import javax.persistence.EntityManager;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apache.lucene.queryParser.MultiFieldQueryParser;
import org.apache.lucene.queryParser.ParseException;
@@ -34,6 +37,8 @@
import org.waveprotocol.wave.model.waveref.WaveRef;
import org.waveprotocol.wave.util.escapers.jvm.JavaWaverefEncoder;
+import cc.kune.core.client.actions.xml.XMLKuneClientActions;
+import cc.kune.core.client.actions.xml.XMLWaveExtension;
import cc.kune.core.client.errors.DefaultException;
import cc.kune.core.client.errors.I18nNotFoundException;
import cc.kune.core.client.errors.MoveOnSameContainerException;
@@ -45,6 +50,8 @@
import cc.kune.core.server.manager.file.FileUtils;
import cc.kune.core.server.manager.impl.DefaultManager;
import cc.kune.core.server.manager.impl.ServerManagerException;
+import cc.kune.core.server.tool.ServerTool;
+import cc.kune.core.server.tool.ServerToolRegistry;
import cc.kune.core.server.utils.FilenameUtils;
import cc.kune.core.shared.domain.ContentStatus;
import cc.kune.core.shared.domain.RateResult;
@@ -69,20 +76,24 @@
@Singleton
public class ContentManagerDefault extends DefaultManager<Content, Long> implements ContentManager {
+ private final XMLKuneClientActions actions;
private final ContainerFinder containerFinder;
private final ContentFinder contentFinder;
private final FinderService finder;
private final KuneWaveService kuneWaveManager;
private final I18nLanguageFinder languageFinder;
+ private final Log LOG = LogFactory.getLog(ContentManagerDefault.class);
private final ParticipantUtils participantUtils;
private final TagUserContentManager tagManager;
+ private final ServerToolRegistry tools;
private final UserFinder userFinder;
@Inject
public ContentManagerDefault(final ContentFinder contentFinder, final ContainerFinder containerFinder,
final Provider<EntityManager> provider, final FinderService finder, final UserFinder userFinder,
final I18nLanguageFinder languageFinder, final TagUserContentManager tagManager,
- final KuneWaveService kuneWaveManager, final ParticipantUtils participantUtils) {
+ final KuneWaveService kuneWaveManager, final ParticipantUtils participantUtils,
+ final ServerToolRegistry tools, final XMLActionReader xmlActionReader) {
super(provider, Content.class);
this.contentFinder = contentFinder;
this.containerFinder = containerFinder;
@@ -92,6 +103,8 @@
this.tagManager = tagManager;
this.kuneWaveManager = kuneWaveManager;
this.participantUtils = participantUtils;
+ this.tools = tools;
+ this.actions = xmlActionReader.getActions();
}
@Override
@@ -105,6 +118,12 @@
content.addAuthor(author);
}
+ @Override
+ public void addGadgetToContent(final User user, final Content content, final String gadgetName) {
+ final URL gadgetUrl = getGadgetUrl(gadgetName);
+ addGadgetToContent(user, content, gadgetUrl);
+ }
+
public void addGadgetToContent(final User user, final Content content, final URL gadgetUrl) {
kuneWaveManager.addGadget(KuneWaveServerUtils.getWaveRef(content),
participantUtils.of(user.getShortName()).toString(), gadgetUrl);
@@ -115,7 +134,7 @@
final Content content = finder.getContent(contentId);
if (content.isWave()) {
kuneWaveManager.addParticipants(KuneWaveServerUtils.getWaveRef(content),
- content.getAuthors().get(0).getShortName(), user.getShortName(), participant);
+ getContentAuthor(content), user.getShortName(), participant);
}
}
@@ -151,6 +170,19 @@
return save(newContent);
}
+ @Override
+ public Content createGadget(final User user, final Container container, final String gadgetname,
+ final String typeIdChild, final String title, final String body,
+ final Map<String, String> gadgetProperties) {
+ final String toolName = container.getToolName();
+ final ServerTool tool = tools.get(toolName);
+ tool.checkTypesBeforeContentCreation(container.getTypeId(), typeIdChild);
+ final Content content = createContent(title, body, user, container, typeIdChild,
+ getGadgetUrl(gadgetname), gadgetProperties);
+ tool.onCreateContent(content, container);
+ return content;
+ }
+
private MultiFieldQueryParser createMultiFieldParser() {
final MultiFieldQueryParser parser = new MultiFieldQueryParser(DEF_GLOBAL_SEARCH_FIELDS,
new StandardAnalyzer());
@@ -171,6 +203,23 @@
return initialTitle;
}
+ private String getContentAuthor(final Content content) {
+ return content.getAuthors().get(0).getShortName();
+ }
+
+ private URL getGadgetUrl(final String gadgetname) {
+ URL gadgetUrl = null;
+ final XMLWaveExtension extension = actions.getExtensions().get(gadgetname);
+ assert extension != null;
+ final String urlS = extension.getGadgetUrl();
+ try {
+ gadgetUrl = new URL(urlS);
+ } catch (final MalformedURLException e) {
+ LOG.error("Parsing gadget URL: " + urlS, e);
+ }
+ return gadgetUrl;
+ }
+
@Override
public Double getRateAvg(final Content content) {
return finder.getRateAvg(content);
@@ -247,8 +296,8 @@
}
content.getLastRevision().setTitle(newTitleWithoutNL);
if (content.isWave()) {
- final String author = content.getAuthors().get(0).getShortName();
- kuneWaveManager.setTitle(KuneWaveServerUtils.getWaveRef(content), newTitle, author);
+ kuneWaveManager.setTitle(KuneWaveServerUtils.getWaveRef(content), newTitle,
+ getContentAuthor(content));
}
setModifiedTime(content);
return content;
@@ -310,6 +359,14 @@
}
@Override
+ public void setGadgetProperties(final User user, final Content content, final String gadgetName,
+ final Map<String, String> properties) {
+ final URL gadgetUrl = getGadgetUrl(gadgetName);
+ kuneWaveManager.setGadgetProperty(KuneWaveServerUtils.getWaveRef(content),
+ getContentAuthor(content), gadgetUrl, properties);
+ }
+
+ @Override
public I18nLanguage setLanguage(final User user, final Long contentId, final String languageCode)
throws DefaultException {
final Content content = finder.getContent(contentId);
@@ -361,4 +418,5 @@
final Content content = finder.getContent(contentId);
tagManager.setTags(user, content, tags);
}
+
}
Modified: trunk/src/main/java/cc/kune/core/server/content/CreationService.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/content/CreationService.java 2012-02-22 23:48:59 UTC (rev 1698)
+++ trunk/src/main/java/cc/kune/core/server/content/CreationService.java 2012-02-23 00:55:51 UTC (rev 1699)
@@ -19,8 +19,6 @@
*/
package cc.kune.core.server.content;
-import java.util.Map;
-
import cc.kune.domain.Container;
import cc.kune.domain.Content;
import cc.kune.domain.Group;
@@ -29,18 +27,11 @@
public interface CreationService {
- void addGadgetToContent(User user, Content content, String gadgetName);
-
Content createContent(String title, String body, User user, Container container, String typeId);
Container createFolder(Group group, Long parentFolderId, String name, I18nLanguage language,
String contentTypeId);
- Content createGadget(User user, Container container, String gadgetname, String typeId, String title,
- String body, Map<String, String> gadgetProperties);
-
Container createRootFolder(Group group, String name, String rootName, String typeRoot);
- Content saveContent(User editor, Content descriptor, String content);
-
}
Modified: trunk/src/main/java/cc/kune/core/server/content/CreationServiceDefault.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/content/CreationServiceDefault.java 2012-02-22 23:48:59 UTC (rev 1698)
+++ trunk/src/main/java/cc/kune/core/server/content/CreationServiceDefault.java 2012-02-23 00:55:51 UTC (rev 1699)
@@ -19,16 +19,9 @@
*/
package cc.kune.core.server.content;
-import java.net.MalformedURLException;
import java.net.URL;
import java.util.Collections;
-import java.util.Map;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-import cc.kune.core.client.actions.xml.XMLKuneClientActions;
-import cc.kune.core.client.actions.xml.XMLWaveExtension;
import cc.kune.core.server.tool.ServerTool;
import cc.kune.core.server.tool.ServerToolRegistry;
import cc.kune.core.server.tool.ServerWaveTool;
@@ -44,29 +37,21 @@
@Singleton
public class CreationServiceDefault implements CreationService {
- private final XMLKuneClientActions actions;
+
private final ContainerManager containerManager;
private final ContentManagerDefault contentManager;
- private final Log LOG = LogFactory.getLog(CreationServiceDefault.class);
+
private final ServerToolRegistry tools;
@Inject
public CreationServiceDefault(final ContainerManager containerManager,
- final ContentManager contentManager, final ServerToolRegistry toolRegistry,
- final XMLActionReader xmlActionReader) {
+ final ContentManager contentManager, final ServerToolRegistry toolRegistry) {
this.containerManager = containerManager;
this.contentManager = (ContentManagerDefault) contentManager;
this.tools = toolRegistry;
- this.actions = xmlActionReader.getActions();
}
@Override
- public void addGadgetToContent(final User user, final Content content, final String gadgetName) {
- final URL gadgetUrl = getGadgetUrl(gadgetName);
- contentManager.addGadgetToContent(user, content, gadgetUrl);
- }
-
- @Override
public Content createContent(final String title, final String body, final User user,
final Container container, final String typeId) {
final String toolName = container.getToolName();
@@ -92,41 +77,10 @@
}
@Override
- public Content createGadget(final User user, final Container container, final String gadgetname,
- final String typeIdChild, final String title, final String body,
- final Map<String, String> gadgetProperties) {
- final String toolName = container.getToolName();
- final ServerTool tool = tools.get(toolName);
- tool.checkTypesBeforeContentCreation(container.getTypeId(), typeIdChild);
- final Content content = contentManager.createContent(title, body, user, container, typeIdChild,
- getGadgetUrl(gadgetname), gadgetProperties);
- tool.onCreateContent(content, container);
- return content;
- }
-
- @Override
public Container createRootFolder(final Group group, final String name, final String rootName,
final String typeRoot) {
// FIXME Check that does not exist yet
return containerManager.createRootFolder(group, name, rootName, typeRoot);
}
- private URL getGadgetUrl(final String gadgetname) {
- URL gadgetUrl = null;
- final XMLWaveExtension extension = actions.getExtensions().get(gadgetname);
- assert extension != null;
- final String urlS = extension.getGadgetUrl();
- try {
- gadgetUrl = new URL(urlS);
- } catch (final MalformedURLException e) {
- LOG.error("Parsing gadget URL: " + urlS, e);
- }
- return gadgetUrl;
- }
-
- @Override
- public Content saveContent(final User editor, final Content content, final String body) {
- return contentManager.save(editor, content, body);
- }
-
}
Modified: trunk/src/main/java/cc/kune/core/server/rpc/ContentRPC.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/rpc/ContentRPC.java 2012-02-22 23:48:59 UTC (rev 1698)
+++ trunk/src/main/java/cc/kune/core/server/rpc/ContentRPC.java 2012-02-23 00:55:51 UTC (rev 1699)
@@ -152,7 +152,7 @@
final User user = getCurrentUser();
final Content content = accessService.accessToContent(
ContentUtils.parseId(currentStateToken.getDocument()), user, AccessRol.Editor);
- creationService.addGadgetToContent(user, content, gadgetName);
+ contentManager.addGadgetToContent(user, content, gadgetName);
}
@Override
@@ -176,8 +176,8 @@
final User user = getCurrentUser();
final Container container = accessService.accessToContainer(
ContentUtils.parseId(parentToken.getFolder()), user, AccessRol.Editor);
- final Content addedContent = creationService.createGadget(user, container, gadgetname, typeId,
- title, body, gadgetProperties);
+ final Content addedContent = contentManager.createGadget(user, container, gadgetname, typeId, title,
+ body, gadgetProperties);
return getState(user, addedContent);
}
@@ -460,7 +460,7 @@
final Long contentId = ContentUtils.parseId(token.getDocument());
final User user = getCurrentUser();
final Content content = accessService.accessToContent(contentId, user, AccessRol.Editor);
- creationService.saveContent(user, content, textContent);
+ contentManager.save(user, content, textContent);
}
@Override
@@ -484,6 +484,18 @@
@Override
@Authenticated
+ @Authorizated(actionLevel = ActionLevel.container, accessRolRequired = AccessRol.Editor)
+ @Transactional
+ public void setGadgetProperties(final String userHash, final StateToken currentStateToken,
+ final String gadgetName, final Map<String, String> properties) {
+ final User user = getCurrentUser();
+ final Content content = accessService.accessToContent(
+ ContentUtils.parseId(currentStateToken.getDocument()), user, AccessRol.Editor);
+ contentManager.setGadgetProperties(user, content, gadgetName, properties);
+ }
+
+ @Override
+ @Authenticated
@Authorizated(accessRolRequired = AccessRol.Editor, mustCheckMembership = false)
@Transactional
public I18nLanguageDTO setLanguage(final String userHash, final StateToken token,
Modified: trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPanel.java 2012-02-22 23:48:59 UTC (rev 1698)
+++ trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPanel.java 2012-02-23 00:55:51 UTC (rev 1699)
@@ -19,6 +19,7 @@
import com.bradrydzewski.gwt.calendar.client.Appointment;
import com.bradrydzewski.gwt.calendar.client.Calendar;
+import com.bradrydzewski.gwt.calendar.client.CalendarSettings;
import com.bradrydzewski.gwt.calendar.client.CalendarViews;
import com.bradrydzewski.gwt.calendar.client.event.CreateHandler;
import com.bradrydzewski.gwt.calendar.client.event.DateRequestHandler;
@@ -55,7 +56,13 @@
final ContentCapabilitiesRegistry capabilitiesRegistry, final KuneDragController dragController,
final Provider<FolderViewerDropController> dropControllerProv) {
super(gsArmor, i18n, capabilitiesRegistry, dragController, dropControllerProv);
+ final CalendarSettings settings = new CalendarSettings();
+ settings.setIntervalsPerHour(4);
+ settings.setPixelsPerInterval(10);
+ // settings.setOffsetHourLabels(true);
+ settings.setScrollToHour(8);
calendar = new Calendar();
+ calendar.setSettings(settings);
widget = calendar;
calendar.sinkEvents(Event.ONMOUSEDOWN | Event.ONDBLCLICK | Event.KEYEVENTS | Event.ONMOUSEOVER
| Event.ONCLICK);
Modified: trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java 2012-02-22 23:48:59 UTC (rev 1698)
+++ trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java 2012-02-23 00:55:51 UTC (rev 1699)
@@ -1,6 +1,7 @@
package cc.kune.events.client.viewer;
import java.util.Date;
+import java.util.HashMap;
import java.util.Map;
import javax.annotation.Nonnull;
@@ -10,12 +11,17 @@
import cc.kune.common.client.notify.NotifyUser;
import cc.kune.common.shared.i18n.I18nTranslationService;
import cc.kune.common.shared.res.ICalConstants;
+import cc.kune.common.shared.utils.TextUtils;
+import cc.kune.core.client.rpcservices.ContentServiceAsync;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.core.shared.dto.HasContent;
import cc.kune.core.shared.dto.StateEventContainerDTO;
import cc.kune.events.client.actions.CalendarOnOverMenu;
+import cc.kune.events.shared.DateUtils;
import cc.kune.events.shared.EventsClientConversionUtil;
+import cc.kune.events.shared.EventsConstants;
import cc.kune.gspace.client.viewers.AbstractFolderViewerView;
import cc.kune.gspace.client.viewers.FolderViewerUtils;
@@ -25,6 +31,8 @@
import com.bradrydzewski.gwt.calendar.client.HasAppointments;
import com.bradrydzewski.gwt.calendar.client.HasLayout;
import com.bradrydzewski.gwt.calendar.client.event.CreateHandler;
+import com.bradrydzewski.gwt.calendar.client.event.DeleteEvent;
+import com.bradrydzewski.gwt.calendar.client.event.DeleteHandler;
import com.bradrydzewski.gwt.calendar.client.event.HasDateRequestHandlers;
import com.bradrydzewski.gwt.calendar.client.event.HasDeleteHandlers;
import com.bradrydzewski.gwt.calendar.client.event.HasMouseOverHandlers;
@@ -45,8 +53,10 @@
import com.google.gwt.event.logical.shared.SelectionHandler;
import com.google.gwt.event.shared.EventBus;
import com.google.gwt.event.shared.HandlerRegistration;
+import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.datepicker.client.CalendarUtil;
import com.google.inject.Inject;
+import com.google.inject.Provider;
import com.gwtplatform.mvp.client.Presenter;
import com.gwtplatform.mvp.client.annotations.ProxyCodeSplit;
import com.gwtplatform.mvp.client.proxy.Proxy;
@@ -97,6 +107,7 @@
private static final CalendarViews DEF_VIEW = CalendarViews.DAY;
public Appointment appToEdit = NO_APPOINT;
+ private final Provider<ContentServiceAsync> contentService;
private CalendarViews currentCalView;
private int currentDaysView = 7;
private final FolderViewerUtils folderViewerUtils;
@@ -110,13 +121,14 @@
public CalendarViewerPresenter(final EventBus eventBus, final CalendarViewerView view,
final CalendarViewerProxy proxy, final FolderViewerUtils folderViewerUtils,
final CalendarOnOverMenu onOverMenu, final Session session, final StateManager stateManager,
- final I18nTranslationService i18n) {
+ final I18nTranslationService i18n, final Provider<ContentServiceAsync> contentService) {
super(eventBus, view, proxy);
this.folderViewerUtils = folderViewerUtils;
this.onOverMenu = onOverMenu;
this.session = session;
this.stateManager = stateManager;
this.i18n = i18n;
+ this.contentService = contentService;
addListeners();
setViewImpl(DEF_VIEW, currentDaysView);
}
@@ -127,6 +139,13 @@
}
private void addListeners() {
+ getView().addDeleteHandler(new DeleteHandler<Appointment>() {
+ @Override
+ public void onDelete(final DeleteEvent<Appointment> event) {
+ NotifyUser.info(i18n.t(TextUtils.IN_DEVELOPMENT));
+ event.setCancelled(true);
+ }
+ });
getView().addTimeBlockClickHandler(new TimeBlockClickHandler<Date>() {
@Override
public void onTimeBlockClick(final TimeBlockClickEvent<Date> event) {
@@ -151,8 +170,21 @@
NotifyUser.error(i18n.t("Only members can update events"));
}
event.setCancelled(!editable);
- // event.setCancelled(true);
- // NotifyUser.info("updated handler");
+ final Appointment app = event.getTarget();
+ final Map<String, String> map = new HashMap<String, String>();
+ map.put(ICalConstants.DATE_TIME_START, DateUtils.toString(app.getStart()));
+ map.put(ICalConstants.DATE_TIME_END, DateUtils.toString(app.getEnd()));
+ contentService.get().setGadgetProperties(session.getUserHash(), new StateToken(app.getId()),
+ EventsConstants.TYPE_MEETING_DEF_GADGETNAME, map, new AsyncCallback<Void>() {
+ @Override
+ public void onFailure(final Throwable caught) {
+ event.setCancelled(true);
+ }
+
+ @Override
+ public void onSuccess(final Void result) {
+ }
+ });
hideMenu();
}
});
1
0
Author: vjrj_
Date: 2012-02-23 00:48:59 +0100 (Thu, 23 Feb 2012)
New Revision: 1698
Added:
trunk/src/main/java/cc/kune/core/server/state/StateEventContainer.java
trunk/src/main/java/cc/kune/core/shared/dto/StateEventContainerDTO.java
trunk/src/main/java/cc/kune/events/server/DateServerUtils.java
trunk/src/main/java/cc/kune/events/server/EventsServerConversionUtil.java
trunk/src/main/java/cc/kune/events/shared/EventsClientConversionUtil.java
trunk/src/main/java/cc/kune/events/shared/EventsSharedConversionUtil.java
trunk/src/test/java/cc/kune/events/shared/EventsServerConversionUtilTest.java
Removed:
trunk/src/main/java/cc/kune/events/shared/EventsConversionUtil.java
trunk/src/test/java/cc/kune/events/shared/EventsConversionUtilTest.java
Modified:
trunk/src/main/java/cc/kune/common/shared/res/ICalConstants.java
trunk/src/main/java/cc/kune/core/server/KuneRackModule.java
trunk/src/main/java/cc/kune/core/server/rpc/ContentRPC.java
trunk/src/main/java/cc/kune/core/server/state/StateServiceDefault.java
trunk/src/main/java/cc/kune/events/client/actions/EventAddMenuItem.java
trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPanel.java
trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java
trunk/src/main/java/cc/kune/events/server/CalendarServerUtils.java
trunk/src/main/java/cc/kune/events/shared/DateUtils.java
trunk/src/main/java/cc/kune/wave/server/kspecific/KuneAgent.java
trunk/src/main/java/cc/kune/wave/server/kspecific/KuneWaveService.java
trunk/src/main/java/cc/kune/wave/server/kspecific/KuneWaveServiceDefault.java
trunk/src/main/resources/dozerBeanMapping.xml
trunk/src/test/java/cc/kune/core/server/mapper/MapperTest.java
Log:
NEW - # 158: Add a Calendar view to event tool
http://kune.ourproject.org/issues/ticket/158
Modified: trunk/src/main/java/cc/kune/common/shared/res/ICalConstants.java
===================================================================
--- trunk/src/main/java/cc/kune/common/shared/res/ICalConstants.java 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/main/java/cc/kune/common/shared/res/ICalConstants.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -1,8 +1,10 @@
package cc.kune.common.shared.res;
public class ICalConstants {
+
/* Note that all day events is not supported by ICalendar */
public static final String _ALL_DAY = "ALLDAY";
+ public static final String _INTERNAL_ID = "INTERNALID";
// VTIMEZONE ?? See: TimeZoneConstants in GWT for names and values
public static final String DATE_TIME_END = "DTEND";
public static final String DATE_TIME_START = "DTSTART";
@@ -10,4 +12,6 @@
public static final String LOCATION = "LOCATION";
public static final String ORGANIZER = "ORGANIZER";
public static final String SUMMARY = "SUMMARY";
+ public static final String[] TOTAL_LIST = new String[] { DATE_TIME_START, DATE_TIME_END, DESCRIPTION,
+ LOCATION, ORGANIZER, SUMMARY, _ALL_DAY, _INTERNAL_ID };
}
\ No newline at end of file
Modified: trunk/src/main/java/cc/kune/core/server/KuneRackModule.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/KuneRackModule.java 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/main/java/cc/kune/core/server/KuneRackModule.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -59,6 +59,7 @@
import cc.kune.core.server.rest.UserJSONService;
import cc.kune.core.server.scheduler.CronServerTasksManager;
import cc.kune.docs.server.DocumentServerModule;
+import cc.kune.events.server.CalendarServerUtils;
import cc.kune.events.server.EventsServerModule;
import cc.kune.hspace.client.ClientStatsService;
import cc.kune.lists.client.rpc.ListsService;
@@ -121,7 +122,11 @@
if (sessionScope != null) {
bindScope(SessionScoped.class, sessionScope);
}
+
+ // This can be used also in Gin:
+ // http://code.google.com/p/google-gin/issues/detail?id=60
requestStaticInjection(KuneWaveServerUtils.class);
+ requestStaticInjection(CalendarServerUtils.class);
}
};
}
Modified: trunk/src/main/java/cc/kune/core/server/rpc/ContentRPC.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/rpc/ContentRPC.java 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/main/java/cc/kune/core/server/rpc/ContentRPC.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -50,6 +50,7 @@
import cc.kune.core.server.mapper.Mapper;
import cc.kune.core.server.state.StateContainer;
import cc.kune.core.server.state.StateContent;
+import cc.kune.core.server.state.StateEventContainer;
import cc.kune.core.server.state.StateService;
import cc.kune.core.shared.domain.AccessRol;
import cc.kune.core.shared.domain.ContentStatus;
@@ -62,6 +63,7 @@
import cc.kune.core.shared.dto.StateAbstractDTO;
import cc.kune.core.shared.dto.StateContainerDTO;
import cc.kune.core.shared.dto.StateContentDTO;
+import cc.kune.core.shared.dto.StateEventContainerDTO;
import cc.kune.core.shared.dto.StateNoContentDTO;
import cc.kune.domain.AccessLists;
import cc.kune.domain.Container;
@@ -322,7 +324,9 @@
}
private StateContainerDTO mapState(final StateContainer state, final User user) {
- final StateContainerDTO stateDTO = mapper.map(state, StateContainerDTO.class);
+ final StateContainerDTO stateDTO = state instanceof StateEventContainer ? mapper.map(state,
+ StateEventContainerDTO.class) : mapper.map(state, StateContainerDTO.class);
+
final AccessLists groupAccessList = state.getGroup().getSocialNetwork().getAccessLists();
for (final ContentSimpleDTO siblingDTO : stateDTO.getRootContainer().getContents()) {
mapContentRightsInstate(user, groupAccessList, siblingDTO);
Added: trunk/src/main/java/cc/kune/core/server/state/StateEventContainer.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/state/StateEventContainer.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/server/state/StateEventContainer.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -0,0 +1,21 @@
+package cc.kune.core.server.state;
+
+import java.util.List;
+import java.util.Map;
+
+public class StateEventContainer extends StateContainer {
+
+ private List<Map<String, String>> appointments;
+
+ public StateEventContainer() {
+ }
+
+ public List<Map<String, String>> getAppointments() {
+ return appointments;
+ }
+
+ public void setAppointments(final List<Map<String, String>> appointments) {
+ this.appointments = appointments;
+ }
+
+}
Modified: trunk/src/main/java/cc/kune/core/server/state/StateServiceDefault.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/state/StateServiceDefault.java 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/main/java/cc/kune/core/server/state/StateServiceDefault.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -35,6 +35,8 @@
import cc.kune.domain.License;
import cc.kune.domain.Revision;
import cc.kune.domain.User;
+import cc.kune.events.server.CalendarServerUtils;
+import cc.kune.events.shared.EventsConstants;
import cc.kune.wave.server.kspecific.KuneWaveService;
import com.google.inject.Inject;
@@ -72,7 +74,8 @@
@Override
public StateContainer create(final User userLogged, final Container container) {
- final StateContainer state = new StateContainer();
+ final boolean isCalendar = container.getTypeId().equals(EventsConstants.TYPE_ROOT);
+ final StateContainer state = isCalendar ? new StateEventContainer() : new StateContainer();
state.setTitle(container.getName());
state.setTypeId(container.getTypeId());
state.setLanguage(container.getLanguage());
@@ -82,6 +85,9 @@
state.setAccessLists(container.getAccessLists());
final Group group = container.getOwner();
setCommon(state, userLogged, group, container);
+ if (isCalendar) {
+ ((StateEventContainer) state).setAppointments(CalendarServerUtils.getAppointments(container));
+ }
return state;
}
Added: trunk/src/main/java/cc/kune/core/shared/dto/StateEventContainerDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/StateEventContainerDTO.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/shared/dto/StateEventContainerDTO.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -0,0 +1,21 @@
+package cc.kune.core.shared.dto;
+
+import java.util.List;
+import java.util.Map;
+
+public class StateEventContainerDTO extends StateContainerDTO {
+
+ private List<Map<String, String>> appointments;
+
+ public StateEventContainerDTO() {
+ }
+
+ public List<Map<String, String>> getAppointments() {
+ return appointments;
+ }
+
+ public void setAppointments(final List<Map<String, String>> appointments) {
+ this.appointments = appointments;
+ }
+
+}
Modified: trunk/src/main/java/cc/kune/events/client/actions/EventAddMenuItem.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/EventAddMenuItem.java 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/main/java/cc/kune/events/client/actions/EventAddMenuItem.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -17,7 +17,7 @@
import cc.kune.core.shared.dto.StateContentDTO;
import cc.kune.events.client.viewer.CalendarViewer;
import cc.kune.events.shared.EventsConstants;
-import cc.kune.events.shared.EventsConversionUtil;
+import cc.kune.events.shared.EventsClientConversionUtil;
import com.bradrydzewski.gwt.calendar.client.Appointment;
import com.bradrydzewski.gwt.calendar.client.AppointmentStyle;
@@ -75,7 +75,7 @@
contService.get().addNewContentWithGadgetAndState(session.getUserHash(),
session.getContainerState().getStateToken(),
EventsConstants.TYPE_MEETING_DEF_GADGETNAME, EventsConstants.TYPE_MEETING, title,
- title, EventsConversionUtil.toMap(appt), new AsyncCallbackSimple<StateContentDTO>() {
+ title, EventsClientConversionUtil.toMap(appt), new AsyncCallbackSimple<StateContentDTO>() {
@Override
public void onFailure(final Throwable caught) {
super.onFailure(caught);
Modified: trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPanel.java 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPanel.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -262,8 +262,8 @@
final String dateFormatted = fmt.format(currentDate);
final ForIsWidget docHeader = gsArmor.getDocHeader();
UiUtils.clear(docHeader);
- contentTitle.setTitle(i18n.tWithNT("Events in [%s]", dateFormatted), EventsConstants.TYPE_ROOT,
- null, false);
+ contentTitle.setTitle(i18n.t("Events in [%s]", dateFormatted), EventsConstants.TYPE_ROOT, null,
+ false);
docHeader.add(contentTitle);
}
Modified: trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -1,20 +1,26 @@
package cc.kune.events.client.viewer;
import java.util.Date;
+import java.util.Map;
import javax.annotation.Nonnull;
import cc.kune.common.client.actions.ui.descrip.Position;
+import cc.kune.common.client.log.Log;
import cc.kune.common.client.notify.NotifyUser;
import cc.kune.common.shared.i18n.I18nTranslationService;
+import cc.kune.common.shared.res.ICalConstants;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.dto.HasContent;
+import cc.kune.core.shared.dto.StateEventContainerDTO;
import cc.kune.events.client.actions.CalendarOnOverMenu;
+import cc.kune.events.shared.EventsClientConversionUtil;
import cc.kune.gspace.client.viewers.AbstractFolderViewerView;
import cc.kune.gspace.client.viewers.FolderViewerUtils;
import com.bradrydzewski.gwt.calendar.client.Appointment;
+import com.bradrydzewski.gwt.calendar.client.AppointmentStyle;
import com.bradrydzewski.gwt.calendar.client.CalendarViews;
import com.bradrydzewski.gwt.calendar.client.HasAppointments;
import com.bradrydzewski.gwt.calendar.client.HasLayout;
@@ -233,6 +239,10 @@
updateTitle();
}
+ private boolean isValid(final Appointment app) {
+ return app.getStart() != null && app.getEnd() != null;
+ }
+
@Override
public void removeAppointment(final Appointment app) {
getView().removeAppointment(app);
@@ -246,7 +256,22 @@
@Override
public void setContent(@Nonnull final HasContent state) {
folderViewerUtils.setContent(getView(), state);
+ final StateEventContainerDTO eventState = (StateEventContainerDTO) state;
updateMenuItems();
+ getView().clearAppointments();
+ getView().suspendLayout();
+ for (final Map<String, String> map : eventState.getAppointments()) {
+ final Appointment app = EventsClientConversionUtil.toApp(map);
+ app.setId(map.get(ICalConstants._INTERNAL_ID));
+ app.setStyle(AppointmentStyle.GREEN);
+ if (isValid(app)) {
+ getView().addAppointment(app);
+
+ } else {
+ Log.error("Appointment is not valid: " + app);
+ }
+ }
+ getView().resumeLayout();
}
@Override
Modified: trunk/src/main/java/cc/kune/events/server/CalendarServerUtils.java
===================================================================
--- trunk/src/main/java/cc/kune/events/server/CalendarServerUtils.java 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/main/java/cc/kune/events/server/CalendarServerUtils.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -1,5 +1,12 @@
package cc.kune.events.server;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
import net.fortuna.ical4j.model.Date;
import net.fortuna.ical4j.model.DateTime;
import net.fortuna.ical4j.model.Property;
@@ -12,10 +19,27 @@
import net.fortuna.ical4j.model.property.Location;
import net.fortuna.ical4j.model.property.Summary;
+import org.waveprotocol.wave.model.waveref.InvalidWaveRefException;
+import org.waveprotocol.wave.util.escapers.jvm.JavaWaverefEncoder;
+
+import cc.kune.common.shared.res.ICalConstants;
+import cc.kune.domain.Container;
+import cc.kune.domain.Content;
+import cc.kune.wave.server.kspecific.KuneWaveService;
+
import com.bradrydzewski.gwt.calendar.client.Appointment;
+import com.google.inject.Inject;
+import com.google.wave.api.Gadget;
public class CalendarServerUtils {
+ @Inject
+ private static EventsServerTool eventTool;
+
+ @Inject
+ private static KuneWaveService kuneWaveService;
+ private static final Logger LOG = Logger.getLogger(CalendarServerUtils.class.getName());
+
public static VEvent from(final Appointment app) {
// final TimeZoneRegistry registry =
// TimeZoneRegistryFactory.getInstance().createRegistry();
@@ -52,6 +76,31 @@
return event;
}
+ public static List<Map<String, String>> getAppointments(final Container container) {
+ final List<Map<String, String>> list = new ArrayList<Map<String, String>>();
+ for (final Content content : container.getContents()) {
+ final String waveId = content.getWaveId();
+ try {
+ final Gadget gadget = kuneWaveService.getGadget(
+ JavaWaverefEncoder.decodeWaveRefFromPath(waveId),
+ content.getAuthors().get(0).getShortName(), eventTool.getGadgetUrl());
+ final Map<String, String> gadgetProps = gadget.getProperties();
+ final HashMap<String, String> map = new HashMap<String, String>();
+ for (final String var : ICalConstants.TOTAL_LIST) {
+ final String value = gadgetProps.get(var);
+ if (value != null) {
+ map.put(var, value);
+ }
+ }
+ map.put(ICalConstants._INTERNAL_ID, content.getStateToken().toString());
+ list.add(map);
+ } catch (final InvalidWaveRefException e) {
+ LOG.log(Level.SEVERE, "Invalid Waveref", e);
+ }
+ }
+ return list;
+ }
+
public static Appointment to(final VEvent event) {
final Appointment app = new Appointment();
Added: trunk/src/main/java/cc/kune/events/server/DateServerUtils.java
===================================================================
--- trunk/src/main/java/cc/kune/events/server/DateServerUtils.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/server/DateServerUtils.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -0,0 +1,26 @@
+package cc.kune.events.server;
+
+import java.text.ParseException;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+/**
+ * The Class DateUtils try to follow RFC 2445 date-time formats.
+ *
+ * DTSTART;TZID=US-Eastern:19970714T133000 ;Local time and time ; zone reference
+ */
+public class DateServerUtils {
+
+ private static String RFC_DATE_TIME_FORMAT = "'DTSTART':yyyyMMdd'T'hhmmss";
+ // This is not tested: better use some class conversion util...
+ private static String RFC_DATE_TIME_FORMAT_TZ = "'DTSTART;TZID='z:yyyyMMdd'T'hhmmss";
+ private static SimpleDateFormat rfcDateFormat = new SimpleDateFormat(RFC_DATE_TIME_FORMAT);
+
+ public static Date toDate(final String date) throws ParseException {
+ return rfcDateFormat.parse(date);
+ }
+
+ public static String toString(final Date date) {
+ return rfcDateFormat.format(date);
+ }
+}
Added: trunk/src/main/java/cc/kune/events/server/EventsServerConversionUtil.java
===================================================================
--- trunk/src/main/java/cc/kune/events/server/EventsServerConversionUtil.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/server/EventsServerConversionUtil.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -0,0 +1,44 @@
+package cc.kune.events.server;
+
+import java.text.ParseException;
+import java.util.Map;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+import cc.kune.common.shared.res.ICalConstants;
+import cc.kune.events.shared.EventsSharedConversionUtil;
+
+import com.bradrydzewski.gwt.calendar.client.Appointment;
+
+/**
+ * The Class EventsConversionUtil is used to convert Appointments to Gadgets
+ * properties and viceversa
+ */
+public class EventsServerConversionUtil extends EventsSharedConversionUtil {
+ private static final Logger LOG = Logger.getLogger(EventsServerConversionUtil.class.getName());
+
+ public static Appointment toApp(final Map<String, String> properties) {
+ final Appointment app = EventsSharedConversionUtil.toApp(properties);
+ try {
+ final String start = properties.get(ICalConstants.DATE_TIME_START);
+ if (start != null) {
+ app.setStart(DateServerUtils.toDate(start));
+ }
+ final String end = properties.get(ICalConstants.DATE_TIME_END);
+ if (end != null) {
+ app.setEnd(DateServerUtils.toDate(end));
+ }
+ } catch (final ParseException e) {
+ LOG.log(Level.SEVERE, "Error parsing event", e);
+ }
+ return app;
+ }
+
+ public static Map<String, String> toMap(final Appointment app) {
+ final Map<String, String> properties = EventsSharedConversionUtil.toMap(app);
+ properties.put(ICalConstants.DATE_TIME_START, DateServerUtils.toString(app.getStart()));
+ properties.put(ICalConstants.DATE_TIME_END, DateServerUtils.toString(app.getEnd()));
+ return properties;
+ }
+
+}
Modified: trunk/src/main/java/cc/kune/events/shared/DateUtils.java
===================================================================
--- trunk/src/main/java/cc/kune/events/shared/DateUtils.java 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/main/java/cc/kune/events/shared/DateUtils.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -12,9 +12,9 @@
public class DateUtils {
private static String RFC_DATE_TIME_FORMAT = "'DTSTART':yyyyMMdd'T'hhmmss";
+ // This is not tested
private static String RFC_DATE_TIME_FORMAT_TZ = "'DTSTART;TZID='v:yyyyMMdd'T'hhmmss";
private static DateTimeFormat rfcDateFormat = DateTimeFormat.getFormat(RFC_DATE_TIME_FORMAT);
- private static DateTimeFormat rfcDateFormatTz = DateTimeFormat.getFormat(RFC_DATE_TIME_FORMAT_TZ);
public static Date toDate(final String date) {
return rfcDateFormat.parse(date);
Copied: trunk/src/main/java/cc/kune/events/shared/EventsClientConversionUtil.java (from rev 1691, trunk/src/main/java/cc/kune/events/shared/EventsConversionUtil.java)
===================================================================
--- trunk/src/main/java/cc/kune/events/shared/EventsClientConversionUtil.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/shared/EventsClientConversionUtil.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -0,0 +1,35 @@
+package cc.kune.events.shared;
+
+import java.util.Map;
+
+import cc.kune.common.shared.res.ICalConstants;
+
+import com.bradrydzewski.gwt.calendar.client.Appointment;
+
+/**
+ * The Class EventsConversionUtil is used to convert Appointments to Gadgets
+ * properties and viceversa
+ */
+public class EventsClientConversionUtil extends EventsSharedConversionUtil {
+
+ public static Appointment toApp(final Map<String, String> properties) {
+ final Appointment app = EventsSharedConversionUtil.toApp(properties);
+ final String start = properties.get(ICalConstants.DATE_TIME_START);
+ if (start != null) {
+ app.setStart(DateUtils.toDate(start));
+ }
+ final String end = properties.get(ICalConstants.DATE_TIME_END);
+ if (end != null) {
+ app.setEnd(DateUtils.toDate(end));
+ }
+ return app;
+ }
+
+ public static Map<String, String> toMap(final Appointment app) {
+ final Map<String, String> properties = EventsSharedConversionUtil.toMap(app);
+ properties.put(ICalConstants.DATE_TIME_START, DateUtils.toString(app.getStart()));
+ properties.put(ICalConstants.DATE_TIME_END, DateUtils.toString(app.getEnd()));
+ return properties;
+ }
+
+}
Deleted: trunk/src/main/java/cc/kune/events/shared/EventsConversionUtil.java
===================================================================
--- trunk/src/main/java/cc/kune/events/shared/EventsConversionUtil.java 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/main/java/cc/kune/events/shared/EventsConversionUtil.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -1,38 +0,0 @@
-package cc.kune.events.shared;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import cc.kune.common.shared.res.ICalConstants;
-
-import com.bradrydzewski.gwt.calendar.client.Appointment;
-
-/**
- * The Class EventsConversionUtil is used to convert Appointments to Gadgets
- * properties and viceversa
- */
-public class EventsConversionUtil {
-
- public static Appointment toApp(final Map<String, String> properties) {
- final Appointment app = new Appointment();
- app.setStart(DateUtils.toDate(properties.get(ICalConstants.DATE_TIME_START)));
- app.setEnd(DateUtils.toDate(properties.get(ICalConstants.DATE_TIME_END)));
- app.setDescription(properties.get(ICalConstants.DESCRIPTION));
- app.setTitle(properties.get(ICalConstants.SUMMARY));
- app.setLocation(properties.get(ICalConstants.LOCATION));
- app.setCreatedBy(properties.get(ICalConstants.ORGANIZER));
- return app;
- }
-
- public static Map<String, String> toMap(final Appointment app) {
- final Map<String, String> properties = new HashMap<String, String>();
- properties.put(ICalConstants.DATE_TIME_START, DateUtils.toString(app.getStart()));
- properties.put(ICalConstants.DATE_TIME_END, DateUtils.toString(app.getEnd()));
- properties.put(ICalConstants.SUMMARY, app.getTitle());
- properties.put(ICalConstants.DESCRIPTION, app.getDescription());
- properties.put(ICalConstants.LOCATION, app.getLocation());
- properties.put(ICalConstants.ORGANIZER, app.getCreatedBy());
- return properties;
- }
-
-}
Added: trunk/src/main/java/cc/kune/events/shared/EventsSharedConversionUtil.java
===================================================================
--- trunk/src/main/java/cc/kune/events/shared/EventsSharedConversionUtil.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/shared/EventsSharedConversionUtil.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -0,0 +1,34 @@
+package cc.kune.events.shared;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import cc.kune.common.shared.res.ICalConstants;
+
+import com.bradrydzewski.gwt.calendar.client.Appointment;
+
+/**
+ * The Class EventsSharedConversionUtil is used to convert Appointments to
+ * Gadgets properties and viceversa
+ */
+public abstract class EventsSharedConversionUtil {
+
+ public static Appointment toApp(final Map<String, String> properties) {
+ final Appointment app = new Appointment();
+ app.setDescription(properties.get(ICalConstants.DESCRIPTION));
+ app.setTitle(properties.get(ICalConstants.SUMMARY));
+ app.setLocation(properties.get(ICalConstants.LOCATION));
+ app.setCreatedBy(properties.get(ICalConstants.ORGANIZER));
+ return app;
+ }
+
+ public static Map<String, String> toMap(final Appointment app) {
+ final Map<String, String> properties = new HashMap<String, String>();
+ properties.put(ICalConstants.SUMMARY, app.getTitle());
+ properties.put(ICalConstants.DESCRIPTION, app.getDescription());
+ properties.put(ICalConstants.LOCATION, app.getLocation());
+ properties.put(ICalConstants.ORGANIZER, app.getCreatedBy());
+ return properties;
+ }
+
+}
Modified: trunk/src/main/java/cc/kune/wave/server/kspecific/KuneAgent.java
===================================================================
--- trunk/src/main/java/cc/kune/wave/server/kspecific/KuneAgent.java 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/main/java/cc/kune/wave/server/kspecific/KuneAgent.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -37,6 +37,7 @@
import com.google.inject.Inject;
import com.google.inject.Injector;
import com.google.inject.Singleton;
+import com.google.wave.api.Gadget;
import com.google.wave.api.Participants;
import com.google.wave.api.Wavelet;
@@ -168,6 +169,12 @@
}
@Override
+ public Gadget getGadget(final WaveRef waveletName, final String author, final URL gadgetUrl) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
public Participants getParticipants(final WaveRef waveref, final String author) {
// TODO Auto-generated method stub
return null;
Modified: trunk/src/main/java/cc/kune/wave/server/kspecific/KuneWaveService.java
===================================================================
--- trunk/src/main/java/cc/kune/wave/server/kspecific/KuneWaveService.java 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/main/java/cc/kune/wave/server/kspecific/KuneWaveService.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -29,6 +29,7 @@
import cc.kune.common.shared.utils.SimpleArgCallback;
+import com.google.wave.api.Gadget;
import com.google.wave.api.Participants;
import com.google.wave.api.Wavelet;
@@ -74,6 +75,8 @@
Wavelet fetchWave(WaveRef waveRef, String author);
+ Gadget getGadget(WaveRef waveletName, String author, URL gadgetUrl);
+
Participants getParticipants(WaveRef waveref, String author);
String getTitle(WaveRef waveName, String author);
Modified: trunk/src/main/java/cc/kune/wave/server/kspecific/KuneWaveServiceDefault.java
===================================================================
--- trunk/src/main/java/cc/kune/wave/server/kspecific/KuneWaveServiceDefault.java 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/main/java/cc/kune/wave/server/kspecific/KuneWaveServiceDefault.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -452,6 +452,21 @@
}
@Override
+ public Gadget getGadget(final WaveRef waveletName, final String author, final URL gadgetUrl) {
+ final Wavelet wavelet = fetchWave(waveletName, author);
+ final Blip rootBlip = wavelet.getRootBlip();
+ for (final Element elem : rootBlip.getElements().values()) {
+ if (elem.isGadget()) {
+ final Map<String, String> properties = elem.getProperties();
+ if (properties.get(Gadget.URL).equals(gadgetUrl.toString())) {
+ return (Gadget) elem;
+ }
+ }
+ }
+ return null;
+ }
+
+ @Override
public Participants getParticipants(final WaveRef waveref, final String author) {
return fetchWave(waveref, author).getParticipants();
}
Modified: trunk/src/main/resources/dozerBeanMapping.xml
===================================================================
--- trunk/src/main/resources/dozerBeanMapping.xml 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/main/resources/dozerBeanMapping.xml 2012-02-22 23:48:59 UTC (rev 1698)
@@ -94,6 +94,16 @@
<class-b>cc.kune.core.server.state.StateContainer</class-b>
</mapping>
<mapping>
+ <class-a>cc.kune.core.shared.dto.StateEventContainerDTO</class-a>
+ <class-b>cc.kune.core.server.state.StateEventContainer</class-b>
+ <field>
+ <a>appointments</a>
+ <b>appointments</b>
+ <a-hint>java.util.HashMap</a-hint>
+ <b-hint>java.util.HashMap</b-hint>
+ </field>
+ </mapping>
+ <mapping>
<class-a>cc.kune.core.shared.dto.StateAbstractDTO</class-a>
<class-b>cc.kune.core.server.state.StateAbstract</class-b>
</mapping>
@@ -237,7 +247,7 @@
<class-a> cc.kune.core.shared.dto.SocialNetworkDataDTO </class-a>
<class-b> cc.kune.domain.SocialNetworkData </class-b>
</mapping>
- <mapping>
+ <mapping>
<class-a> cc.kune.core.shared.dto.HomeStatsDTO </class-a>
<class-b> cc.kune.core.server.stats.HomeStats </class-b>
<field>
@@ -252,5 +262,5 @@
<a-hint> cc.kune.core.shared.dto.ContentSimpleDTO </a-hint>
<b-hint> cc.kune.domain.Content </b-hint>
</field>
- </mapping>
+ </mapping>
</mappings>
\ No newline at end of file
Modified: trunk/src/test/java/cc/kune/core/server/mapper/MapperTest.java
===================================================================
--- trunk/src/test/java/cc/kune/core/server/mapper/MapperTest.java 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/test/java/cc/kune/core/server/mapper/MapperTest.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -28,6 +28,7 @@
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
+import java.util.Map;
import java.util.Set;
import org.junit.Before;
@@ -39,6 +40,7 @@
import cc.kune.core.server.TestHelper;
import cc.kune.core.server.manager.GroupManager;
import cc.kune.core.server.state.StateContent;
+import cc.kune.core.server.state.StateEventContainer;
import cc.kune.core.shared.domain.GroupListMode;
import cc.kune.core.shared.domain.SocialNetworkVisibility;
import cc.kune.core.shared.domain.UserSNetVisibility;
@@ -55,6 +57,7 @@
import cc.kune.core.shared.dto.LinkDTO;
import cc.kune.core.shared.dto.SocialNetworkDataDTO;
import cc.kune.core.shared.dto.StateContentDTO;
+import cc.kune.core.shared.dto.StateEventContainerDTO;
import cc.kune.domain.BasicMimeType;
import cc.kune.domain.Container;
import cc.kune.domain.Content;
@@ -172,6 +175,20 @@
}
@Test
+ public void mapEventContainer() {
+ final StateEventContainer c = new StateEventContainer();
+ final HashMap<String, String> map = new HashMap<String, String>();
+ map.put("prop", "value");
+ map.put("prop2", "value2");
+ final List<Map<String, String>> list = new ArrayList<Map<String, String>>();
+ list.add(map);
+ c.setAppointments(list);
+ final StateEventContainerDTO dto = mapper.map(c, StateEventContainerDTO.class);
+ assertEquals(dto.getAppointments().get(0).get("prop"), "value");
+ assertEquals(dto.getAppointments().get(0).get("prop2"), "value2");
+ }
+
+ @Test
public void testContentDescriptorMapping() {
final Content d = createDefContent();
final StateToken expectedToken = new StateToken(TESTGROUPSHORTNAME, TESTTOOL, "1", "1");
Deleted: trunk/src/test/java/cc/kune/events/shared/EventsConversionUtilTest.java
===================================================================
--- trunk/src/test/java/cc/kune/events/shared/EventsConversionUtilTest.java 2012-02-22 20:45:30 UTC (rev 1697)
+++ trunk/src/test/java/cc/kune/events/shared/EventsConversionUtilTest.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -1,28 +0,0 @@
-package cc.kune.events.shared;
-
-import static org.junit.Assert.assertEquals;
-
-import java.util.Map;
-
-import org.junit.Test;
-
-import com.bradrydzewski.gwt.calendar.client.Appointment;
-import com.google.gwt.editor.client.Editor.Ignore;
-
-public class EventsConversionUtilTest extends BasicCalendarTest {
-
- @Test
- @Ignore
- public void testToMap() {
- final Appointment app = createAppointment(false);
- final Map<String, String> map = EventsConversionUtil.toMap(app);
- final Appointment appReConverted = EventsConversionUtil.toApp(map);
- assertEquals(app.getStart(), appReConverted.getStart());
- assertEquals(app.getEnd(), appReConverted.getEnd());
- assertEquals(app.getDescription(), appReConverted.getDescription());
- assertEquals(app.getTitle(), appReConverted.getTitle());
- assertEquals(app.getLocation(), appReConverted.getLocation());
- assertEquals(app.getCreatedBy(), appReConverted.getCreatedBy());
- }
-
-}
Copied: trunk/src/test/java/cc/kune/events/shared/EventsServerConversionUtilTest.java (from rev 1691, trunk/src/test/java/cc/kune/events/shared/EventsConversionUtilTest.java)
===================================================================
--- trunk/src/test/java/cc/kune/events/shared/EventsServerConversionUtilTest.java (rev 0)
+++ trunk/src/test/java/cc/kune/events/shared/EventsServerConversionUtilTest.java 2012-02-22 23:48:59 UTC (rev 1698)
@@ -0,0 +1,28 @@
+package cc.kune.events.shared;
+
+import static org.junit.Assert.assertEquals;
+
+import java.util.Map;
+
+import org.junit.Test;
+
+import com.bradrydzewski.gwt.calendar.client.Appointment;
+import com.google.gwt.editor.client.Editor.Ignore;
+
+public class EventsServerConversionUtilTest extends BasicCalendarTest {
+
+ @Test
+ @Ignore
+ public void testToMap() {
+ final Appointment app = createAppointment(false);
+ final Map<String, String> map = EventsClientConversionUtil.toMap(app);
+ final Appointment appReConverted = EventsClientConversionUtil.toApp(map);
+ assertEquals(app.getStart(), appReConverted.getStart());
+ assertEquals(app.getEnd(), appReConverted.getEnd());
+ assertEquals(app.getDescription(), appReConverted.getDescription());
+ assertEquals(app.getTitle(), appReConverted.getTitle());
+ assertEquals(app.getLocation(), appReConverted.getLocation());
+ assertEquals(app.getCreatedBy(), appReConverted.getCreatedBy());
+ }
+
+}
1
0
22 Feb '12
Author: vjrj_
Date: 2012-02-22 21:45:30 +0100 (Wed, 22 Feb 2012)
New Revision: 1697
Modified:
trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPanel.java
trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java
Log:
NEW - # 158: Add a Calendar view to event tool
http://kune.ourproject.org/issues/ticket/158
Modified: trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPanel.java 2012-02-22 19:41:12 UTC (rev 1696)
+++ trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPanel.java 2012-02-22 20:45:30 UTC (rev 1697)
@@ -4,14 +4,17 @@
import java.util.Date;
import cc.kune.common.client.actions.ui.GuiProvider;
+import cc.kune.common.client.ui.UiUtils;
import cc.kune.common.shared.i18n.I18nTranslationService;
import cc.kune.core.client.dnd.FolderViewerDropController;
import cc.kune.core.client.dnd.KuneDragController;
import cc.kune.core.client.registry.ContentCapabilitiesRegistry;
import cc.kune.core.client.resources.CoreResources;
import cc.kune.events.client.viewer.CalendarViewerPresenter.CalendarViewerView;
+import cc.kune.events.shared.EventsConstants;
import cc.kune.gspace.client.armor.GSpaceArmor;
import cc.kune.gspace.client.viewers.AbstractFolderViewerPanel;
+import cc.kune.gspace.client.viewers.ContentTitleWidget;
import cc.kune.gspace.client.viewers.items.FolderItemDescriptor;
import com.bradrydzewski.gwt.calendar.client.Appointment;
@@ -31,9 +34,11 @@
import com.google.gwt.event.logical.shared.SelectionHandler;
import com.google.gwt.event.shared.GwtEvent;
import com.google.gwt.event.shared.HandlerRegistration;
+import com.google.gwt.i18n.client.DateTimeFormat;
import com.google.gwt.user.client.Event;
import com.google.gwt.user.client.Event.NativePreviewEvent;
import com.google.gwt.user.client.Event.NativePreviewHandler;
+import com.google.gwt.user.client.ui.InsertPanel.ForIsWidget;
import com.google.inject.Inject;
import com.google.inject.Provider;
@@ -42,6 +47,7 @@
private final Calendar calendar;
private int clientX;
private int clientY;
+ private ContentTitleWidget contentTitle;
@Inject
public CalendarViewerPanel(final GSpaceArmor gsArmor, final I18nTranslationService i18n,
@@ -65,6 +71,7 @@
}
}
});
+ contentTitle = new ContentTitleWidget(i18n, gsArmor, capabilitiesRegistry.getIconsRegistry());
}
@Override
@@ -166,6 +173,11 @@
}
@Override
+ public Date getCurrentDate() {
+ return calendar.getDate();
+ }
+
+ @Override
public Date getDate() {
return calendar.getDate();
}
@@ -232,4 +244,27 @@
calendar.suspendLayout();
}
+ @Override
+ public void updateTitle(final CalendarViews currentCalView) {
+ final Date currentDate = getDate();
+ DateTimeFormat fmt = null;
+ // More info about formats:
+ // http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/…
+ switch (currentCalView) {
+ case DAY:
+ case AGENDA:
+ fmt = DateTimeFormat.getFormat("EEEE, MMMM dd, yyyy");
+ break;
+ case MONTH:
+ fmt = DateTimeFormat.getFormat("MMMM yyyy");
+ break;
+ }
+ final String dateFormatted = fmt.format(currentDate);
+ final ForIsWidget docHeader = gsArmor.getDocHeader();
+ UiUtils.clear(docHeader);
+ contentTitle.setTitle(i18n.tWithNT("Events in [%s]", dateFormatted), EventsConstants.TYPE_ROOT,
+ null, false);
+ docHeader.add(contentTitle);
+ }
+
}
Modified: trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java 2012-02-22 19:41:12 UTC (rev 1696)
+++ trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java 2012-02-22 20:45:30 UTC (rev 1697)
@@ -70,6 +70,8 @@
int getClientY();
+ Date getCurrentDate();
+
Date getDate();
void goToday();
@@ -82,6 +84,8 @@
void setView(CalendarViews view);
void setView(CalendarViews view, int days);
+
+ void updateTitle(CalendarViews currentCalView);
}
private static final CalendarViews DEF_VIEW = CalendarViews.DAY;
@@ -171,6 +175,7 @@
@Override
public void attach() {
getView().attach();
+ updateTitle();
}
@Override
@@ -201,6 +206,7 @@
@Override
public void goToday() {
getView().goToday();
+ updateTitle();
}
private void hideMenu() {
@@ -224,6 +230,7 @@
break;
}
setDate(date);
+ updateTitle();
}
@Override
@@ -265,12 +272,14 @@
this.currentCalView = calView;
this.currentDaysView = 1;
getView().setView(calView);
+ updateTitle();
}
private void setViewImpl(final CalendarViews calView, final int days) {
this.currentCalView = calView;
this.currentDaysView = days;
getView().setView(calView, days);
+ updateTitle();
}
private void showMenu() {
@@ -281,4 +290,8 @@
private void updateMenuItems() {
CalendarStateChangeEvent.fire(getEventBus());
}
+
+ private void updateTitle() {
+ getView().updateTitle(currentCalView);
+ }
}
1
0
r1696 - in trunk: . src/main/java/cc/kune/core/client/sitebar/search src/main/java/cc/kune/core/client/sn src/main/java/cc/kune/core/shared/dto src/main/java/cc/kune/events/client/actions
by Vicente J. Ruiz Jurado 22 Feb '12
by Vicente J. Ruiz Jurado 22 Feb '12
22 Feb '12
Author: vjrj_
Date: 2012-02-22 20:41:12 +0100 (Wed, 22 Feb 2012)
New Revision: 1696
Added:
trunk/src/main/java/cc/kune/events/client/actions/EventOpenMenuItem.java
Removed:
trunk/src/main/java/cc/kune/events/client/actions/EventEditMenuItem.java
Modified:
trunk/INSTALL
trunk/src/main/java/cc/kune/core/client/sitebar/search/MultivalueSuggestBox.java
trunk/src/main/java/cc/kune/core/client/sn/GroupSNPanel.java
trunk/src/main/java/cc/kune/core/client/sn/GroupSNPresenter.java
trunk/src/main/java/cc/kune/core/client/sn/UserSNPanel.java
trunk/src/main/java/cc/kune/core/client/sn/UserSNPresenter.java
trunk/src/main/java/cc/kune/core/shared/dto/GroupDTO.java
trunk/src/main/java/cc/kune/core/shared/dto/UserSimpleDTO.java
trunk/src/main/java/cc/kune/events/client/actions/CalendarRolAction.java
trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java
Log:
NEW - # 158: Add a Calendar view to event tool
http://kune.ourproject.org/issues/ticket/158
Modified: trunk/INSTALL
===================================================================
--- trunk/INSTALL 2012-02-22 15:27:06 UTC (rev 1695)
+++ trunk/INSTALL 2012-02-22 19:41:12 UTC (rev 1696)
@@ -245,10 +245,6 @@
This is used to set the database of users of openfire to kune users database table. When you do that you have to follow the next step (or you will get authentication problems).
-Edit the openfire.xml in a terminal:
-* In debian (with a .deb installation) you can to edit the configuration in /etc/openfire directory.
-* In Mac: /usr/local/openfire/conf
-
Also in 'Server > Server Manager > System Properties' set (verify that the mysql connection user and password is the same as the password you choose to configure your database):
jdbcProvider.driver = com.mysql.jdbc.Driver
@@ -266,7 +262,10 @@
jdbcUserProvider.usernameField = shortName
admin.authorizedJIDs = admin@PUT_HERE_YOUR_DOMAIN
-Or, alternatively (if is more easy for you), add these lines to conf/openfire.xml. Again check that the user/passwd of the db is the same here and in kune.properties (the ones configured before):
+Or, alternatively (if is more easy for you), add these lines to conf/openfire.xml
+* In debian (with a .deb installation) you can to edit the configuration in /etc/openfire directory.
+* In Mac: /usr/local/openfire/conf
+(Again check that the user/passwd of the db is the same here and in kune.properties the ones configured before):
<pre>
<jive>
Modified: trunk/src/main/java/cc/kune/core/client/sitebar/search/MultivalueSuggestBox.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sitebar/search/MultivalueSuggestBox.java 2012-02-22 15:27:06 UTC (rev 1695)
+++ trunk/src/main/java/cc/kune/core/client/sitebar/search/MultivalueSuggestBox.java 2012-02-22 19:41:12 UTC (rev 1696)
@@ -880,8 +880,10 @@
final JSONObject jsonOpt = optionsArray.get(i).isObject();
final Option option = new Option();
- option.setName(jsonOpt.get(OptionResultSet.DISPLAY_NAME).isString().stringValue() + " ("
- + jsonOpt.get(OptionResultSet.VALUE).isString().stringValue() + ")");
+
+ final String longName = jsonOpt.get(OptionResultSet.DISPLAY_NAME).isString().stringValue();
+ final String shortName = jsonOpt.get(OptionResultSet.VALUE).isString().stringValue();
+ option.setName(!longName.equals(shortName) ? longName + " (" + shortName + ")" : shortName);
option.setValue(jsonOpt.get(OptionResultSet.VALUE).isString().stringValue());
options.addOption(option);
}
Modified: trunk/src/main/java/cc/kune/core/client/sn/GroupSNPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/GroupSNPanel.java 2012-02-22 15:27:06 UTC (rev 1695)
+++ trunk/src/main/java/cc/kune/core/client/sn/GroupSNPanel.java 2012-02-22 19:41:12 UTC (rev 1696)
@@ -65,8 +65,8 @@
@Override
public void addAdmin(final GroupDTO group, final String avatarUrl, final String tooltip,
final String tooltipTitle, final GuiActionDescCollection menu) {
- final BasicDragableThumb thumb = createThumb(group.getShortName(), avatarUrl, tooltip, tooltipTitle,
- menu);
+ final BasicDragableThumb thumb = createThumb(group.getCompoundName(), avatarUrl, tooltip,
+ tooltipTitle, menu);
firstCategoryFlow.add(group.isPersonal() ? (Widget) decorateAvatarWithXmppStatus(
group.getShortName(), thumb) : thumb);
}
@@ -74,8 +74,8 @@
@Override
public void addCollab(final GroupDTO group, final String avatarUrl, final String tooltip,
final String tooltipTitle, final GuiActionDescCollection menu) {
- final BasicDragableThumb thumb = createThumb(group.getShortName(), avatarUrl, tooltip, tooltipTitle,
- menu);
+ final BasicDragableThumb thumb = createThumb(group.getCompoundName(), avatarUrl, tooltip,
+ tooltipTitle, menu);
sndCategoryFlow.add(group.isPersonal() ? (Widget) decorateAvatarWithXmppStatus(group.getShortName(),
thumb) : thumb);
}
@@ -83,8 +83,8 @@
@Override
public void addPending(final GroupDTO group, final String avatarUrl, final String tooltip,
final String tooltipTitle, final GuiActionDescCollection menu) {
- final BasicDragableThumb thumb = createThumb(group.getShortName(), avatarUrl, tooltip, tooltipTitle,
- menu);
+ final BasicDragableThumb thumb = createThumb(group.getCompoundName(), avatarUrl, tooltip,
+ tooltipTitle, menu);
trdCategoryFlow.add(thumb);
}
Modified: trunk/src/main/java/cc/kune/core/client/sn/GroupSNPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/GroupSNPresenter.java 2012-02-22 15:27:06 UTC (rev 1695)
+++ trunk/src/main/java/cc/kune/core/client/sn/GroupSNPresenter.java 2012-02-22 19:41:12 UTC (rev 1696)
@@ -26,8 +26,8 @@
import cc.kune.core.client.events.SocialNetworkChangedEvent;
import cc.kune.core.client.events.StateChangedEvent;
import cc.kune.core.client.events.UserSignInEvent;
+import cc.kune.core.client.events.UserSignInEvent.UserSignInHandler;
import cc.kune.core.client.events.UserSignOutEvent;
-import cc.kune.core.client.events.UserSignInEvent.UserSignInHandler;
import cc.kune.core.client.events.UserSignOutEvent.UserSignOutHandler;
import cc.kune.core.client.services.ClientFileDownloadUtils;
import cc.kune.core.client.sn.actions.registry.GroupSNAdminsMenuItemsRegistry;
@@ -204,21 +204,26 @@
if (userCanView) {
for (final GroupDTO admin : adminsList) {
final String avatar = getAvatar(admin);
- getView().addAdmin(admin, avatar, admin.getLongName(), "",
- createMenuItems(admin, adminsMenuItemsRegistry, admin.getLongName()));
+ getView().addAdmin(admin, avatar, admin.getCompoundName(), "",
+ createMenuItems(admin, adminsMenuItemsRegistry, admin.getCompoundName()));
}
getView().setCollabsVisible(numCollabs > 0, areMany(numCollabs));
for (final GroupDTO collab : collabList) {
final String avatar = getAvatar(collab);
- getView().addCollab(collab, avatar, collab.getLongName(), "",
- createMenuItems(collab, collabsMenuItemsRegistry, collab.getLongName()));
+ getView().addCollab(collab, avatar, collab.getCompoundName(), "",
+ createMenuItems(collab, collabsMenuItemsRegistry, collab.getCompoundName()));
}
if (userIsAdmin) {
getView().setPendingVisible(numPendings > 0, areMany(numPendings));
for (final GroupDTO pendingCollab : pendingCollabsList) {
final String avatar = getAvatar(pendingCollab);
- getView().addPending(pendingCollab, avatar, pendingCollab.getLongName(), "",
- createMenuItems(pendingCollab, pendingsMenuItemsRegistry, pendingCollab.getLongName()));
+ getView().addPending(
+ pendingCollab,
+ avatar,
+ pendingCollab.getCompoundName(),
+ "",
+ createMenuItems(pendingCollab, pendingsMenuItemsRegistry,
+ pendingCollab.getCompoundName()));
}
} else {
getView().setPendingVisible(false, false);
Modified: trunk/src/main/java/cc/kune/core/client/sn/UserSNPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/UserSNPanel.java 2012-02-22 15:27:06 UTC (rev 1695)
+++ trunk/src/main/java/cc/kune/core/client/sn/UserSNPanel.java 2012-02-22 19:41:12 UTC (rev 1696)
@@ -84,7 +84,7 @@
@Override
public void addParticipation(final GroupDTO group, final String avatarUrl, final String tooltip,
final String tooltipTitle, final GuiActionDescCollection menu) {
- sndCategoryFlow.add(createThumb(group.getShortName(), avatarUrl, tooltip, tooltipTitle, menu));
+ sndCategoryFlow.add(createThumb(group.getCompoundName(), avatarUrl, tooltip, tooltipTitle, menu));
}
@Override
Modified: trunk/src/main/java/cc/kune/core/client/sn/UserSNPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/UserSNPresenter.java 2012-02-22 15:27:06 UTC (rev 1695)
+++ trunk/src/main/java/cc/kune/core/client/sn/UserSNPresenter.java 2012-02-22 19:41:12 UTC (rev 1696)
@@ -27,8 +27,8 @@
import cc.kune.core.client.events.SocialNetworkChangedEvent;
import cc.kune.core.client.events.StateChangedEvent;
import cc.kune.core.client.events.UserSignInEvent;
+import cc.kune.core.client.events.UserSignInEvent.UserSignInHandler;
import cc.kune.core.client.events.UserSignOutEvent;
-import cc.kune.core.client.events.UserSignInEvent.UserSignInHandler;
import cc.kune.core.client.events.UserSignOutEvent.UserSignOutHandler;
import cc.kune.core.client.services.ClientFileDownloadUtils;
import cc.kune.core.client.sn.UserSNPresenter.UserSNProxy;
@@ -179,8 +179,8 @@
final List<UserSimpleDTO> buddies = userBuddiesData.getBuddies();
for (final UserSimpleDTO user : buddies) {
final String avatarUrl = downloadProvider.get().getUserAvatar(user);
- getView().addBuddie(user, avatarUrl, user.getName(), "",
- createMenuItems(user, userMenuItemsRegistry, user.getName()));
+ getView().addBuddie(user, avatarUrl, user.getCompoundName(), "",
+ createMenuItems(user, userMenuItemsRegistry, user.getCompoundName()));
}
final boolean hasLocalBuddies = buddies.size() > 0;
final int numExtBuddies = userBuddiesData.getOtherExtBuddies();
@@ -211,12 +211,12 @@
final int numAdmins = groupsIsAdmin.size();
final int numCollaborators = groupsIsCollab.size();
for (final GroupDTO group : groupsIsAdmin) {
- getView().addParticipation(group, getAvatar(group), group.getLongName(), "",
- createMenuItems(group, userMenuItemsRegistry, group.getLongName()));
+ getView().addParticipation(group, getAvatar(group), group.getCompoundName(), "",
+ createMenuItems(group, userMenuItemsRegistry, group.getCompoundName()));
}
for (final GroupDTO group : groupsIsCollab) {
- getView().addParticipation(group, getAvatar(group), group.getLongName(), "",
- createMenuItems(group, userMenuItemsRegistry, group.getLongName()));
+ getView().addParticipation(group, getAvatar(group), group.getCompoundName(), "",
+ createMenuItems(group, userMenuItemsRegistry, group.getCompoundName()));
}
final int totalGroups = numAdmins + numCollaborators;
// getView().setParticipationCount(totalGroups);
Modified: trunk/src/main/java/cc/kune/core/shared/dto/GroupDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/GroupDTO.java 2012-02-22 15:27:06 UTC (rev 1695)
+++ trunk/src/main/java/cc/kune/core/shared/dto/GroupDTO.java 2012-02-22 19:41:12 UTC (rev 1696)
@@ -28,6 +28,7 @@
AdmissionType admissionType;
private String backgroundImage;
+ private String compoundName;
private Long createdOn;
private ContentSimpleDTO defaultContent;
private LicenseDTO defaultLicense;
@@ -79,6 +80,13 @@
return backgroundImage;
}
+ public String getCompoundName() {
+ if (compoundName == null) {
+ compoundName = !longName.equals(shortName) ? longName + " (" + shortName + ")" : shortName;
+ }
+ return compoundName;
+ }
+
public Long getCreatedOn() {
return createdOn;
}
Modified: trunk/src/main/java/cc/kune/core/shared/dto/UserSimpleDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/UserSimpleDTO.java 2012-02-22 15:27:06 UTC (rev 1695)
+++ trunk/src/main/java/cc/kune/core/shared/dto/UserSimpleDTO.java 2012-02-22 19:41:12 UTC (rev 1696)
@@ -25,6 +25,7 @@
import com.google.gwt.user.client.rpc.IsSerializable;
public class UserSimpleDTO implements IsSerializable {
+ private String compoundName;
private I18nCountryDTO country;
private EmailNotificationFrequency emailNotifFreq;
private boolean emailVerified;
@@ -47,6 +48,7 @@
this.language = language;
this.country = country;
this.timezone = timezone;
+
}
@Override
@@ -78,6 +80,13 @@
return true;
}
+ public String getCompoundName() {
+ if (compoundName == null) {
+ compoundName = !name.equals(shortName) ? name + " (" + shortName + ")" : shortName;
+ }
+ return compoundName;
+ }
+
public I18nCountryDTO getCountry() {
return country;
}
Modified: trunk/src/main/java/cc/kune/events/client/actions/CalendarRolAction.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/CalendarRolAction.java 2012-02-22 15:27:06 UTC (rev 1695)
+++ trunk/src/main/java/cc/kune/events/client/actions/CalendarRolAction.java 2012-02-22 19:41:12 UTC (rev 1696)
@@ -23,7 +23,7 @@
public void onCalendarStateChange(final CalendarStateChangeEvent event) {
// if the calendar is not selecting a appointment don't show this
final AccessRights rights = session.getContainerState().getContainerRights();
- final boolean isEnabled = RolComparator.isEnabled(AccessRolDTO.Editor, rights);
+ final boolean isEnabled = RolComparator.isEnabled(rolRequired, rights);
final boolean isMember = RolComparator.isMember(rights);
final boolean isOnApp = !calendar.get().getAppToEdit().equals(CalendarViewer.NO_APPOINT);
final boolean newEnabled = isMember && isEnabled && (!onlyOnApp || isOnApp);
Deleted: trunk/src/main/java/cc/kune/events/client/actions/EventEditMenuItem.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/EventEditMenuItem.java 2012-02-22 15:27:06 UTC (rev 1695)
+++ trunk/src/main/java/cc/kune/events/client/actions/EventEditMenuItem.java 2012-02-22 19:41:12 UTC (rev 1696)
@@ -1,45 +0,0 @@
-package cc.kune.events.client.actions;
-
-import cc.kune.common.client.actions.ActionEvent;
-import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
-import cc.kune.common.shared.i18n.I18nTranslationService;
-import cc.kune.core.client.resources.nav.NavResources;
-import cc.kune.core.client.state.AccessRightsClientManager;
-import cc.kune.core.client.state.Session;
-import cc.kune.core.client.state.StateManager;
-import cc.kune.core.shared.dto.AccessRolDTO;
-import cc.kune.events.client.viewer.CalendarViewer;
-
-import com.google.gwt.event.shared.EventBus;
-import com.google.inject.Inject;
-import com.google.inject.Provider;
-import com.google.inject.Singleton;
-
-@Singleton
-public class EventEditMenuItem extends MenuItemDescriptor {
- public static class EventEditAction extends CalendarRolAction {
- private final Provider<CalendarViewer> calendar;
- private final StateManager stateManager;
-
- @Inject
- public EventEditAction(final NavResources res, final I18nTranslationService i18n,
- final Provider<CalendarViewer> calendar, final EventBus eventBus,
- final StateManager stateManager, final Session session, final AccessRightsClientManager rightsMan) {
- super(eventBus, session, calendar, AccessRolDTO.Editor, true, true);
- this.calendar = calendar;
- this.stateManager = stateManager;
- withText(i18n.t("Edit the appointment")).withIcon(res.go());
- }
-
- @Override
- public void actionPerformed(final ActionEvent event) {
- stateManager.gotoHistoryToken(calendar.get().getAppToEdit().getId());
- }
- }
-
- @Inject
- public EventEditMenuItem(final EventEditAction action, final CalendarOnOverMenu cal) {
- super(action);
- setParent(cal.get());
- }
-}
Copied: trunk/src/main/java/cc/kune/events/client/actions/EventOpenMenuItem.java (from rev 1694, trunk/src/main/java/cc/kune/events/client/actions/EventEditMenuItem.java)
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/EventOpenMenuItem.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/client/actions/EventOpenMenuItem.java 2012-02-22 19:41:12 UTC (rev 1696)
@@ -0,0 +1,45 @@
+package cc.kune.events.client.actions;
+
+import cc.kune.common.client.actions.ActionEvent;
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
+import cc.kune.common.shared.i18n.I18nTranslationService;
+import cc.kune.core.client.resources.nav.NavResources;
+import cc.kune.core.client.state.AccessRightsClientManager;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.core.shared.dto.AccessRolDTO;
+import cc.kune.events.client.viewer.CalendarViewer;
+
+import com.google.gwt.event.shared.EventBus;
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+import com.google.inject.Singleton;
+
+@Singleton
+public class EventOpenMenuItem extends MenuItemDescriptor {
+ public static class EventEditAction extends CalendarRolAction {
+ private final Provider<CalendarViewer> calendar;
+ private final StateManager stateManager;
+
+ @Inject
+ public EventEditAction(final NavResources res, final I18nTranslationService i18n,
+ final Provider<CalendarViewer> calendar, final EventBus eventBus,
+ final StateManager stateManager, final Session session, final AccessRightsClientManager rightsMan) {
+ super(eventBus, session, calendar, AccessRolDTO.Viewer, false, true);
+ this.calendar = calendar;
+ this.stateManager = stateManager;
+ withText(i18n.t("Open the appointment")).withIcon(res.go());
+ }
+
+ @Override
+ public void actionPerformed(final ActionEvent event) {
+ stateManager.gotoHistoryToken(calendar.get().getAppToEdit().getId());
+ }
+ }
+
+ @Inject
+ public EventOpenMenuItem(final EventEditAction action, final CalendarOnOverMenu cal) {
+ super(action);
+ setParent(cal.get());
+ }
+}
Modified: trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java 2012-02-22 15:27:06 UTC (rev 1695)
+++ trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java 2012-02-22 19:41:12 UTC (rev 1696)
@@ -55,7 +55,7 @@
final Provider<CalendarMonthViewSelectBtn> calMonthBtn,
final Provider<EventAddMenuItem> eventAddMenuItem,
final Provider<EventRemoveMenuItem> eventRemoveMenuItem,
- final Provider<EventEditMenuItem> eventEditMenuItem, final Provider<CalendarGoPrevBtn> calPrevBtn,
+ final Provider<EventOpenMenuItem> eventOpenMenuItem, final Provider<CalendarGoPrevBtn> calPrevBtn,
final Provider<CalendarGoNextBtn> calNextBtn, final CalendarOnOverMenu onOverMenu,
final Provider<CalendarGoTodayBtn> goToday, final Provider<RefreshContentMenuItem> refresh) {
super(session, stateManager, i18n, registry);
@@ -74,15 +74,8 @@
// On over calendar menu
actionsRegistry.addAction(ActionGroups.TOOLBAR, onOverMenu, containers);
- // actionsRegistry.addAction(ActionGroups.TOOLBAR, eventAddMenuItem,
- // containers);
- // actionsRegistry.addAction(ActionGroups.TOOLBAR, eventEditMenuItem,
- // containers);
- // actionsRegistry.addAction(ActionGroups.TOOLBAR, eventRemoveMenuItem,
- // containers);
-
eventAddMenuItem.get();
- eventEditMenuItem.get();
+ eventOpenMenuItem.get();
eventRemoveMenuItem.get();
// For now, commented:
1
0
Author: vjrj_
Date: 2012-02-22 16:27:06 +0100 (Wed, 22 Feb 2012)
New Revision: 1695
Modified:
trunk/script/server.sh
Log:
server memory params
Modified: trunk/script/server.sh
===================================================================
--- trunk/script/server.sh 2012-02-22 14:33:28 UTC (rev 1694)
+++ trunk/script/server.sh 2012-02-22 15:27:06 UTC (rev 1695)
@@ -11,6 +11,8 @@
or adding -Dgwt.compiler.skip=true to skip compilation
-a: run as a daemon (only root user)
-l LOGLEVEL : IGNORE|DEBUG|INFO|WARN
+-x: -Xmx memory value
+-m: -Xms memory value
Debug Options:
-d: debug
@@ -40,8 +42,10 @@
LOG_LEVEL="INFO"
LOGFILE=/var/log/kune.log
PIDFILE=/var/run/kune.pid
+MX=""
+MS=""
-while getopts “hj:k:w:s:up:l:da” OPTION
+while getopts “hm:x:j:k:w:s:up:l:da” OPTION
do
case $OPTION in
h)
@@ -60,6 +64,12 @@
s)
JAAS_CONFIG=$OPTARG
;;
+ x)
+ MX="-Xmx"$OPTARG
+ ;;
+ m)
+ MS="-Xms"$OPTARG
+ ;;
p)
# Debug port
PORT=$OPTARG
@@ -124,6 +134,8 @@
-Djava.security.auth.login.config=$JAAS_CONFIG \
-Dkune.server.config=$KUNE_CONFIG \
-Dwave.server.config=$WAVE_CONFIG \
+ $MS \
+ $MX \
-jar $JAR </dev/null > $LOGFILE 2>&1 &
echo $! > $PIDFILE
else
@@ -132,6 +144,8 @@
-Djava.security.auth.login.config=$JAAS_CONFIG \
-Dkune.server.config=$KUNE_CONFIG \
-Dwave.server.config=$WAVE_CONFIG \
+ $MS \
+ $MX \
-jar $JAR
fi
fi
1
0
r1694 - in trunk/src/main/java/cc/kune: core/client/actions events/client/actions events/client/viewer
by Vicente J. Ruiz Jurado 22 Feb '12
by Vicente J. Ruiz Jurado 22 Feb '12
22 Feb '12
Author: vjrj_
Date: 2012-02-22 15:33:28 +0100 (Wed, 22 Feb 2012)
New Revision: 1694
Added:
trunk/src/main/java/cc/kune/events/client/actions/CalendarRolAction.java
Modified:
trunk/src/main/java/cc/kune/core/client/actions/RolActionAutoUpdated.java
trunk/src/main/java/cc/kune/events/client/actions/CalendarOnOverMenu.java
trunk/src/main/java/cc/kune/events/client/actions/EventAddMenuItem.java
trunk/src/main/java/cc/kune/events/client/actions/EventEditMenuItem.java
trunk/src/main/java/cc/kune/events/client/actions/EventRemoveMenuItem.java
trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java
trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java
Log:
NEW - # 158: Add a Calendar view to event tool
http://kune.ourproject.org/issues/ticket/158
Modified: trunk/src/main/java/cc/kune/core/client/actions/RolActionAutoUpdated.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/actions/RolActionAutoUpdated.java 2012-02-22 10:54:28 UTC (rev 1693)
+++ trunk/src/main/java/cc/kune/core/client/actions/RolActionAutoUpdated.java 2012-02-22 14:33:28 UTC (rev 1694)
@@ -59,25 +59,23 @@
public void refreshStatus(final AccessRolDTO rolRequired, final boolean authNeed,
final boolean isLogged, final boolean visibleForMembers, final boolean visibleForNonMemb,
final AccessRights newRights) {
- boolean newVisibility = false;
boolean newEnabled = false;
if (authNeed && !isLogged) {
- newVisibility = newEnabled = false;
+ newEnabled = false;
} else {
// Auth ok
newEnabled = RolComparator.isEnabled(rolRequired, newRights);
if (newEnabled) {
final boolean isMember = RolComparator.isMember(newRights);
- newEnabled = newVisibility = isMember && visibleForMembers || !isMember && visibleForNonMemb;
- } else {
- newVisibility = false;
+ newEnabled = isMember && visibleForMembers || !isMember && visibleForNonMemb;
}
}
setEnabled(!newEnabled);
setEnabled(newEnabled);
+
// Workaround to force change ...
- putValue(GuiActionDescrip.VISIBLE, !newVisibility);
- putValue(GuiActionDescrip.VISIBLE, newVisibility);
+ putValue(GuiActionDescrip.VISIBLE, !newEnabled);
+ putValue(GuiActionDescrip.VISIBLE, newEnabled);
// NotifyUser.info("Set '" + getValue(Action.NAME) + "' visible: " +
// newVisibility, true);
}
Modified: trunk/src/main/java/cc/kune/events/client/actions/CalendarOnOverMenu.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/CalendarOnOverMenu.java 2012-02-22 10:54:28 UTC (rev 1693)
+++ trunk/src/main/java/cc/kune/events/client/actions/CalendarOnOverMenu.java 2012-02-22 14:33:28 UTC (rev 1694)
@@ -4,7 +4,9 @@
import cc.kune.gspace.client.actions.StandaloneMenuProvider;
import com.google.inject.Inject;
+import com.google.inject.Singleton;
+@Singleton
public class CalendarOnOverMenu extends StandaloneMenuProvider {
@Inject
Added: trunk/src/main/java/cc/kune/events/client/actions/CalendarRolAction.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/CalendarRolAction.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/client/actions/CalendarRolAction.java 2012-02-22 14:33:28 UTC (rev 1694)
@@ -0,0 +1,36 @@
+package cc.kune.events.client.actions;
+
+import cc.kune.core.client.actions.RolAction;
+import cc.kune.core.client.actions.RolComparator;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.shared.domain.utils.AccessRights;
+import cc.kune.core.shared.dto.AccessRolDTO;
+import cc.kune.events.client.viewer.CalendarStateChangeEvent;
+import cc.kune.events.client.viewer.CalendarViewer;
+
+import com.google.gwt.event.shared.EventBus;
+import com.google.inject.Provider;
+
+public abstract class CalendarRolAction extends RolAction {
+
+ public CalendarRolAction(final EventBus eventBus, final Session session,
+ final Provider<CalendarViewer> calendar, final AccessRolDTO rolRequired, final boolean authNeed,
+ final boolean onlyOnApp) {
+ super(rolRequired, authNeed);
+ eventBus.addHandler(CalendarStateChangeEvent.getType(),
+ new CalendarStateChangeEvent.CalendarStateChangeHandler() {
+ @Override
+ public void onCalendarStateChange(final CalendarStateChangeEvent event) {
+ // if the calendar is not selecting a appointment don't show this
+ final AccessRights rights = session.getContainerState().getContainerRights();
+ final boolean isEnabled = RolComparator.isEnabled(AccessRolDTO.Editor, rights);
+ final boolean isMember = RolComparator.isMember(rights);
+ final boolean isOnApp = !calendar.get().getAppToEdit().equals(CalendarViewer.NO_APPOINT);
+ final boolean newEnabled = isMember && isEnabled && (!onlyOnApp || isOnApp);
+ setEnabled(!newEnabled);
+ setEnabled(newEnabled);
+ }
+ });
+ }
+
+}
Modified: trunk/src/main/java/cc/kune/events/client/actions/EventAddMenuItem.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/EventAddMenuItem.java 2012-02-22 10:54:28 UTC (rev 1693)
+++ trunk/src/main/java/cc/kune/events/client/actions/EventAddMenuItem.java 2012-02-22 14:33:28 UTC (rev 1694)
@@ -7,11 +7,11 @@
import cc.kune.common.client.ui.dialogs.PromptTopDialog;
import cc.kune.common.client.ui.dialogs.PromptTopDialog.Builder;
import cc.kune.common.shared.i18n.I18nTranslationService;
-import cc.kune.core.client.actions.RolAction;
import cc.kune.core.client.resources.nav.NavResources;
import cc.kune.core.client.rpcservices.AsyncCallbackSimple;
import cc.kune.core.client.rpcservices.ContentServiceAsync;
import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.SessionConstants;
import cc.kune.core.shared.dto.AccessRolDTO;
import cc.kune.core.shared.dto.StateContentDTO;
@@ -23,13 +23,14 @@
import com.bradrydzewski.gwt.calendar.client.AppointmentStyle;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
+import com.google.gwt.event.shared.EventBus;
import com.google.inject.Inject;
import com.google.inject.Provider;
import com.google.inject.Singleton;
@Singleton
public class EventAddMenuItem extends MenuItemDescriptor {
- public static class EventAddAction extends RolAction {
+ public static class EventAddAction extends CalendarRolAction {
private final Provider<CalendarViewer> calendar;
private final Provider<ContentServiceAsync> contService;
private PromptTopDialog dialog;
@@ -39,8 +40,8 @@
@Inject
public EventAddAction(final NavResources res, final I18nTranslationService i18n,
final Provider<CalendarViewer> calendar, final Provider<ContentServiceAsync> contService,
- final Session session) {
- super(AccessRolDTO.Editor, true);
+ final Session session, final StateManager stateManager, final EventBus eventBus) {
+ super(eventBus, session, calendar, AccessRolDTO.Editor, true, false);
this.i18n = i18n;
this.calendar = calendar;
this.contService = contService;
Modified: trunk/src/main/java/cc/kune/events/client/actions/EventEditMenuItem.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/EventEditMenuItem.java 2012-02-22 10:54:28 UTC (rev 1693)
+++ trunk/src/main/java/cc/kune/events/client/actions/EventEditMenuItem.java 2012-02-22 14:33:28 UTC (rev 1694)
@@ -2,13 +2,12 @@
import cc.kune.common.client.actions.ActionEvent;
import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
-import cc.kune.common.client.ui.dialogs.PromptTopDialog;
import cc.kune.common.shared.i18n.I18nTranslationService;
-import cc.kune.core.client.actions.RolAction;
import cc.kune.core.client.resources.nav.NavResources;
+import cc.kune.core.client.state.AccessRightsClientManager;
+import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.dto.AccessRolDTO;
-import cc.kune.events.client.viewer.CalendarStateChangeEvent;
import cc.kune.events.client.viewer.CalendarViewer;
import com.google.gwt.event.shared.EventBus;
@@ -18,28 +17,18 @@
@Singleton
public class EventEditMenuItem extends MenuItemDescriptor {
- public static class EventEditAction extends RolAction {
+ public static class EventEditAction extends CalendarRolAction {
private final Provider<CalendarViewer> calendar;
- private PromptTopDialog dialog;
- private final I18nTranslationService i18n;
private final StateManager stateManager;
@Inject
public EventEditAction(final NavResources res, final I18nTranslationService i18n,
- final Provider<CalendarViewer> calendar, final EventBus eventBus, final StateManager stateManager) {
- super(AccessRolDTO.Administrator, true);
- this.i18n = i18n;
+ final Provider<CalendarViewer> calendar, final EventBus eventBus,
+ final StateManager stateManager, final Session session, final AccessRightsClientManager rightsMan) {
+ super(eventBus, session, calendar, AccessRolDTO.Editor, true, true);
this.calendar = calendar;
this.stateManager = stateManager;
withText(i18n.t("Edit the appointment")).withIcon(res.go());
- eventBus.addHandler(CalendarStateChangeEvent.getType(),
- new CalendarStateChangeEvent.CalendarStateChangeHandler() {
- @Override
- public void onCalendarStateChange(final CalendarStateChangeEvent event) {
- // if the calendar is not selecting a appointment don't show this
- setEnabled(!calendar.get().getAppToEdit().equals(CalendarViewer.NO_APPOINT));
- }
- });
}
@Override
Modified: trunk/src/main/java/cc/kune/events/client/actions/EventRemoveMenuItem.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/EventRemoveMenuItem.java 2012-02-22 10:54:28 UTC (rev 1693)
+++ trunk/src/main/java/cc/kune/events/client/actions/EventRemoveMenuItem.java 2012-02-22 14:33:28 UTC (rev 1694)
@@ -6,10 +6,11 @@
import cc.kune.common.client.ui.dialogs.PromptTopDialog;
import cc.kune.common.shared.i18n.I18nTranslationService;
import cc.kune.common.shared.utils.TextUtils;
-import cc.kune.core.client.actions.RolAction;
import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.state.AccessRightsClientManager;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.dto.AccessRolDTO;
-import cc.kune.events.client.viewer.CalendarStateChangeEvent;
import cc.kune.events.client.viewer.CalendarViewer;
import com.google.gwt.event.shared.EventBus;
@@ -19,25 +20,19 @@
@Singleton
public class EventRemoveMenuItem extends MenuItemDescriptor {
- public static class EventEditAction extends RolAction {
+ public static class EventEditAction extends CalendarRolAction {
private final Provider<CalendarViewer> calendar;
private PromptTopDialog dialog;
private final I18nTranslationService i18n;
@Inject
public EventEditAction(final CoreResources res, final I18nTranslationService i18n,
- final Provider<CalendarViewer> calendar, final EventBus eventBus) {
- super(AccessRolDTO.Editor, true);
+ final Provider<CalendarViewer> calendar, final EventBus eventBus, final Session session,
+ final StateManager stateManager, final AccessRightsClientManager rightsMan) {
+ super(eventBus, session, calendar, AccessRolDTO.Administrator, true, true);
this.i18n = i18n;
this.calendar = calendar;
withText(i18n.t("Remove this appointment")).withIcon(res.cancel());
- eventBus.addHandler(CalendarStateChangeEvent.getType(),
- new CalendarStateChangeEvent.CalendarStateChangeHandler() {
- @Override
- public void onCalendarStateChange(final CalendarStateChangeEvent event) {
- setEnabled(!calendar.get().getAppToEdit().equals(CalendarViewer.NO_APPOINT));
- }
- });
}
@Override
Modified: trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java 2012-02-22 10:54:28 UTC (rev 1693)
+++ trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java 2012-02-22 14:33:28 UTC (rev 1694)
@@ -73,6 +73,14 @@
// On over calendar menu
actionsRegistry.addAction(ActionGroups.TOOLBAR, onOverMenu, containers);
+
+ // actionsRegistry.addAction(ActionGroups.TOOLBAR, eventAddMenuItem,
+ // containers);
+ // actionsRegistry.addAction(ActionGroups.TOOLBAR, eventEditMenuItem,
+ // containers);
+ // actionsRegistry.addAction(ActionGroups.TOOLBAR, eventRemoveMenuItem,
+ // containers);
+
eventAddMenuItem.get();
eventEditMenuItem.get();
eventRemoveMenuItem.get();
Modified: trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java 2012-02-22 10:54:28 UTC (rev 1693)
+++ trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java 2012-02-22 14:33:28 UTC (rev 1694)
@@ -150,6 +150,8 @@
@Override
public void onOpen(final OpenEvent<Appointment> event) {
// NotifyUser.info("open handler");
+ updateMenuItems();
+ showMenu();
}
});
getView().addSelectionHandler(new SelectionHandler<Appointment>() {
@@ -158,8 +160,10 @@
appToEdit = event.getSelectedItem();
onOverDate = event.getSelectedItem().getStart();
// NotifyUser.info("on selection");
- updateMenuItems();
- showMenu();
+
+ // This is not very usable:
+ // updateMenuItems();
+ // showMenu();
}
});
}
@@ -235,6 +239,7 @@
@Override
public void setContent(@Nonnull final HasContent state) {
folderViewerUtils.setContent(getView(), state);
+ updateMenuItems();
}
@Override
1
0
Author: vjrj_
Date: 2012-02-22 11:54:28 +0100 (Wed, 22 Feb 2012)
New Revision: 1693
Modified:
trunk/INSTALL
Log:
INSTALL update to help W$ openfire instalation
Modified: trunk/INSTALL
===================================================================
--- trunk/INSTALL 2012-02-22 01:51:24 UTC (rev 1692)
+++ trunk/INSTALL 2012-02-22 10:54:28 UTC (rev 1693)
@@ -249,8 +249,25 @@
* In debian (with a .deb installation) you can to edit the configuration in /etc/openfire directory.
* In Mac: /usr/local/openfire/conf
-Add these lines to conf/openfire.xml and check that the user/passwd of the db is the same here and in kune.properties (the ones configured before):
+Also in 'Server > Server Manager > System Properties' set (verify that the mysql connection user and password is the same as the password you choose to configure your database):
+jdbcProvider.driver = com.mysql.jdbc.Driver
+jdbcProvider.connectionString = jdbc:mysql://localhost/kune_dev?user=kune&password=db4kune&useUnicode=true&characterEncoding=utf-8
+provider.auth.className = org.jivesoftware.openfire.auth.JDBCAuthProvider
+provider.user.className = org.jivesoftware.openfire.user.JDBCUserProvider
+jdbcAuthProvider.passwordSQL = SELECT password FROM kune_dev.kusers WHERE shortName=?
+jdbcAuthProvider.passwordType = plain
+jdbcUserProvider.allUsersSQL = SELECT shortName FROM kune_dev.kusers
+jdbcUserProvider.emailField = email
+jdbcUserProvider.loadUserSQL = SELECT shortName,email FROM kune_dev.kusers WHERE shortName=?
+jdbcUserProvider.nameField = name
+jdbcUserProvider.searchSQL = SELECT shortName FROM kune_dev.kusers WHERE
+jdbcUserProvider.userCountSQL = SELECT COUNT(*) FROM kune_dev.kusers
+jdbcUserProvider.usernameField = shortName
+admin.authorizedJIDs = admin@PUT_HERE_YOUR_DOMAIN
+
+Or, alternatively (if is more easy for you), add these lines to conf/openfire.xml. Again check that the user/passwd of the db is the same here and in kune.properties (the ones configured before):
+
<pre>
<jive>
...
@@ -291,7 +308,7 @@
<jdbcUserProvider/>
<admin/>
-(Be sure that the password matches if you changed de default password 'db4kune', also the database name if you use another different like production one).
+(Be sure that the user and the password matches if you changed de default password 'db4kune', also the database name if you use another different like production one).
When you add this to the configuration and you restart, openfire will import (and remove) this part of the configuration to its database so you will see it in 'Server > Server Manager > System Properties'.
1
0
Author: vjrj_
Date: 2012-02-22 02:51:24 +0100 (Wed, 22 Feb 2012)
New Revision: 1692
Added:
trunk/docs/tutorials/
trunk/docs/tutorials/docs.svg
trunk/docs/tutorials/lang.js
Log:
svg tool tutorials
Added: trunk/docs/tutorials/docs.svg
===================================================================
--- trunk/docs/tutorials/docs.svg (rev 0)
+++ trunk/docs/tutorials/docs.svg 2012-02-22 01:51:24 UTC (rev 1692)
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:ns1="http://sozi.baierouge.fr"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="210mm"
+ height="297mm"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.2 r9819"
+ sodipodi:docname="docs.svg">
+ <!-- Start kune i18n part -->
+ <script
+ id="kunelangtable">
+ var idLangList = [
+ {id: "layer2", layer: "es"},
+ {id: "layer3", layer: "en"},
+ {id: "layer4", layer: "fr"}
+ ];
+ </script>
+ <script xlink:href="lang.js" id="kunelang" />
+ <!-- End kune i18n part -->
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="2.8796948"
+ inkscape:cx="63.9286"
+ inkscape:cy="1076.99"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer4"
+ showgrid="true"
+ inkscape:window-width="1078"
+ inkscape:window-height="919"
+ inkscape:window-x="0"
+ inkscape:window-y="972"
+ inkscape:window-maximized="0">
+ <inkscape:grid
+ type="xygrid"
+ id="grid3100" />
+ </sodipodi:namedview>
+ <defs
+ id="defs4" />
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ style="display:inline"
+ inkscape:label="Capa 1"
+ inkscape:groupmode="layer"
+ id="layer1">
+ <path
+ style="fill:#231f20"
+ d="m 42.01,12.423183 -22.016,0 0,32.023001 c 13,0 19,0 32,0 l 0,-22.015 z m 5.984,28.023001 c -10.90757,0 -10.78344,0 -24,0 0,0 0.006,-21.441 0.006,-24.084001 2.1,0 7.807,0 12.006,0 l 0,12.010001 12.01,0 c -10e-4,2.733 -0.022,12.074 -0.022,12.074 z m -7.984,-16.078 c 0,-1.543 0,-5.918 0,-8.006001 1.615,1.619001 6.402,6.404001 8.006,8.006001 -2.047,0 -6.454,0 -8.006,0 z"
+ id="path3"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="ccccccccccccccccc" />
+ <path
+ sodipodi:nodetypes="ccccccccccccccccc"
+ inkscape:connector-curvature="0"
+ id="path3175"
+ d="m 91.004,48.423183 -22.016,0 0,32.023001 c 13,0 19,0 32,0 l 0,-22.015 z m 5.984,28.023001 c -10.90757,0 -10.78344,0 -24,0 0,0 0.006,-21.441 0.006,-24.084001 2.1,0 7.807,0 12.006,0 l 0,12.010001 12.01,0 c -0.001,2.733 -0.022,12.074 -0.022,12.074 z m -7.984,-16.078 c 0,-1.543 0,-5.918 0,-8.006001 1.615,1.619001 6.402,6.404001 8.006,8.006001 -2.047,0 -6.454,0 -8.006,0 z"
+ style="fill:#231f20" />
+ <rect
+ style="opacity:0.5;fill:none;stroke:#008080;stroke-width:0.66635472;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
+ id="rect3001"
+ width="56.241726"
+ height="67.671463"
+ x="5"
+ y="-2.6378174" />
+ <rect
+ y="35.362183"
+ x="56"
+ height="67.671463"
+ width="56.241726"
+ id="rect3276"
+ style="opacity:1;fill:none;stroke:#008080;stroke-width:0.66635471999999996;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
+ ry="17" />
+ </g>
+ <g
+ style="display:none"
+ inkscape:label="es"
+ id="layer2"
+ inkscape:groupmode="layer">
+ <text
+ sodipodi:linespacing="125%"
+ id="text3119"
+ y="7.3621826"
+ x="10"
+ style="font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:125%;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;opacity:0.5;color:#000000;fill:#782121;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:24;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Ubuntu;-inkscape-font-specification:Ubuntu Bold"
+ xml:space="preserve"><tspan
+ y="7.3621826"
+ x="10"
+ id="tspan3121"
+ sodipodi:role="line">es</tspan></text>
+ </g>
+ <g
+ style="display:none"
+ inkscape:label="en"
+ id="layer3"
+ inkscape:groupmode="layer">
+ <text
+ sodipodi:linespacing="125%"
+ id="text3124"
+ y="7.3621826"
+ x="25"
+ style="font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:125%;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;opacity:0.5;color:#000000;fill:#782121;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:24;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Ubuntu;-inkscape-font-specification:Ubuntu Bold"
+ xml:space="preserve"><tspan
+ y="7.3621826"
+ x="25"
+ id="tspan3126"
+ sodipodi:role="line">en</tspan></text>
+ </g>
+ <g
+ style="display:none"
+ inkscape:label="fr"
+ id="layer4"
+ inkscape:groupmode="layer">
+ <path
+ inkscape:connector-curvature="0"
+ id="text3129"
+ d="m 50.948,-0.63782138 c 0.537205,-0.0046 1.070215,0.114515 1.572,0.3 -0.116,0.476 -0.232,0.952 -0.348,1.42799998 C 51.613058,0.87912662 50.921322,0.73761062 50.380998,1.0721886 49.966084,1.3666146 49.997619,1.9100776 50,2.3621826 c 0.736,0 1.472,0 2.208,0 0,0.496 0,0.992 0,1.488 -0.736,0 -1.472,0 -2.208,0 0,1.608 0,3.216 0,4.824 -0.596,0 -1.192,0 -1.788,0 0.0039,-2.290989 -0.0079,-4.582254 0.006,-6.873068 0.01855,-0.94143498 0.550605,-1.91820198 1.475506,-2.23572098 0.399242,-0.151413 0.829593,-0.202827 1.254482,-0.20321 z m 6.1305,4.58399998 c -0.655876,-0.17256 -1.349659,-0.27002 -2.016,-0.096 0,1.608 0,3.216 0,4.824 -0.596,0 -1.192,0 -1.788,0 0,-1.992 0,-3.984 0,-5.976 1.230297,-0.427964 2.573771,-0.627408 3.854248,-0.304497 0.365762,-0.02758 0.195311,0.276744 0.166469,0.486252 -0.07224,0.355415 -0.144478,0.71083 -0.216717,1.066245 z"
+ style="font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:125%;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;opacity:0.5;color:#000000;fill:#782121;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:24;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Ubuntu;-inkscape-font-specification:Ubuntu Bold" />
+ </g>
+ <script
+ id="sozi-script"
+ ns1:version="11.11-07001323">var sozi=sozi||{};(function(){var a=sozi.events=sozi.events||{},b={};a.listen=function(d,e){var c=b[d];if(!c){c=b[d]=[]}c.push(e)};a.fire=function(g){var d=b[g],c,f,e=Array.prototype.slice.call(arguments,1);if(d){c=d.length;for(f=0;f<c;f+=1){d[f].apply(null,e)}}}}());var sozi=sozi||{};(function(){var w=sozi.framelist=sozi.framelist||{},k=this,r=k.document,q,m,c,j=0,d=5,i,u,b… h(A){return function(B){sozi.player.previewFrame(A);B.stopPropagation()}}function l(A){A.stopPropagation()}function p(B){var A=B.relatedTarget;while(A!==m&&A!==q){A=A.parentNode}if(A===q){w.hide();sozi.player.restart();B.stopPropagation()}}function t(B){var A=c.getCTM().f;if(A<=-k.innerHeight/2){A+=k.innerHeight/2}else{if(A<0){A=0}}c.setAttribute("transform","translate(0,"+A+")");B.stopPropagation()}function e(B){var A=c.getCTM().f;if(A+j>=k.innerHeight*3/2){A-=k.innerHeight/2}else{if(A+j>k.innerHeight+2*d){A=k.innerHeight-j-4*d}}c.setAttribute("transform","translate(0,"+A+")");B.stopPropagation()}function s(A){var C=sozi.animation.profiles[g](A),B=1-C;z=y*C+b*B;m.setAttribute("transform","translate("+z+",0)")}function x(){}function o(){var G=r.createElementNS(a,"rect"),A=r.createElementNS(a,"path"),E=r.createElementNS(a,"path"),H=0,F,C=sozi.document.frames.length,B=sozi.location.getFrameIndex(),D,I;q=r.documentElement;m=r.createElementNS(a,"g");m.setAttribute("id","sozi-toc");q.appendChild(m);c=r.createElementNS(a,"g");m.appendChild(c);G.setAttribute("id","sozi-toc-background");G.setAttribute("x",d);G.setAttribute("y",d);G.setAttribute("rx",d);G.setAttribute("ry",d);G.addEventListener("click",l,false);G.addEventListener("mousedown",l,false);G.addEventListener("mouseout",p,false);c.appendChild(G);for(D=0;D<C;D+=1){I=r.createElementNS(a,"text");I.appendChild(r.createTextNode(sozi.document.frames[D].title));c.appendChild(I);if(D===B){I.setAttribute("class","sozi-toc-current")}F=I.getBBox().width;j+=I.getBBox().height;if(F>H){H=F}I.setAttribute("x",2*d);I.setAttribute("y",j+d);I.addEventListener("click",h(D),false);I.addEventListener("mousedown",l,false)}A.setAttribute("class","sozi-toc-arrow");A.setAttribute("d","M"+(H+3*d)+","+(5*d)+" l"+(4*d)+",0 l-"+(2*d)+",-"+(3*d)+" z");A.addEventListener("click",t,false);A.addEventListener("mousedown",l,false);m.appendChild(A);E.setAttribute("class","sozi-toc-arrow");E.setAttribute("d","M"+(H+3*d)+","+(7*d)+" l"+(4*d)+",0 l-"+(2*d)+","+(3*d)+" z");E.addEventListener("click",e,false);E.addEventListener("mousedown",l,false);m.appendChild(E);G.setAttribute("width",H+7*d);G.setAttribute("height",j+2*d);i=-H-9*d;u=0;z=y=i;m.setAttribute("transform","translate("+i+",0)");v=new sozi.animation.Animator(s,x)}function n(A){var D=r.getElementsByClassName("sozi-toc-current"),C=c.getElementsByTagName("text"),B;for(B=0;B<D.length;B+=1){D[B].removeAttribute("class")}C[A].setAttribute("class","sozi-toc-current")}w.show=function(){b=z;y=u;v.start(f)};w.hide=function(){b=z;y=i;v.start(f)};w.isVisible=function(){return y===u};sozi.events.listen("displayready",o);sozi.events.listen("cleanup",w.hide);sozi.events.listen("framechange",n)}());var sozi=sozi||{};(function(){var t=sozi.player=sozi.player||{},u=sozi.display=sozi.display||{},j=this,o=j.document,p=0,v=1,s=1.05,x=5,c=false,l=false,g=0,e=0;function a(A,z,B){t.stop();u.zoom(A>0?s:1/s,z,B)}function w(y){t.stop();u.rotate(y>0?x:-x)}function r(){if(sozi.framelist.isVisible()){sozi.framelist.hide();t.restart()}else{t.stop();sozi.framelist.show()}}function i(y){if(y.button===p){c=true;l=false;g=y.clientX;e=y.clientY}else{if(y.button===v){r()}}y.stopPropagation()}function m(y){if(c){t.stop();l=true;sozi.events.fire("cleanup");u.drag(y.clientX-g,y.clientY-e);g=y.clientX;e=y.clientY}y.stopPropagation()}function f(y){if(y.button===p){c=false}y.stopPropagation()}function q(y){t.moveToPrevious();y.stopPropagation();y.preventDefault()}function h(y){if(!l&&y.button!==v){t.moveToNext()}y.stopPropagation()}function k(y){var z=0;if(!y){y=j.event}if(y.wheelDelta){z=y.wheelDelta;if(j.opera){z=-z}}else{if(y.detail){z=-y.detail}}if(z!==0){if(y.shiftKey){w(z)}else{a(z,y.clientX,y.clientY)}}y.stopPropagation();y.preventDefault()}function n(y){switch(y.charCode){case 43:a(1,j.innerWidth/2,j.innerHeight/2);break;case 45:a(-1,j.innerWidth/2,j.innerHeight/2);break;case 61:t.moveToCurrent();break;case 70:case 102:t.showAll();break;case 84:case 116:r();break;case 82:w(-1);break;case 114:w(1);break}y.stopPropagation()}function d(y){switch(y.keyCode){case 36:t.moveToFirst();break;case 35:t.moveToLast();break;case 38:t.jumpToPrevious();break;case 33:case 37:t.moveToPrevious();break;case 40:t.jumpToNext();break;case 34:case 39:case 13:case 32:t.moveToNext();break}y.stopPropagation()}function b(){confLang();var y=o.documentElement;y.addEventListener("click",h,false);y.addEventListener("mousedown",i,false);y.addEventListener("mouseup",f,false);y.addEventListener("mousemove",m,false);y.addEventListener("keypress",n,false);y.addEventListener("keydown",d,false);y.addEventListener("contextmenu",q,false);y.addEventListener("DOMMouseScroll",k,false);j.onmousewheel=k}j.addEventListener("load",b,false)}());var sozi=sozi||{};(function(){var e=sozi.animation=sozi.animation||{},h=this,j=40,d=[],b,i=h.mozRequestAnimationFrame||h.webkitRequestAnimationFrame||h.msRequestAnimationFrame||h.oRequestAnimationFrame;function c(){if(i){i(f)}else{b=h.setInterval(function(){f(Date.now())},j)}}function f(l){var k;if(d.length>0){if(i){i(f)}for(k=0;k<d.length;k+=1){d[k].step(l)}}else{if(!i){h.clearInterval(b)}}}function a(k){d.push(k);if(d.length===1){c()}}function g(k){d.splice(d.indexOf(k),1)}e.Animator=function(k,l){this.onStep=k;this.onDone=l;this.durationMs=0;this.data={};this.initialTime=0;this.started=false};e.Animator.prototype.start=function(k,l){this.durationMs=k;this.data=l;this.initialTime=Date.now();this.onStep(0,this.data);if(!this.started){this.started=true;a(this)}};e.Animator.prototype.stop=function(){if(this.started){g(this);this.started=false}};e.Animator.prototype.step=function(l){var k=l-this.initialTime;if(k>=this.durationMs){this.stop();this.onStep(1,this.data);this.onDone()}else{this.onStep(k/this.durationMs,this.data)}};e.profiles={linear:function(k){return k},accelerate:function(k){return Math.pow(k,3)},"strong-accelerate":function(k){return Math.pow(k,5)},decelerate:function(k){return 1-Math.pow(1-k,3)},"strong-decelerate":function(k){return 1-Math.pow(1-k,5)},"accelerate-decelerate":function(k){var l=k<=0.5?k:1-k,m=Math.pow(2*l,3)/2;return k<=0.5?m:1-m},"strong-accelerate-decelerate":function(k){var l=k<=0.5?k:1-k,m=Math.pow(2*l,5)/2;return k<=0.5?m:1-m},"decelerate-accelerate":function(k){var l=k<=0.5?k:1-k,m=(1-Math.pow(1-2*l,2))/2;return k<=0.5?m:1-m},"strong-decelerate-accelerate":function(k){var l=k<=0.5?k:1-k,m=(1-Math.pow(1-2*l,3))/2;return k<=0.5?m:1-m}}}());var sozi=sozi||{};(function(){var d=sozi.player=sozi.player||{},j=sozi.display=sozi.display||{},h=this,c,k,e=500,q=-10,l="linear",g=0,n=0,o=false,p=false;function f(t,w){var v=1-t,u=w.profile(t),s=1-u,r,x;for(r in w.initialState){if(w.initialState.hasOwnProperty(r)){if(typeof w.initialState[r]==="number"&&typeof w.finalState[r]==="number"){j.geometry[r]=w.finalState[r]*u+w.initialState[r]*s}}}if(w.zoomWidth&&w.zoomWidth.k!==0){x=t-w.zoomWidth.ts;j.geometry.width=w.zoomWidth.k*x*x+w.zoomWidth.ss}if(w.zoomHeight&&w.zoomHeight.k!==0){x=t-w.zoomHeight.ts;j.geometry.height=w.zoomHeight.k*x*x+w.zoomHeight.ss}j.clip=w.finalState.clip;j.update()}function i(){var r;if(sozi.document.frames[n].timeoutEnable){p=true;r=(n+1)%sozi.document.frames.length;k=h.setTimeout(function(){d.moveToFrame(r)},sozi.document.frames[n].timeoutMs)}}function m(){g=n;if(o){i()}}d.startFromIndex=function(r){o=true;p=false;g=r;n=r;j.showFrame(sozi.document.frames[r]);i()};d.restart=function(){d.startFromIndex(n)};d.stop=function(){c.stop();if(p){h.clearTimeout(k);p=false}o=false;g=n};function b(r,B,z){var C={ss:((r<0)?Math.max(B,z):Math.min(B,z))*(100-r)/100,ts:0.5,k:0},x,w,t,s,A,y;if(r!==0){x=B-z;w=B-C.ss;t=z-C.ss;if(x!==0){s=Math.sqrt(w*t);A=(w-s)/x;y=(w+s)/x;C.ts=(A>0&&A<=1)?A:y}C.k=w/C.ts/C.ts}return C}d.jumpToFrame=function(r){d.stop();sozi.events.fire("cleanup");g=r;n=r;j.showFrame(sozi.document.frames[r]);sozi.events.fire("framechange",r)};d.previewFrame=function(s){var u=sozi.document.frames[s].geometry,r,t;if(q!==0){r=b(q,j.geometry.width,u.width);t=b(q,j.geometry.height,u.height)}n=s;c.start(e,{initialState:j.getCurrentGeometry(),finalState:u,profile:sozi.animation.profiles[l],zoomWidth:r,zoomHeight:t});sozi.events.fire("framechange",s)};d.moveToFrame=function(t){var s=e,w=q,u=sozi.animation.profiles[l],r,v;if(p){h.clearTimeout(k);p=false}if(t===(n+1)%sozi.document.frames.length){s=sozi.document.frames[t].transitionDurationMs;w=sozi.document.frames[t].transitionZoomPercent;u=sozi.document.frames[t].transitionProfile}sozi.events.fire("cleanup");if(w!==0){r=b(w,j.geometry.width,sozi.document.frames[t].geometry.width);v=b(w,j.geometry.height,sozi.document.frames[t].geometry.height)}o=true;n=t;c.start(s,{initialState:j.getCurrentGeometry(),finalState:sozi.document.frames[n].geometry,profile:u,zoomWidth:r,zoomHeight:v});sozi.events.fire("framechange",t)};d.moveToFirst=function(){d.moveToFrame(0)};d.jumpToPrevious=function(){var r=n;if(!c.started||g<=n){r-=1}if(r>=0){d.jumpToFrame(r)}};d.moveToPrevious=function(){var r=n,s;for(r-=1;r>=0;r-=1){s=sozi.document.frames[r];if(!s.timeoutEnable||s.timeoutMs!==0){d.moveToFrame(r);break}}};d.jumpToNext=function(){var r=n;if(!c.started||g>=n){r+=1}if(r<sozi.document.frames.length){d.jumpToFrame(r)}};d.moveToNext=function(){if(n<sozi.document.frames.length-1||sozi.document.frames[n].timeoutEnable){d.moveToFrame((n+1)%sozi.document.frames.length)}};d.moveToLast=function(){d.moveToFrame(sozi.document.frames.length-1)};d.moveToCurrent=function(){d.moveToFrame(n)};d.showAll=function(){d.stop();sozi.events.fire("cleanup");c.start(e,{initialState:j.getCurrentGeometry(),finalState:j.getDocumentGeometry(),profile:sozi.animation.profiles[l]})};function a(){d.startFromIndex(sozi.location.getFrameIndex())}c=new sozi.animation.Animator(f,m);sozi.events.listen("displayready",a)}());var sozi=sozi||{};(function(){var d=sozi.display=sozi.display||{},h=this,i=h.document,j,c,k,a,g="http://… f(){var o,l=i.createElementNS(g,"g"),m=i.createElementNS(g,"clipPath");j=i.documentElement;k=j.getBBox();a=i.createElementNS(g,"g");while(true){o=j.firstChild;if(!o){break}j.removeChild(o);a.appendChild(o)}c=i.createElementNS(g,"rect");c.setAttribute("id","sozi-clip-rect");m.setAttribute("id","sozi-clip-path");m.appendChild(c);j.appendChild(m);l.setAttribute("clip-path","url(#sozi-clip-path)");l.appendChild(a);j.appendChild(l);j.setAttribute("width",h.innerWidth);j.setAttribute("height",h.innerHeight);sozi.events.fire("displayready")}function b(){j.setAttribute("width",h.innerWidth);j.setAttribute("height",h.innerHeight);d.update()}function e(){var l={};l.scale=Math.min(h.innerWidth/d.geometry.width,h.innerHeight/d.geometry.height);l.width=d.geometry.width*l.scale;l.height=d.geometry.height*l.scale;l.x=(h.innerWidth-l.width)/2;l.y=(h.innerHeight-l.height)/2;return l}d.getElementGeometry=function(l){var s,p,t,n,q,o,r=l.getCTM(),m=Math.sqrt(r.a*r.a+r.b*r.b);if(l.nodeName==="rect"){s=l.x.baseVal.value;p=l.y.baseVal.value;t=l.width.baseVal.value;n=l.height.baseVal.value}else{q=l.getBBox();s=q.x;p=q.y;t=q.width;n=q.height}o=i.documentElement.createSVGPoint();o.x=s+t/2;o.y=p+n/2;o=o.matrixTransform(r);return{cx:o.x,cy:o.y,width:t*m,height:n*m,rotate:Math.atan2(r.b,r.a)*180/Math.PI}};d.getDocumentGeometry=function(){return{cx:k.x+k.width/2,cy:k.y+k.height/2,width:k.width,height:k.height,rotate:0,clip:false}};d.getCurrentGeometry=function(){return{cx:d.geometry.cx,cy:d.geometry.cy,width:d.geometry.width,height:d.geometry.height,rotate:d.geometry.rotate,clip:d.geometry.clip}};d.update=function(){var l=e(),n=-d.geometry.cx+d.geometry.width/2+l.x/l.scale,m=-d.geometry.cy+d.geometry.height/2+l.y/l.scale;a.setAttribute("transform","scale("+l.scale+")translate("+n+","+m+")rotate("+(-d.geometry.rotate)+","+d.geometry.cx+","+d.geometry.cy+")");c.setAttribute("x",d.geometry.clip?l.x:0);c.setAttribute("y",d.geometry.clip?l.y:0);c.setAttribute("width",d.geometry.clip?l.width:h.innerWidth);c.setAttribute("height",d.geometry.clip?l.height:h.innerHeight)};d.showFrame=function(m){var l;for(l in m.geometry){if(m.geometry.hasOwnProperty(l)){d.geometry[l]=m.geometry[l]}}d.update()};d.drag=function(m,l){var n=e(),o=d.geometry.rotate*Math.PI/180;d.geometry.cx-=(m*Math.cos(o)-l*Math.sin(o))/n.scale;d.geometry.cy-=(m*Math.sin(o)+l*Math.cos(o))/n.scale;d.geometry.clip=false;d.update()};d.zoom=function(o,m,p){var n=(1-o)*(m-h.innerWidth/2),l=(1-o)*(p-h.innerHeight/2);d.geometry.width/=o;d.geometry.height/=o;d.drag(n,l)};d.rotate=function(l){d.geometry.rotate+=l;d.geometry.rotate%=360;d.update()};sozi.events.listen("documentready",f);h.addEventListener("resize",b,false)}());var sozi=sozi||{};(function(){var c=sozi.document=sozi.document||{},g=this,a=g.document,f="http://sozi.baierouge.fr",d={title:"Untitled",sequence:"0",hide:"true",clip:"true","timeout-enable":"false","timeout-ms":"5000","transition-duration-ms":"1000","transition-zoom-percent":"0","transition-profile":"linear"};c.frames=[];function h(j,i){var k=j.getAttributeNS(f,i);return k===""?d[i]:k}function b(){var j=a.getElementsByTagNameNS(f,"frame"),k=j.length,m,l,n;for(l=0;l<k;l+=1){m=a.getElementById(j[l].getAttributeNS(f,"refid"));if(m){n={geometry:sozi.display.getElementGeometry(m),title:h(j[l],"title"),sequence:parseInt(h(j[l],"sequence"),10),hide:h(j[l],"hide")==="true",timeoutEnable:h(j[l],"timeout-enable")==="true",timeoutMs:parseInt(h(j[l],"timeout-ms"),10),transitionDurationMs:parseInt(h(j[l],"transition-duration-ms"),10),transitionZoomPercent:parseInt(h(j[l],"transition-zoom-percent"),10),transitionProfile:sozi.animation.profiles[h(j[l],"transition-profile")||"linear"]};if(n.hide){m.setAttribute("visibility","hidden")}n.geometry.clip=h(j[l],"clip")==="true";c.frames.push(n)}}c.frames.sort(function(o,i){return o.sequence-i.sequence})}function e(){a.documentElement.removeAttribute("viewBox");b();sozi.events.fire("documentready")}g.addEventListener("load",e,false)}());var sozi=sozi||{};(function(){var a=sozi.location=sozi.location||{},e=this,c=false;a.getFrameIndex=function(){var g=e.location.hash?parseInt(e.location.hash.slice(1),10)-1:0;if(isNaN(g)||g<0){return 0}else{if(g>=sozi.document.frames.length){return sozi.document.frames.length-1}else{return g}}};function f(){confLang();var g=a.getFrameIndex();if(!c){sozi.player.moveToFrame(g)}c=false}function d(g){c=true;e.location.hash="#"+(g+1)}function b(){sozi.events.listen("framechange",d)}e.addEventListener("hashchange",f,false);e.addEventListener("load",b,false)}());</script>
+ <style
+ id="sozi-style"
+ ns1:version="11.11-07001323">#sozi-toc text{fill:#eff;font-family:Verdana,sans-serif;font-size:12pt}#sozi-toc text:hover{fill:#0cf;cursor:pointer}#sozi-toc text.sozi-toc-current{fill:#fa4}#sozi-toc-background{stroke:#222;stroke-opacity:.1;stroke-width:10;fill:#222;fill-opacity:.9}.sozi-toc-arrow{fill:#eff;fill-opacity:.75;stroke:none}.sozi-toc-arrow:hover{fill:#0cf}</style>
+ <ns1:frame
+ ns1:refid="rect3001"
+ ns1:sequence="1"
+ ns1:transition-duration-ms="1000"
+ ns1:hide="true"
+ ns1:clip="true"
+ ns1:title="f1"
+ ns1:transition-zoom-percent="0"
+ ns1:timeout-ms="5000"
+ ns1:timeout-enable="false"
+ ns1:transition-profile="linear" />
+ <ns1:frame
+ ns1:transition-profile="linear"
+ ns1:timeout-enable="false"
+ ns1:timeout-ms="5000"
+ ns1:transition-zoom-percent="0"
+ ns1:title="f2"
+ ns1:clip="true"
+ ns1:hide="true"
+ ns1:transition-duration-ms="1000"
+ ns1:sequence="2"
+ ns1:refid="rect3276" />
+</svg>
Added: trunk/docs/tutorials/lang.js
===================================================================
--- trunk/docs/tutorials/lang.js (rev 0)
+++ trunk/docs/tutorials/lang.js 2012-02-22 01:51:24 UTC (rev 1692)
@@ -0,0 +1,17 @@
+// NOTE: add confLang() in each SVG like in: function f(){confLang();var g=a.getFrameIndex();
+// Also see the idLangList array defined in each SVG. Is a list of ids/langs
+
+function confLang() {
+ var hs = window.location.hash;
+ if (typeof(hs)=='string') {
+ lang = hs.slice(1)
+ if (isNaN(lang)) {
+ for (var i = 0; i < idLangList.length; i ++) {
+ // We show the layer id that match that lang
+ document.getElementById(idLangList[i].id).style.display =
+ idLangList[i].layer === lang ? 'inline' : 'none';
+ }
+ window.location.hash = "";
+ }
+ }
+}
1
0