Mercurial > pidgin
diff console/libgnt/gntmain.c @ 14139:44ec6c7cbc76
[gaim-migrate @ 16781]
Allow setting the preferences for gnt-plugins.
Add a guifications-like plugin for gntgaim. You can set its preferences.
The preferences for core plugins are still not accessible.
The makefile-foo will require changes once the split is complete. I am now
just committing whatever works for me.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 16 Aug 2006 05:12:48 +0000 |
parents | db2311999862 |
children | c3f5ac1f57a9 |
line wrap: on
line diff
--- a/console/libgnt/gntmain.c Wed Aug 16 04:50:27 2006 +0000 +++ b/console/libgnt/gntmain.c Wed Aug 16 05:12:48 2006 +0000 @@ -586,10 +586,7 @@ if (changed) { - GntNode *node = g_hash_table_lookup(nodes, widget); - gnt_widget_set_position(widget, x, y); - move_panel(node->panel, y, x); - update_screen(NULL); + gnt_screen_move_widget(widget, x, y); } } else if (*buffer == '\r') @@ -879,3 +876,11 @@ } } +void gnt_screen_move_widget(GntWidget *widget, int x, int y) +{ + GntNode *node = g_hash_table_lookup(nodes, widget); + gnt_widget_set_position(widget, x, y); + move_panel(node->panel, y, x); + update_screen(NULL); +} +