/[weechat]/weechat/src/gui/gui-common.c
ViewVC logotype

Diff of /weechat/src/gui/gui-common.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.66 by flashcode, Sun Nov 20 18:13:24 2005 UTC revision 1.67 by flashcode, Tue Nov 22 13:43:55 2005 UTC
# Line 555  gui_buffer_free (t_gui_buffer *buffer, i Line 555  gui_buffer_free (t_gui_buffer *buffer, i
555          {          {
556              if ((buffer == ptr_win->buffer) &&              if ((buffer == ptr_win->buffer) &&
557                  ((buffer->next_buffer) || (buffer->prev_buffer)))                  ((buffer->next_buffer) || (buffer->prev_buffer)))
558                  gui_switch_to_previous_buffer (ptr_win);                  gui_buffer_switch_previous (ptr_win);
559          }          }
560      }      }
561            
# Line 1299  gui_window_switch_server (t_gui_window * Line 1299  gui_window_switch_server (t_gui_window *
1299  }  }
1300    
1301  /*  /*
1302   * gui_switch_to_previous_buffer: switch to previous buffer   * gui_buffer_switch_previous: switch to previous buffer
1303   */   */
1304    
1305  void  void
1306  gui_switch_to_previous_buffer (t_gui_window *window)  gui_buffer_switch_previous (t_gui_window *window)
1307  {  {
1308      if (!gui_ok)      if (!gui_ok)
1309          return;          return;
# Line 1321  gui_switch_to_previous_buffer (t_gui_win Line 1321  gui_switch_to_previous_buffer (t_gui_win
1321  }  }
1322    
1323  /*  /*
1324   * gui_switch_to_next_buffer: switch to next buffer   * gui_buffer_switch_next: switch to next buffer
1325   */   */
1326    
1327  void  void
1328  gui_switch_to_next_buffer (t_gui_window *window)  gui_buffer_switch_next (t_gui_window *window)
1329  {  {
1330      if (!gui_ok)      if (!gui_ok)
1331          return;          return;
# Line 1343  gui_switch_to_next_buffer (t_gui_window Line 1343  gui_switch_to_next_buffer (t_gui_window
1343  }  }
1344    
1345  /*  /*
1346   * gui_switch_to_previous_window: switch to previous window   * gui_window_switch_previous: switch to previous window
1347   */   */
1348    
1349  void  void
1350  gui_switch_to_previous_window (t_gui_window *window)  gui_window_switch_previous (t_gui_window *window)
1351  {  {
1352      if (!gui_ok)      if (!gui_ok)
1353          return;          return;
# Line 1362  gui_switch_to_previous_window (t_gui_win Line 1362  gui_switch_to_previous_window (t_gui_win
1362  }  }
1363    
1364  /*  /*
1365   * gui_switch_to_next_window: switch to next window   * gui_window_switch_next: switch to next window
1366   */   */
1367    
1368  void  void
1369  gui_switch_to_next_window (t_gui_window *window)  gui_window_switch_next (t_gui_window *window)
1370  {  {
1371      if (!gui_ok)      if (!gui_ok)
1372          return;          return;
# Line 1381  gui_switch_to_next_window (t_gui_window Line 1381  gui_switch_to_next_window (t_gui_window
1381  }  }
1382    
1383  /*  /*
1384   * gui_switch_to_window_by_buffer: switch to next window displaying a buffer   * gui_window_switch_by_buffer: switch to next window displaying a buffer
1385   */   */
1386    
1387  void  void
1388  gui_switch_to_window_by_buffer (t_gui_window *window, int buffer_number)  gui_window_switch_by_buffer (t_gui_window *window, int buffer_number)
1389  {  {
1390      t_gui_window *ptr_win;      t_gui_window *ptr_win;
1391            
# Line 1407  gui_switch_to_window_by_buffer (t_gui_wi Line 1407  gui_switch_to_window_by_buffer (t_gui_wi
1407  }  }
1408    
1409  /*  /*
1410   * gui_switch_to_dcc_buffer: switch to dcc buffer (create it if it does not exist)   * gui_buffer_switch_dcc: switch to dcc buffer (create it if it does not exist)
1411   */   */
1412    
1413  void  void
1414  gui_switch_to_dcc_buffer (t_gui_window *window)  gui_buffer_switch_dcc (t_gui_window *window)
1415  {  {
1416      t_gui_buffer *ptr_buffer;      t_gui_buffer *ptr_buffer;
1417            
# Line 1431  gui_switch_to_dcc_buffer (t_gui_window * Line 1431  gui_switch_to_dcc_buffer (t_gui_window *
1431  }  }
1432    
1433  /*  /*
1434   * gui_switch_to_buffer_by_number: switch to another buffer with number   * gui_buffer_switch_by_number: switch to another buffer with number
1435   */   */
1436    
1437  t_gui_buffer *  t_gui_buffer *
1438  gui_switch_to_buffer_by_number (t_gui_window *window, int number)  gui_buffer_switch_by_number (t_gui_window *window, int number)
1439  {  {
1440      t_gui_buffer *ptr_buffer;      t_gui_buffer *ptr_buffer;
1441            
# Line 1463  gui_switch_to_buffer_by_number (t_gui_wi Line 1463  gui_switch_to_buffer_by_number (t_gui_wi
1463  }  }
1464    
1465  /*  /*
1466   * gui_switch_to_buffer_by_number: switch to another buffer with number   * gui_buffer_move_to_number: move a buffer to another number
1467   */   */
1468    
1469  void  void
1470  gui_move_buffer_to_number (t_gui_window *window, int number)  gui_buffer_move_to_number (t_gui_window *window, int number)
1471  {  {
1472      t_gui_buffer *ptr_buffer;      t_gui_buffer *ptr_buffer;
1473      int i;      int i;

Legend:
Removed from v.1.66  
changed lines
  Added in v.1.67

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26