Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 216804
Collapse All | Expand All

(-)gcursor-0.061/src/gcursor.c (+7 lines)
Lines 16-21 Link Here
16
#include <gconf/gconf-client.h>
16
#include <gconf/gconf-client.h>
17
#include <glade/glade.h>
17
#include <glade/glade.h>
18
18
19
#define CONNECT_SIGNAL(name) glade_xml_signal_connect(main_window, #name, \
20
		G_CALLBACK(name))
21
19
void reload_tree(GtkWidget *tree, GtkListStore *store);
22
void reload_tree(GtkWidget *tree, GtkListStore *store);
20
void size_changed();
23
void size_changed();
21
GladeXML *main_window = NULL;
24
GladeXML *main_window = NULL;
Lines 429-434 Link Here
429
	client  = gconf_client_get_default();
432
	client  = gconf_client_get_default();
430
433
431
	main_window = glade_xml_new(GLADE_PATH"/gcursor.glade", "select_dialog", NULL);
434
	main_window = glade_xml_new(GLADE_PATH"/gcursor.glade", "select_dialog", NULL);
435
	CONNECT_SIGNAL(extract_theme);
436
	CONNECT_SIGNAL(open_theme_dir);
437
	CONNECT_SIGNAL(entry_selected);
438
	CONNECT_SIGNAL(size_changed);
432
	store       = gtk_list_store_new(2, GDK_TYPE_PIXBUF, GTK_TYPE_STRING);
439
	store       = gtk_list_store_new(2, GDK_TYPE_PIXBUF, GTK_TYPE_STRING);
433
	tree        = glade_xml_get_widget(main_window, "cursor_tree");
440
	tree        = glade_xml_get_widget(main_window, "cursor_tree");
434
	gtk_tree_view_set_model(GTK_TREE_VIEW(tree), GTK_TREE_MODEL(store));
441
	gtk_tree_view_set_model(GTK_TREE_VIEW(tree), GTK_TREE_MODEL(store));

Return to bug 216804