Kaydet (Commit) 0c26dc5d authored tarafından Caolán McNamara's avatar Caolán McNamara

remove desktop bitmaps from .src files

Change-Id: I32aefdf3407434564ed7efe2f6785a17c69199f2
Reviewed-on: https://gerrit.libreoffice.org/36956Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst fea8976c
...@@ -25,7 +25,6 @@ $(eval $(call gb_SrsTarget_set_include,deploymentgui/res,\ ...@@ -25,7 +25,6 @@ $(eval $(call gb_SrsTarget_set_include,deploymentgui/res,\
)) ))
$(eval $(call gb_SrsTarget_add_files,deploymentgui/res,\ $(eval $(call gb_SrsTarget_add_files,deploymentgui/res,\
desktop/source/deployment/gui/dp_gui_dialog2.src \
desktop/source/deployment/gui/dp_gui_dialog.src \ desktop/source/deployment/gui/dp_gui_dialog.src \
desktop/source/deployment/gui/dp_gui_updatedialog.src \ desktop/source/deployment/gui/dp_gui_updatedialog.src \
desktop/source/deployment/gui/dp_gui_updateinstalldialog.src \ desktop/source/deployment/gui/dp_gui_updateinstalldialog.src \
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_DESKTOP_INC_BITMAPS_HRC
#define INCLUDED_DESKTOP_INC_BITMAPS_HRC
#define RID_BMP_WARNING "desktop/res/caution_16.png"
#define RID_BMP_LOCKED "desktop/res/lock_16.png"
#define RID_BMP_SHARED "desktop/res/shared_16.png"
#define RID_BMP_EXTENSION "desktop/res/extension_32.png"
#define RID_DLG_UPDATE_NORMALALERT "desktop/res/caution_12.png"
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#define RID_STR_WARNINGBOX_VERSION_GREATER_DIFFERENT_NAMES (RID_DEPLOYMENT_GUI_START + 8) #define RID_STR_WARNINGBOX_VERSION_GREATER_DIFFERENT_NAMES (RID_DEPLOYMENT_GUI_START + 8)
#define RID_STR_WARNING_INSTALL_EXTENSION (RID_DEPLOYMENT_GUI_START + 9) #define RID_STR_WARNING_INSTALL_EXTENSION (RID_DEPLOYMENT_GUI_START + 9)
#define RID_DLG_UPDATE_NORMALALERT (RID_DEPLOYMENT_GUI_START + 11)
#define RID_DLG_UPDATE_NONE (RID_DEPLOYMENT_GUI_START + 13) #define RID_DLG_UPDATE_NONE (RID_DEPLOYMENT_GUI_START + 13)
#define RID_DLG_UPDATE_NOINSTALLABLE (RID_DEPLOYMENT_GUI_START + 14) #define RID_DLG_UPDATE_NOINSTALLABLE (RID_DEPLOYMENT_GUI_START + 14)
#define RID_DLG_UPDATE_FAILURE (RID_DEPLOYMENT_GUI_START + 15) #define RID_DLG_UPDATE_FAILURE (RID_DEPLOYMENT_GUI_START + 15)
...@@ -56,11 +55,6 @@ ...@@ -56,11 +55,6 @@
#define RID_DLG_UPDATE_INSTALL_ERROR_LIC_DECLINED (RID_DEPLOYMENT_GUI_START + 43) #define RID_DLG_UPDATE_INSTALL_ERROR_LIC_DECLINED (RID_DEPLOYMENT_GUI_START + 43)
#define RID_DLG_UPDATE_INSTALL_EXTENSION_NOINSTALL (RID_DEPLOYMENT_GUI_START + 44) #define RID_DLG_UPDATE_INSTALL_EXTENSION_NOINSTALL (RID_DEPLOYMENT_GUI_START + 44)
#define RID_BMP_WARNING (RID_DEPLOYMENT_GUI_START+56)
#define RID_BMP_LOCKED (RID_DEPLOYMENT_GUI_START+58)
#define RID_BMP_EXTENSION (RID_DEPLOYMENT_GUI_START+60)
#define RID_BMP_SHARED (RID_DEPLOYMENT_GUI_START+62)
#define RID_STR_ADD_PACKAGES (RID_DEPLOYMENT_GUI_START+70) #define RID_STR_ADD_PACKAGES (RID_DEPLOYMENT_GUI_START+70)
#define RID_CTX_ITEM_REMOVE (RID_DEPLOYMENT_GUI_START+80) #define RID_CTX_ITEM_REMOVE (RID_DEPLOYMENT_GUI_START+80)
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <svtools/controldims.hrc>
#include "dp_gui.hrc"
Bitmap RID_BMP_WARNING
{
File = "caution_16.png";
};
Bitmap RID_BMP_LOCKED
{
File = "lock_16.png";
};
Bitmap RID_BMP_SHARED
{
File = "shared_16.png";
};
Bitmap RID_BMP_EXTENSION
{
File = "extension_32.png";
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "dp_gui_theextmgr.hxx" #include "dp_gui_theextmgr.hxx"
#include "dp_gui_dialog2.hxx" #include "dp_gui_dialog2.hxx"
#include "dp_dependencies.hxx" #include "dp_dependencies.hxx"
#include "bitmaps.hlst"
#include <comphelper/processfactory.hxx> #include <comphelper/processfactory.hxx>
#include <com/sun/star/i18n/CollatorOptions.hpp> #include <com/sun/star/i18n/CollatorOptions.hpp>
...@@ -181,10 +182,10 @@ ExtensionBox_Impl::ExtensionBox_Impl(vcl::Window* pParent) : ...@@ -181,10 +182,10 @@ ExtensionBox_Impl::ExtensionBox_Impl(vcl::Window* pParent) :
m_nTopIndex( 0 ), m_nTopIndex( 0 ),
m_nActiveHeight( 0 ), m_nActiveHeight( 0 ),
m_nExtraHeight( 2 ), m_nExtraHeight( 2 ),
m_aSharedImage(BitmapEx(DialogHelper::getResId(RID_BMP_SHARED))), m_aSharedImage(BitmapEx(RID_BMP_SHARED)),
m_aLockedImage(BitmapEx(DialogHelper::getResId(RID_BMP_LOCKED))), m_aLockedImage(BitmapEx(RID_BMP_LOCKED)),
m_aWarningImage(BitmapEx(DialogHelper::getResId(RID_BMP_WARNING))), m_aWarningImage(BitmapEx(RID_BMP_WARNING)),
m_aDefaultImage(BitmapEx(DialogHelper::getResId(RID_BMP_EXTENSION))), m_aDefaultImage(BitmapEx(RID_BMP_EXTENSION)),
m_pScrollBar( nullptr ), m_pScrollBar( nullptr ),
m_pManager( nullptr ) m_pManager( nullptr )
{ {
......
...@@ -108,6 +108,7 @@ ...@@ -108,6 +108,7 @@
#include "dp_gui.h" #include "dp_gui.h"
#include "dp_gui.hrc" #include "dp_gui.hrc"
#include "bitmaps.hlst"
#include "dp_gui_updatedata.hxx" #include "dp_gui_updatedata.hxx"
#include "dp_gui_updatedialog.hxx" #include "dp_gui_updatedialog.hxx"
#include "dp_gui_shared.hxx" #include "dp_gui_shared.hxx"
...@@ -603,7 +604,7 @@ UpdateDialog::CheckListBox::CheckListBox( vcl::Window* pParent, UpdateDialog & d ...@@ -603,7 +604,7 @@ UpdateDialog::CheckListBox::CheckListBox( vcl::Window* pParent, UpdateDialog & d
m_enableUpdate( DPGUI_RESSTR( RID_DLG_UPDATE_ENABLE ) ), m_enableUpdate( DPGUI_RESSTR( RID_DLG_UPDATE_ENABLE ) ),
m_dialog(dialog) m_dialog(dialog)
{ {
SetNormalStaticImage(Image(BitmapEx(DpGuiResId(RID_DLG_UPDATE_NORMALALERT)))); SetNormalStaticImage(Image(BitmapEx(RID_DLG_UPDATE_NORMALALERT)));
} }
sal_uInt16 UpdateDialog::CheckListBox::getItemCount() const { sal_uInt16 UpdateDialog::CheckListBox::getItemCount() const {
......
...@@ -21,11 +21,6 @@ ...@@ -21,11 +21,6 @@
#include "dp_gui.hrc" #include "dp_gui.hrc"
Bitmap RID_DLG_UPDATE_NORMALALERT
{
File = "caution_12.png";
};
String RID_DLG_UPDATE_NONE { String RID_DLG_UPDATE_NONE {
Text[en-US] = "No new updates are available."; Text[en-US] = "No new updates are available.";
}; };
......
...@@ -54,6 +54,7 @@ $(packimages_DIR)/sourceimagelist.ilst : \ ...@@ -54,6 +54,7 @@ $(packimages_DIR)/sourceimagelist.ilst : \
$(SRCDIR)/cui/inc/bitmaps.hlst \ $(SRCDIR)/cui/inc/bitmaps.hlst \
$(SRCDIR)/chart2/inc/bitmaps.hlst \ $(SRCDIR)/chart2/inc/bitmaps.hlst \
$(SRCDIR)/dbaccess/inc/bitmaps.hlst \ $(SRCDIR)/dbaccess/inc/bitmaps.hlst \
$(SRCDIR)/desktop/inc/bitmaps.hlst \
$(SRCDIR)/sfx2/inc/bitmaps.hlst \ $(SRCDIR)/sfx2/inc/bitmaps.hlst \
$(SRCDIR)/vcl/inc/bitmaps.hlst $(SRCDIR)/vcl/inc/bitmaps.hlst
grep res $^ | cut -d'"' -f2 | sed "s/^/%MODULE%\//" | sed "s/%MODULE%.res/%GLOBALRES%/g" > $@ grep res $^ | cut -d'"' -f2 | sed "s/^/%MODULE%\//" | sed "s/%MODULE%.res/%GLOBALRES%/g" > $@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment