Flatpak: Add appindicator plugin

Modules are copied from https://github.com/flathub/shared-modules
This commit is contained in:
André Apitzsch
2020-08-11 22:35:13 +02:00
parent 237ceb11d0
commit 2c83bd4725
9 changed files with 1202 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- libappindicator-12.10.0/src/app-indicator.c
+++ libappindicator-12.10.0/src/app-indicator.c
@@ -1606,7 +1606,7 @@ status_icon_changes (AppIndicator * self, gpointer data)
gint n_elements, i;
gboolean found=FALSE;
gtk_icon_theme_get_search_path(icon_theme, &path, &n_elements);
- for (i=0; i< n_elements || path[i] == NULL; i++) {
+ for (i=0; i< n_elements; i++) {
if(g_strcmp0(path[i], self->priv->icon_theme_path) == 0) {
found=TRUE;
break;