diff options
-rw-r--r-- | src/applet-main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/applet-main.c b/src/applet-main.c index 6ec3788..222d0c8 100644 --- a/src/applet-main.c +++ b/src/applet-main.c @@ -21,6 +21,14 @@ PANEL_APPLET_BONOBO_FACTORY ("OAFIID:GNOME_IndicatorApplet_Factory", static gboolean applet_fill_cb (PanelApplet * applet, const gchar * iid, gpointer data) { + GtkWidget * hbox = gtk_hbox_new(FALSE, 3); + + GtkWidget * label = gtk_label_new("Test"); + gtk_box_pack_end(GTK_BOX(hbox), label, TRUE, TRUE, 0); + gtk_widget_show(label); + + gtk_container_add(GTK_CONTAINER(applet), hbox); + gtk_widget_show(hbox); return TRUE; } |