Mercurial > pidgin
comparison src/gtkplugin.c @ 11742:dfb66f3f9e87
[gaim-migrate @ 14033]
Removes Tools > Plugin Actions and lets plugins add items directly to Tools:wq
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 23 Oct 2005 08:00:29 +0000 |
parents | 8034f752feae |
children | 935278abb386 |
comparison
equal
deleted
inserted
replaced
11741:8034f752feae | 11742:dfb66f3f9e87 |
---|---|
117 GaimPlugin *plug; | 117 GaimPlugin *plug; |
118 gchar buf[1024]; | 118 gchar buf[1024]; |
119 gchar *name = NULL, *description = NULL; | 119 gchar *name = NULL, *description = NULL; |
120 | 120 |
121 GdkCursor *wait = gdk_cursor_new (GDK_WATCH); | 121 GdkCursor *wait = gdk_cursor_new (GDK_WATCH); |
122 gdk_window_set_cursor(GTK_WINDOW(plugin_dialog), wait); | 122 gdk_window_set_cursor(plugin_dialog->window, wait); |
123 gdk_cursor_unref(wait); | 123 gdk_cursor_unref(wait); |
124 | 124 |
125 gtk_tree_model_get_iter (model, &iter, path); | 125 gtk_tree_model_get_iter (model, &iter, path); |
126 gtk_tree_model_get (model, &iter, 2, &plug, -1); | 126 gtk_tree_model_get (model, &iter, 2, &plug, -1); |
127 | 127 |
129 gaim_plugin_load(plug); | 129 gaim_plugin_load(plug); |
130 else | 130 else |
131 gaim_plugin_unload(plug); | 131 gaim_plugin_unload(plug); |
132 | 132 |
133 | 133 |
134 gdk_window_set_cursor(GTK_WINDOW(plugin_dialog), NULL); | 134 gdk_window_set_cursor(plugin_dialog->window, NULL); |
135 | 135 |
136 name = g_markup_escape_text(_(plug->info->name), -1); | 136 name = g_markup_escape_text(_(plug->info->name), -1); |
137 description = g_markup_escape_text(_(plug->info->description), -1); | 137 description = g_markup_escape_text(_(plug->info->description), -1); |
138 | 138 |
139 if (plug->error != NULL) { | 139 if (plug->error != NULL) { |