comparison src/about.c @ 1009:d496fe2614a6

[gaim-migrate @ 1019] command-line options for the app. not for the applet because most of the time you don't run it from the command line anyway. thanks bmiller committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 20 Oct 2000 00:35:30 +0000
parents fa681641643d
children f3e0f41beddb
comparison
equal deleted inserted replaced
1008:1b99caffcd98 1009:d496fe2614a6
119 GTK_SIGNAL_FUNC(about_click), NULL); 119 GTK_SIGNAL_FUNC(about_click), NULL);
120 gdk_window_set_cursor(eventbox->window, gdk_cursor_new(GDK_HAND2)); 120 gdk_window_set_cursor(eventbox->window, gdk_cursor_new(GDK_HAND2));
121 121
122 button = gtk_button_new_with_label("Close"); 122 button = gtk_button_new_with_label("Close");
123 123
124 if (null == NULL) /* there's a mindtrip */ 124 if (null == NULL) {/* there's a mindtrip */
125 gtk_signal_connect_object(GTK_OBJECT(button), "clicked", 125 gtk_signal_connect_object(GTK_OBJECT(button), "clicked",
126 GTK_SIGNAL_FUNC(destroy_about), GTK_OBJECT(about)); 126 GTK_SIGNAL_FUNC(destroy_about), GTK_OBJECT(about));
127 else 127 gtk_signal_connect(GTK_OBJECT(about), "destroy",
128 GTK_SIGNAL_FUNC(destroy_about), GTK_OBJECT(about));
129 } else {
128 gtk_signal_connect(GTK_OBJECT(button), "clicked", 130 gtk_signal_connect(GTK_OBJECT(button), "clicked",
129 GTK_SIGNAL_FUNC(version_exit), NULL); 131 GTK_SIGNAL_FUNC(version_exit), NULL);
130 gtk_signal_connect(GTK_OBJECT(about), "destroy", 132 gtk_signal_connect(GTK_OBJECT(about), "destroy",
131 GTK_SIGNAL_FUNC(destroy_about), GTK_OBJECT(about)); 133 GTK_SIGNAL_FUNC(version_exit), NULL);
134 }
132 135
133 if (display_options & OPT_DISP_COOL_LOOK) 136 if (display_options & OPT_DISP_COOL_LOOK)
134 gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE); 137 gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE);
135 138
136 GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); 139 GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);