diff options
Diffstat (limited to 'applet/applet.c')
-rw-r--r-- | applet/applet.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/applet/applet.c b/applet/applet.c index 0de5634..3fdd049 100644 --- a/applet/applet.c +++ b/applet/applet.c @@ -7,19 +7,13 @@ * Ross Burton <ross@openedhand.com> * Stefan Schmidt <stefan@openmoko.org> * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU Lesser General Public License, - * version 2.1, as published by the Free Software Foundation. + * SPDX-License-Identifier: LGPL-2.1 * - * This program is distributed in the hope it will be useful, but WITHOUT ANY - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for - * more details. */ #include <gtk/gtk.h> #include <matchbox-panel/mb-panel.h> -#include <matchbox-panel/mb-panel-scaling-image.h> +#include <matchbox-panel/mb-panel-scaling-image2.h> #include <gtk-im/im-protocol.h> static void @@ -35,9 +29,10 @@ mb_panel_applet_create (const char *id, GtkOrientation orientation) box = gtk_event_box_new (); gtk_event_box_set_visible_window (GTK_EVENT_BOX (box), FALSE); + gtk_event_box_set_above_child (GTK_EVENT_BOX (box), TRUE); gtk_widget_set_name (box, "MatchboxPanelKeyboard"); - image = mb_panel_scaling_image_new (orientation, "matchbox-keyboard"); + image = mb_panel_scaling_image2_new (orientation, "matchbox-keyboard"); gtk_container_add (GTK_CONTAINER (box), image); g_signal_connect (box, "button-release-event", G_CALLBACK (on_toggled), NULL); |