Commit 573d3f04 authored by Cédric Bellegarde's avatar Cédric Bellegarde

Make it launch a window

parent df378d88
*~
/lollypop-cli
/eolie-cli
/po
/help
/*.bak
......@@ -62,18 +62,18 @@
*.gresource
*.compiled
search-provider/org.gnome.Lollypop.SearchProvider.service
search-provider/lollypop-sp
search-provider/eolie-sp
search-provider/Makefile
search-provider/Makefile.in
portal/org.gnome.Lollypop.Portal.service
portal/lollypop-portal
portal/eolie-portal
portal/Makefile
portal/Makefile.in
data/Makefile
data/Makefile.in
flatpak/metadata
*.pyc
lollypop
eolie
*.valid
/src/Makefile.in
/data/AboutDialog.ui
......
<?xml version="1.0"?>
<interface domain="eolie">
<menu id="app-menu">
<section>
<item>
<attribute name="action">app.shortcuts</attribute>
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
</item>
<item>
<attribute name="action">app.help</attribute>
<attribute name="label" translatable="yes">_Help</attribute>
</item>
<item>
<attribute name="action">app.about</attribute>
<attribute name="label" translatable="yes">_About</attribute>
</item>
<item>
<attribute name="action">app.quit</attribute>
<attribute name="label" translatable="yes">_Quit</attribute>
</item>
</section>
</menu>
</interface>
......@@ -17,43 +17,43 @@ appdata_in_files = org.gnome.Eolie.appdata.xml.in
@INTLTOOL_XML_RULE@
# hicolor icons
hicolor_icon16dir = $(datadir)/icons/hicolor/16x16/apps
hicolor_icon16_DATA = icons/hicolor/16x16/apps/org.gnome.Eolie.png
hicolor_icon22dir = $(datadir)/icons/hicolor/22x22/apps
hicolor_icon22_DATA = icons/hicolor/22x22/apps/org.gnome.Eolie.png
hicolor_icon32dir = $(datadir)/icons/hicolor/32x32/apps
hicolor_icon32_DATA = icons/hicolor/32x32/apps/org.gnome.Eolie.png
hicolor_icon48dir = $(datadir)/icons/hicolor/48x48/apps
hicolor_icon48_DATA = icons/hicolor/48x48/apps/org.gnome.Eolie.png
hicolor_icon256dir = $(datadir)/icons/hicolor/256x256/apps
hicolor_icon256_DATA = icons/hicolor/256x256/apps/org.gnome.Eolie.png
hicolor_iconscalabledir = $(datadir)/icons/hicolor/scalable/apps
hicolor_iconscalable_DATA = icons/hicolor/scalable/apps/org.gnome.Eolie-symbolic.svg
hicolor_icon_files = \
$(hicolor_icon16_DATA) \
$(hicolor_icon22_DATA) \
$(hicolor_icon32_DATA) \
$(hicolor_icon48_DATA) \
$(hicolor_icon256_DATA) \
$(hicolor_iconscalable_DATA)
gtk_update_hicolor_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
gtk_update_hicontrast_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/HighContrast
install-data-hook: update-icon-cache
uninstall-hook: update-icon-cache
update-icon-cache:
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk hicolor icon cache."; \
$(gtk_update_hicolor_icon_cache); \
echo "Updating Gtk highcontrast icon cache."; \
$(gtk_update_hicontrast_icon_cache); \
else \
echo "*** Icon cache not updated. After (un)install, run this:"; \
echo "*** $(gtk_update_hicolor_icon_cache)"; \
echo "*** $(gtk_update_hicolor_icon_cache)"; \
fi
#hicolor_icon16dir = $(datadir)/icons/hicolor/16x16/apps
#hicolor_icon16_DATA = icons/hicolor/16x16/apps/org.gnome.Eolie.png
#hicolor_icon22dir = $(datadir)/icons/hicolor/22x22/apps
#hicolor_icon22_DATA = icons/hicolor/22x22/apps/org.gnome.Eolie.png
#hicolor_icon32dir = $(datadir)/icons/hicolor/32x32/apps
#hicolor_icon32_DATA = icons/hicolor/32x32/apps/org.gnome.Eolie.png
#hicolor_icon48dir = $(datadir)/icons/hicolor/48x48/apps
#hicolor_icon48_DATA = icons/hicolor/48x48/apps/org.gnome.Eolie.png
#hicolor_icon256dir = $(datadir)/icons/hicolor/256x256/apps
#hicolor_icon256_DATA = icons/hicolor/256x256/apps/org.gnome.Eolie.png
#hicolor_iconscalabledir = $(datadir)/icons/hicolor/scalable/apps
#hicolor_iconscalable_DATA = icons/hicolor/scalable/apps/org.gnome.Eolie-symbolic.svg
#hicolor_icon_files = \
# $(hicolor_icon16_DATA) \
# $(hicolor_icon22_DATA) \
## $(hicolor_icon32_DATA) \
# $(hicolor_icon48_DATA) \
# $(hicolor_icon256_DATA) \
# $(hicolor_iconscalable_DATA)
#gtk_update_hicolor_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
#gtk_update_hicontrast_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/HighContrast
#install-data-hook: update-icon-cache
#uninstall-hook: update-icon-cache
#update-icon-cache:
# @-if test -z "$(DESTDIR)"; then \
# echo "Updating Gtk hicolor icon cache."; \
# $(gtk_update_hicolor_icon_cache); \
# echo "Updating Gtk highcontrast icon cache."; \
# $(gtk_update_hicontrast_icon_cache); \
# else \
# echo "*** Icon cache not updated. After (un)install, run this:"; \
# echo "*** $(gtk_update_hicolor_icon_cache)"; \
# echo "*** $(gtk_update_hicolor_icon_cache)"; \
# fi
#
gsettings_SCHEMAS = org.gnome.Eolie.gschema.xml
......
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkShortcutsWindow" id="shortcuts">
<property name="modal">True</property>
<child>
<object class="GtkShortcutsSection">
<property name="visible">True</property>
<property name="section-name">shortcuts</property>
<property name="max-height">10</property>
<child>
<object class="GtkShortcutsGroup">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">General</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Settings</property>
<property name="accelerator">&lt;Primary&gt;S</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Search</property>
<property name="accelerator">&lt;Primary&gt;F</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Party mode</property>
<property name="accelerator">&lt;Primary&gt;P</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Mini Player</property>
<property name="accelerator">&lt;Primary&gt;m</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Show genres</property>
<property name="accelerator">&lt;Primary&gt;g</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Show/Hide filter</property>
<property name="accelerator">&lt;Primary&gt;i</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Lock playback</property>
<property name="accelerator">&lt;Primary&gt;l</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Show/Hide navigation list</property>
<property name="accelerator">&lt;Primary&gt;h</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Show/Hide volume control</property>
<property name="accelerator">&lt;Alt&gt;v</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Fullscreen</property>
<property name="accelerator">F11</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkShortcutsGroup">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Playback</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Play</property>
<property name="accelerator">x</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Pause</property>
<property name="accelerator">c space</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Stop</property>
<property name="accelerator">v</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Next track</property>
<property name="accelerator">n</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Previous track</property>
<property name="accelerator">p</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Skip current album</property>
<property name="accelerator">&lt;Primary&gt;n</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Love current track</property>
<property name="accelerator">l</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Repeat track</property>
<property name="accelerator">&lt;Shift&gt;</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Skip backward in track</property>
<property name="accelerator">Left</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Skip forward in track</property>
<property name="accelerator">Right</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>
GtkWidget {
outline-width: 0px;
text-shadow: none;
}
GtkTreeView {
padding: 2px 2px 2px 2px;
}
GtkTreeView:selected:hover {
background-color: shade(@theme_selected_bg_color, 0.9);
color: @theme_selected_fg_color;
}
GtkTreeView:hover {
background-color: alpha(@theme_fg_color, 0.05);
color: @theme_fg_color;
}
GtkTreeView.separator {
color: alpha(@theme_fg_color, 0.1);
}
GtkTreeView .image{
color: alpha(@theme_fg_color, 0.8);
}
GtkTreeView .image:backdrop{
color: alpha(@theme_fg_color, 0.6);
}
GtkTreeView .image:selected{
color: @theme_selected_fg_color;
}
Gtk.ListBoxRow .loved-button {
border-color: transparent;
background-color: transparent;
color: transparent;
}
Gtk.ListBoxRow .loved-button:hover {
border-color: alpha(@theme_fg_color, 0.1);
}
Gtk.ListBoxRow .menu-button {
border-color: transparent;
background-color: transparent;
color: transparent;
}
Gtk.ListBoxRow .menu-button:hover {
border-color: alpha(@theme_fg_color, 0.1);
}
.box-shadow {
box-shadow: 1px 1px 5px 5px alpha(black, 0.4);
}
.loading {
background-color: shade(@theme_bg_color, 1.2);
border: 1px solid @theme_bg_color;
}
.selected {
color: @theme_selected_bg_color;
}
.osd-popover {
opacity: 0.95;
}
.no-border {
border: none;
background-image: none;
}
.lollypop-title {
font-weight: bold;
font-size: smaller;
padding: 0px 12px;
}
.lollypop-subtitle {
font-size: smaller;
padding: 0px 12px;
}
.white {
background-color: white;
border-radius: 4px;
}
.black {
background-color: black;
}
.header-borders {
border: 1px solid shade(@theme_bg_color, 0.7);
border-radius: 4px;
border-top: none;
border-left: none;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
border-top-right-radius: 0px;
background-color: @theme_bg_color;
}
.header {
border: 1px solid alpha(@theme_bg_color, 0);
border-radius: 4px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}
.header:hover {
border: 1px solid shade(@theme_bg_color, 0.7);
border-radius: 4px;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
background-color: shade(@theme_bg_color, 0.95);
}
.header-dim {
color: alpha(@theme_fg_color, 0.7);
}
.cover-frame {
border: 1px solid shade(@theme_bg_color, 0.7);
background-color: shade(@theme_bg_color, 1.5);
padding: 3px;
border-radius: 2px;
}
.small-cover-frame {
border-radius: 1px;
border: 1px solid shade(@theme_bg_color, 0.7);
}
.small-cover-web {
border-radius: 1px;
border: 1px solid alpha(red, 0.5);
}
.cover-frame-web {
border-color: alpha(red, 0.3);
background-color: alpha(red, 0.3);
}
.cover-frame-selected {
border-color: @theme_selected_bg_color;
background-color: @theme_selected_bg_color;
}
.artwork-icon {
border: 2px solid #bebebe;
background-color: white;
color: #bebebe;
border-radius: 20px;
}
.rounded-icon {
transition: 70ms linear;
border: 3px solid white;
background-color: black;
color: white;
padding: 12px;
opacity: 0.7;
border-radius: 30px;
}
.rounded-icon-small {
transition: 70ms linear;
border: 2px solid white;
background-color: black;
color: white;
opacity: 0.7;
padding: 5px;
border-radius: 16px;
}
.squared-icon {
transition:70ms linear;
border: 2px solid white;
background-color: black;
color: white;
opacity: 0.7;
padding: 5px;
border-radius: 5px;
}
.no-padding {
padding: 0px;
}
.fastscroll {
padding: 2px;
background-color: @theme_bg_color;
border: 1px solid shade(@theme_bg_color, 0.7);
border-right: none;
border-radius: 2px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
.queued {
border-radius: 5px;
color: @theme_selected_fg_color;
background-color: @theme_selected_bg_color;
}
.drag-up {
background-image: -gtk-gradient (linear,
left top,
left bottom,
from (@theme_bg_color),
color-stop (0.9, @theme_bg_color),
to (@theme_selected_bg_color));
}
.drag-down {
background-image: -gtk-gradient (linear,
left top,
left bottom,
from (@theme_selected_bg_color),
color-stop (0.1, @theme_bg_color),
to (@theme_bg_color));
}
.trackswidget {
background-color: transparent;
}
.trackrow {
padding: 0px;
background-color: transparent;
color: inherit;
}
.trackrow:hover {
border-radius: 5px;
outline-radius: 5px;
background-color: alpha(@theme_fg_color, 0.05);
color: inherit;
}
.trackrow:selected {
border-radius: 5px;
outline-radius: 5px;
background-color: alpha(@theme_fg_color, 0.07);
color: inherit;
}
.trackrowplaying {
border-radius: 5px;
outline-radius: 5px;
padding: 0px;
background-color: alpha(@theme_fg_color, 0.07);
color: inherit;
}
.trackrowplaying .loved-button {
background-color: transparent;
border-color: transparent;
color: transparent;
}
.trackrowplaying:hover .loved-button {
border-color: transparent;
color: inherit;
}
.trackrowplaying:hover .loved-button:hover {
border-color: alpha(#000000, 0.1);
}
.trackrowplaying .menu-button {
background-color: transparent;
border-color: transparent;
color: transparent;
}
.trackrowplaying:hover .menu-button {
border-color: transparent;
color: inherit;
}
.trackrowplaying:hover .menu-button:hover {
border-color: alpha(#000000, 0.1);
}
.trackrow .loved-button {
border-color: transparent;
background-color: transparent;
color: transparent;
}
.trackrow .menu-button {
border-color: transparent;
background-color: transparent;
color: transparent;
}
.trackrow:hover .loved-button {
color: inherit;
}
.trackrow:hover .menu-button {
color: inherit;
}
.trackrow:hover .loved-button:hover {
border-color: alpha(@theme_fg_color, 0.1);
}
.trackrow:hover .menu-button:hover {
border-color: alpha(@theme_fg_color, 0.1);
}
.album-menu-selected .album-menu-button{
border-color: alpha(@theme_fg_color, 0.1);
color: inherit;
}
.track-menu-selected {
background-color: alpha(@theme_fg_color, 0.03);
color: inherit;
}
.track-menu-selected .track-loved-button {
border-color: alpha(@theme_fg_color, 0.1);
color: inherit;
}
.track-menu-selected .track-menu-button {
border-color: alpha(@theme_fg_color, 0.1);
color: inherit;
}
.menu-button {
box-shadow: none;
padding-left: 8px;
padding-right: 8px;
padding-top: 0px;
padding-bottom: 0px;
background-image: none;
border-style: solid;
border-image-source: none;
border-bottom-width: 1px;
border-top-width: 1px;
border-left-width: 1px;
border-right-width: 1px;
border-color: transparent;
color: inherit;
}
.menu-button:hover {
border-color: alpha(@theme_fg_color, 0.1);
color: inherit;
}
.loved-button {
box-shadow: none;
padding-top: 0px;
padding-bottom: 0px;
background-image: none;
color: inherit;
}
.loved-button:hover {
border-color: alpha(@theme_fg_color, 0.1);
color: inherit;
}
* {
outline-width: 0px;
text-shadow: none;
}
treeview {
padding: 2px 2px 2px 2px;
}
treeview:selected:hover {
background-color: shade(@theme_selected_bg_color, 0.9);
color: @theme_selected_fg_color;
}
treeview:hover {
background-color: alpha(@theme_fg_color, 0.05);
color: @theme_fg_color;
}
treeview.separator {
color: alpha(@theme_fg_color, 0.1);
}
treeview .image:selected{
color: @theme_selected_fg_color;
}
Gtk.ListBoxRow .loved-button {
border-color: transparent;
background-color: transparent;
color: transparent;
}
Gtk.ListBoxRow .loved-button:hover {
border-color: alpha(@theme_fg_color, 0.1);
}
Gtk.ListBoxRow .menu-button {
border-color: transparent;
background-color: transparent;
color: transparent;
}
Gtk.ListBoxRow .menu-button:hover {
border-color: alpha(@theme_fg_color, 0.1);
}
popover.background separator {
margin: 0px;
}
.box-shadow {
box-shadow: 1px 1px 5px 5px alpha(black, 0.4);
}
.loading {
background-color: shade(@theme_bg_color, 1.2);
border: 1px solid @theme_bg_color;
}
.selected {
color: @theme_selected_bg_color;
}
.osd-popover {
opacity: 0.95;
}
.lollypop-title {
font-weight: bold;
font-size: smaller;
padding: 0px 12px;
}