home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.0.083 < prev    next >
Encoding:
Internet Message Format  |  2001-11-05  |  2.0 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.083
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.0.083
  11. Problem:    GTK: When compiled without menu support the buttons in a dialog
  12.         don't have any text. (Erik Edelmann)
  13. Solution:   Add the text also when GTK_USE_ACCEL isn't defined.  And define
  14.         GTK_USE_ACCEL also when not using menus.
  15. Files:        src/gui_gtk.c
  16.  
  17.  
  18. *** ../vim60.82/src/gui_gtk.c    Thu Oct 25 10:20:46 2001
  19. --- src/gui_gtk.c    Tue Nov  6 11:52:21 2001
  20. ***************
  21. *** 119,126 ****
  22.   static void exact_match_cb(GtkWidget *widget, gpointer data);
  23.   static void repl_dir_cb(GtkWidget * widget, gpointer data);
  24.   
  25. - #if defined(FEAT_MENU) || defined(PROTO)
  26.   /*
  27.    * Only use accelerators when gtk_menu_ensure_uline_accel_group() is
  28.    * available, which is in version 1.2.1.  That was the first version where
  29. --- 119,124 ----
  30. ***************
  31. *** 132,137 ****
  32. --- 130,137 ----
  33.   # endif
  34.   #endif
  35.   
  36. + #if defined(FEAT_MENU) || defined(PROTO)
  37.   /*
  38.    * Create a highly customized menu item by hand instead of by using:
  39.    *
  40. ***************
  41. *** 1337,1342 ****
  42. --- 1337,1344 ----
  43.               accel_key, 0,
  44.               0);
  45.       }
  46. + # else
  47. +     (void)gtk_label_parse_uline(GTK_LABEL(label), (const gchar *)p);
  48.   # endif
  49.   
  50.       gtk_container_add(GTK_CONTAINER(button[butcount]), label);
  51. *** ../vim60.82/src/version.c    Mon Nov  5 22:06:57 2001
  52. --- src/version.c    Tue Nov  6 11:56:49 2001
  53. ***************
  54. *** 608,609 ****
  55. --- 608,611 ----
  56.   {   /* Add new patch number below this line */
  57. + /**/
  58. +     83,
  59.   /**/
  60.  
  61. -- 
  62. hundred-and-one symptoms of being an internet addict:
  63. 22. You've already visited all the links at Yahoo and you're halfway through
  64.     Lycos.
  65.  
  66.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  67. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  68.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  69.