aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2016-07-13 14:24:26 +0300
committerJussi Kukkonen <jussi.kukkonen@intel.com>2016-07-15 13:49:37 +0300
commitbd57e43f59a67b4cfa5285ecb810c179d773126e (patch)
tree2245155aef6454237fa2b76596de750a7bfbc7e7
parente4ab2198a5f9611027cb62e6ff41ee2593f07d4a (diff)
downloadmatchbox-keyboard-master.tar.gz
matchbox-keyboard-master.tar.bz2
matchbox-keyboard-master.zip
applet: Port to ScalingImage2HEADmaster
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
-rw-r--r--applet/applet.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/applet/applet.c b/applet/applet.c
index 0de5634..69cc600 100644
--- a/applet/applet.c
+++ b/applet/applet.c
@@ -19,7 +19,7 @@
#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 +35,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);