Mercurial > pidgin
comparison src/gtkdialogs.c @ 10193:17dcff7a5c77
[gaim-migrate @ 11308]
I replaced the currently logo with a modified version created by
Steven Garrity. This one is wider and less-tall. Nathan
Fredrickson sent this to gaim-devel in Februrary and I just
realized that I like it. Thanks guys!
I like it because there's no more empty gray-space to the left
and right of the logo. And I think it creates a bolder
distinction between the login window and the buddy list.
I also removed the version number from the about window, since
it's super-imposed on the logo.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 16 Nov 2004 02:56:09 +0000 |
parents | 53410b84336f |
children | f37516ae6a0b |
comparison
equal
deleted
inserted
replaced
10192:025e119f95f9 | 10193:17dcff7a5c77 |
---|---|
161 void gaim_gtkdialogs_about(GtkWidget *w, void *data) | 161 void gaim_gtkdialogs_about(GtkWidget *w, void *data) |
162 { | 162 { |
163 GtkWidget *hbox; | 163 GtkWidget *hbox; |
164 GtkWidget *vbox; | 164 GtkWidget *vbox; |
165 GtkWidget *logo; | 165 GtkWidget *logo; |
166 GtkWidget *label; | |
167 GtkWidget *frame; | 166 GtkWidget *frame; |
168 GtkWidget *text; | 167 GtkWidget *text; |
169 GtkWidget *bbox; | 168 GtkWidget *bbox; |
170 GtkWidget *button; | 169 GtkWidget *button; |
171 GtkTextIter iter; | 170 GtkTextIter iter; |
172 GString *str; | 171 GString *str; |
173 gchar *labeltext; | |
174 int i; | 172 int i; |
175 | 173 |
176 if (about != NULL) { | 174 if (about != NULL) { |
177 gtk_window_present(GTK_WINDOW(about)); | 175 gtk_window_present(GTK_WINDOW(about)); |
178 return; | 176 return; |
192 vbox = gtk_vbox_new(FALSE, 12); | 190 vbox = gtk_vbox_new(FALSE, 12); |
193 gtk_container_add(GTK_CONTAINER(hbox), vbox); | 191 gtk_container_add(GTK_CONTAINER(hbox), vbox); |
194 | 192 |
195 logo = gtk_image_new_from_stock(GAIM_STOCK_LOGO, gtk_icon_size_from_name(GAIM_ICON_SIZE_LOGO)); | 193 logo = gtk_image_new_from_stock(GAIM_STOCK_LOGO, gtk_icon_size_from_name(GAIM_ICON_SIZE_LOGO)); |
196 gtk_box_pack_start(GTK_BOX(vbox), logo, FALSE, FALSE, 0); | 194 gtk_box_pack_start(GTK_BOX(vbox), logo, FALSE, FALSE, 0); |
197 | |
198 labeltext = g_strdup_printf(_("<span weight=\"bold\" size=\"larger\">Gaim v%s</span>"), VERSION); | |
199 label = gtk_label_new(NULL); | |
200 gtk_label_set_markup(GTK_LABEL(label), labeltext); | |
201 gtk_label_set_line_wrap(GTK_LABEL(label), TRUE); | |
202 gtk_misc_set_alignment(GTK_MISC(label), 0.5, 0); | |
203 gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0); | |
204 g_free(labeltext); | |
205 | 195 |
206 frame = gaim_gtk_create_imhtml(FALSE, &text, NULL); | 196 frame = gaim_gtk_create_imhtml(FALSE, &text, NULL); |
207 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0); | 197 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0); |
208 | 198 |
209 str = g_string_sized_new(4096); | 199 str = g_string_sized_new(4096); |