Skip to content
Snippets Groups Projects
Commit 8dab7d17 authored by Luis Guzmán's avatar Luis Guzmán Committed by Ruben Rodriguez
Browse files

Adjust indicator-applet patch to nabia's version.

Is this still necessary?
parent 8aab147b
No related merge requests found
...@@ -24,13 +24,13 @@ COMPONENT=main ...@@ -24,13 +24,13 @@ COMPONENT=main
# Fixes https://bugs.launchpad.net/indicator-applet/+bug/965953 # Fixes https://bugs.launchpad.net/indicator-applet/+bug/965953
cat << EOF | patch -p1 cat << EOF | patch -p0
--- indicator-applet-12.10.2+14.04.20140403/src/applet-main.c 2014-04-03 01:10:57.000000000 +0000 --- src/indicator-applet.c 2020-04-09 06:09:47.000000000 -0500
+++ indicator-applet-12.10.2+14.04.20140403.mod/src/applet-main.c 2014-05-20 21:34:34.856698376 +0000 +++ src.mod/indicator-applet.c 2021-08-11 19:21:12.914141219 -0500
@@ -364,6 +364,24 @@ @@ -305,6 +305,24 @@
return; return 0.0;
} }
+static void +static void
+do_menu_reposition(gpointer menu) +do_menu_reposition(gpointer menu)
+{ +{
...@@ -50,21 +50,12 @@ cat << EOF | patch -p1 ...@@ -50,21 +50,12 @@ cat << EOF | patch -p1
+} +}
+ +
static GtkWidget* static GtkWidget*
create_menuitem (IndicatorObject * io, IndicatorObjectEntry * entry, GtkWidget * menubar) create_menuitem (IndicatorObject *io,
{ IndicatorObjectEntry *entry,
@@ -415,6 +433,7 @@
gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), GTK_WIDGET(entry->menu));
}
+ g_signal_connect(G_OBJECT(entry->menu), "show", G_CALLBACK(on_menuitem_show), entry->menu);
place_in_menu(menubar, menuitem, io, entry);
return menuitem;
EOF EOF
# Show datetime in standard applet # Show datetime in standard applet
sed '/datetime/,/}/d' -i src/applet-main.c #sed '/datetime/,/}/d' -i src/indicator-applet.c
changelog "Fixes LP:965953" changelog "Fixes LP:965953"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment