Fix compiler warning and hide event window.
This makes the plugin look nice on transparent panels.
This commit is contained in:
parent
ab34029ca2
commit
41ecb9026b
2 changed files with 6 additions and 5 deletions
|
|
@ -489,13 +489,12 @@ eyes_plugin_new (XfcePanelPlugin* plugin)
|
|||
eyes->plugin = plugin;
|
||||
|
||||
eyes->ebox = gtk_event_box_new ();
|
||||
gtk_widget_show(GTK_WIDGET(eyes->ebox));
|
||||
gtk_event_box_set_visible_window (GTK_EVENT_BOX (eyes->ebox), FALSE);
|
||||
gtk_widget_show(eyes->ebox);
|
||||
|
||||
eyes->align = gtk_alignment_new (0.5, 0.5, 1.0, 1.0);
|
||||
|
||||
gtk_widget_show(GTK_WIDGET(eyes->align));
|
||||
|
||||
gtk_container_add(GTK_CONTAINER(eyes->ebox), GTK_WIDGET(eyes->align));
|
||||
gtk_container_add(GTK_CONTAINER(eyes->ebox), eyes->align);
|
||||
gtk_widget_show(eyes->align);
|
||||
|
||||
eyes_read_rc_file (plugin, eyes);
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,9 @@
|
|||
#include <ctype.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "eyes.h"
|
||||
#include "themes.h"
|
||||
|
||||
gchar *theme_directories[] = {
|
||||
THEMESDIR
|
||||
|
|
|
|||
Reference in a new issue