1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 19:23:13 +02:00

Added "copy" and "rename" options to /server command

This commit is contained in:
Sebastien Helleu
2007-08-08 08:19:04 +00:00
parent 3c10d2205e
commit f68a2cbfcd
64 changed files with 4992 additions and 4604 deletions
+15
View File
@@ -430,6 +430,21 @@ gui_window_redraw_buffer (t_gui_buffer *buffer)
gui_panel_redraw_buffer (buffer);
}
/*
* gui_window_redraw_all_buffers: redraw all buffers
*/
void
gui_window_redraw_all_buffers ()
{
t_gui_window *ptr_win;
for (ptr_win = gui_windows; ptr_win; ptr_win = ptr_win->next_window)
{
gui_window_redraw_buffer (ptr_win->buffer);
}
}
/*
* gui_window_switch_to_buffer: switch to another buffer
*/
+10
View File
@@ -156,6 +156,16 @@ gui_window_redraw_buffer (t_gui_buffer *buffer)
(void) buffer;
}
/*
* gui_window_redraw_all_buffers: redraw all buffers
*/
void
gui_window_redraw_all_buffers ()
{
/* TODO: write this function for Gtk */
}
/*
* gui_window_switch_to_buffer: switch to another buffer
*/
+1 -5
View File
@@ -1405,7 +1405,6 @@ gui_action_scroll_unread (t_gui_window *window, char *args)
void
gui_action_set_unread (t_gui_window *window, char *args)
{
t_gui_window *ptr_win;
t_gui_buffer *ptr_buffer;
/* make C compiler happy */
@@ -1421,10 +1420,7 @@ gui_action_set_unread (t_gui_window *window, char *args)
}
/* refresh all windows */
for (ptr_win = gui_windows; ptr_win; ptr_win = ptr_win->next_window)
{
gui_window_redraw_buffer (ptr_win->buffer);
}
gui_window_redraw_all_buffers ();
}
/*
+1
View File
@@ -250,6 +250,7 @@ extern int gui_window_objects_init (t_gui_window *);
extern void gui_window_objects_free (t_gui_window *, int);
extern int gui_window_calculate_pos_size (t_gui_window *, int);
extern void gui_window_redraw_buffer (t_gui_buffer *);
extern void gui_window_redraw_all_buffers ();
extern void gui_window_switch_to_buffer (t_gui_window *, t_gui_buffer *);
extern void gui_window_page_up (t_gui_window *);
extern void gui_window_page_down (t_gui_window *);