This will switch themes. You need themes for it to compile so you
need to edit the gnome-core/capplets/Makefile.am and gnome-core/configure.in to get this to compile. If you do, it's pretty cool...
This commit is contained in:
parent
8196fea9a9
commit
724309cdfb
21 changed files with 2671 additions and 0 deletions
14
capplets/theme-switcher/signals.c-20981
Normal file
14
capplets/theme-switcher/signals.c-20981
Normal file
|
@ -0,0 +1,14 @@
|
|||
#include "da.h"
|
||||
|
||||
void
|
||||
signal_apply_theme(GtkWidget *widget)
|
||||
{
|
||||
GdkEventClient rcevent;
|
||||
|
||||
rcevent.type = GDK_CLIENT_EVENT;
|
||||
rcevent.window = widget->window;
|
||||
rcevent.send_event = TRUE;
|
||||
rcevent.message_type = gdk_atom_intern("_GTK_READ_RCFILES", FALSE);
|
||||
rcevent.data_format = 8;
|
||||
gdk_event_send_clientmessage_toall((GdkEvent *)&rcevent);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue