Remove icons and use theme icons from openmamba-icons
11
Makefile
@ -62,12 +62,6 @@ install-locales: locales
|
|||||||
done
|
done
|
||||||
@lrelease-qt5 mambabase/mambabase_it.ts -qm $(DESTDIR)$(datadir)/locale/it/LC_MESSAGES/mambabase.qm
|
@lrelease-qt5 mambabase/mambabase_it.ts -qm $(DESTDIR)$(datadir)/locale/it/LC_MESSAGES/mambabase.qm
|
||||||
|
|
||||||
install-icons:
|
|
||||||
@for i in 16x16 22x22 32x32 48x48 64x64 128x128; do \
|
|
||||||
$(INSTALL_DIR) $(DESTDIR)$(iconsdir)/$$i/apps/; \
|
|
||||||
$(INSTALL_DATA) mambabase/mambabase-$$i.png $(DESTDIR)$(iconsdir)/$$i/apps/mambabase.png; \
|
|
||||||
done
|
|
||||||
|
|
||||||
install-mambabase:
|
install-mambabase:
|
||||||
@$(INSTALL_DIR) $(DESTDIR)$(bindir)
|
@$(INSTALL_DIR) $(DESTDIR)$(bindir)
|
||||||
@$(INSTALL_DIR) $(DESTDIR)$(mambabasedatadir)
|
@$(INSTALL_DIR) $(DESTDIR)$(mambabasedatadir)
|
||||||
@ -78,14 +72,11 @@ install-mambabase:
|
|||||||
$(INSTALL_SCRIPT) mambabase/nvidia-autoselect-driver $(DESTDIR)$(mambabasedatadir)
|
$(INSTALL_SCRIPT) mambabase/nvidia-autoselect-driver $(DESTDIR)$(mambabasedatadir)
|
||||||
$(INSTALL_DATA) mambabase/mambabase.desktop $(DESTDIR)$(xdg_appsdir)
|
$(INSTALL_DATA) mambabase/mambabase.desktop $(DESTDIR)$(xdg_appsdir)
|
||||||
$(INSTALL_DATA) mambabase/mambabase-autostart.desktop $(DESTDIR)$(mambabasedatadir)
|
$(INSTALL_DATA) mambabase/mambabase-autostart.desktop $(DESTDIR)$(mambabasedatadir)
|
||||||
$(INSTALL_DATA) mambabase/openmamba.png $(DESTDIR)$(mambabasedatadir)
|
|
||||||
$(INSTALL_DATA) mambabase/mambabase.png $(DESTDIR)$(mambabasedatadir)
|
|
||||||
cp mambabase/*.ui $(DESTDIR)$(mambabasedatadir)
|
cp mambabase/*.ui $(DESTDIR)$(mambabasedatadir)
|
||||||
|
|
||||||
install: $(pck_infiles:.in=) \
|
install: $(pck_infiles:.in=) \
|
||||||
install-mambabase \
|
install-mambabase \
|
||||||
install-locales \
|
install-locales
|
||||||
install-icons
|
|
||||||
|
|
||||||
dist: clean
|
dist: clean
|
||||||
@mkdir /tmp/$(distdir)
|
@mkdir /tmp/$(distdir)
|
||||||
|
@ -55,8 +55,8 @@
|
|||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="label">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>20</x>
|
<x>30</x>
|
||||||
<y>10</y>
|
<y>20</y>
|
||||||
<width>491</width>
|
<width>491</width>
|
||||||
<height>61</height>
|
<height>61</height>
|
||||||
</rect>
|
</rect>
|
||||||
@ -71,7 +71,7 @@
|
|||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="pixmap">
|
<property name="pixmap">
|
||||||
<pixmap>openmamba.png</pixmap>
|
<pixmap>../../../../../share/pixmaps/vendor-logo-large.png</pixmap>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
|
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 859 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 12 KiB |
@ -351,7 +351,7 @@ class InstallationPage(QtWidgets.QWizardPage):
|
|||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
import sys
|
import sys
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
app = QtWidgets.QApplication(sys.argv)
|
||||||
app.setWindowIcon(QtGui.QIcon(DATADIR + "mambabase.png"))
|
app.setWindowIcon(QtGui.QIcon.fromTheme("mambabase"))
|
||||||
# UI translations
|
# UI translations
|
||||||
locale = QLocale.system().name()
|
locale = QLocale.system().name()
|
||||||
language = locale[0:2]
|
language = locale[0:2]
|
||||||
|
Before Width: | Height: | Size: 6.3 KiB |