comparison src/gtkutils.c @ 6371:8f94cce8faa5

[gaim-migrate @ 6876] I think I touched almost every file. Here's what happened. I started off fixing up the Makefile.am and configure.ac files to help with the core/UI split some. Then I got annoyed with the build_{allow,deny}_list() functions that everything used, and decided to core/UI split privacy. While doing that, I decided to redesign the dialog. So now, a lot has changed, but not really so much. Just that most files got affected. Oh yeah, and the UI stuff was taken out of internal.h and moved to gtkinternal.h. If you use this, please be aware of this change. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 05 Aug 2003 10:55:04 +0000
parents 7ff81c01d238
children 9dd4bb3cf1df
comparison
equal deleted inserted replaced
6370:a4b83df2165b 6371:8f94cce8faa5
18 * 18 *
19 * You should have received a copy of the GNU General Public License 19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software 20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 */ 22 */
23 #include "internal.h" 23 #include "gtkinternal.h"
24 24
25 #ifndef _WIN32 25 #ifndef _WIN32
26 # include <X11/Xlib.h> 26 # include <X11/Xlib.h>
27 #else 27 #else
28 # ifdef small 28 # ifdef small
432 if (menu) 432 if (menu)
433 gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem); 433 gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem);
434 gtk_widget_show(menuitem); 434 gtk_widget_show(menuitem);
435 435
436 label = gtk_label_new(str); 436 label = gtk_label_new(str);
437 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
437 gtk_label_set_pattern(GTK_LABEL(label), "_"); 438 gtk_label_set_pattern(GTK_LABEL(label), "_");
438 gtk_container_add(GTK_CONTAINER(menuitem), label); 439 gtk_container_add(GTK_CONTAINER(menuitem), label);
439 gtk_widget_show(label); 440 gtk_widget_show(label);
440 /* FIXME: Go back and fix this 441 /* FIXME: Go back and fix this
441 gtk_widget_add_accelerator(menuitem, "activate", accel, str[0], 442 gtk_widget_add_accelerator(menuitem, "activate", accel, str[0],