pidgin/gtkblist.c

changeset 39561
bd42e65927cf
parent 39556
622bf98df0ac
child 39568
f4714f1de6d0
equal deleted inserted replaced
39557:bd633ebf4e89 39561:bd42e65927cf
5724 GtkWidget *sep; 5724 GtkWidget *sep;
5725 GtkWidget *infobar; 5725 GtkWidget *infobar;
5726 GtkWidget *content_area; 5726 GtkWidget *content_area;
5727 GtkWidget *label; 5727 GtkWidget *label;
5728 GtkWidget *close; 5728 GtkWidget *close;
5729 char *pretty, *tmp; 5729 gchar *text;
5730 const char *theme_name; 5730 const char *theme_name;
5731 GtkActionGroup *action_group; 5731 GtkActionGroup *action_group;
5732 GError *error; 5732 GError *error;
5733 GtkAccelGroup *accel_group; 5733 GtkAccelGroup *accel_group;
5734 GtkTreeSelection *selection; 5734 GtkTreeSelection *selection;
5828 5828
5829 #if 0 5829 #if 0
5830 gtk_notebook_append_page(GTK_NOTEBOOK(gtkblist->notebook), kiosk_page(), NULL); 5830 gtk_notebook_append_page(GTK_NOTEBOOK(gtkblist->notebook), kiosk_page(), NULL);
5831 #endif 5831 #endif
5832 5832
5833 /* Translators: Please maintain the use of -> and <- to refer to menu heirarchy */ 5833 /* Translators: Please maintain the use of ⇦ or ⇨ to refer to menu hierarchy */
5834 tmp = g_strdup_printf(_("<span weight='bold' size='larger'>Welcome to %s!</span>\n\n" 5834 text = g_strdup_printf(_("<span weight='bold' size='larger'>Welcome to %s!</span>\n\n"
5835 5835
5836 "You have no accounts enabled. Enable your IM accounts from the " 5836 "You have no accounts enabled. Enable your IM accounts from the "
5837 "<b>Accounts</b> window at <b>Accounts->Manage Accounts</b>. Once you " 5837 "<b>Accounts</b> window at <b>Accounts⇨Manage Accounts</b>. Once you "
5838 "enable accounts, you'll be able to sign on, set your status, " 5838 "enable accounts, you'll be able to sign on, set your status, "
5839 "and talk to your friends."), PIDGIN_NAME); 5839 "and talk to your friends."), PIDGIN_NAME);
5840 pretty = pidgin_make_pretty_arrows(tmp);
5841 g_free(tmp);
5842 label = gtk_label_new(NULL); 5840 label = gtk_label_new(NULL);
5843 gtk_label_set_line_wrap(GTK_LABEL(label), TRUE); 5841 gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
5844 gtk_label_set_yalign(GTK_LABEL(label), 0.2); 5842 gtk_label_set_yalign(GTK_LABEL(label), 0.2);
5845 gtk_label_set_markup(GTK_LABEL(label), pretty); 5843 gtk_label_set_markup(GTK_LABEL(label), text);
5846 g_free(pretty); 5844 g_free(text);
5847 gtk_notebook_append_page(GTK_NOTEBOOK(gtkblist->notebook),label, NULL); 5845 gtk_notebook_append_page(GTK_NOTEBOOK(gtkblist->notebook),label, NULL);
5848 gtkblist->vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); 5846 gtkblist->vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);
5849 gtk_notebook_append_page(GTK_NOTEBOOK(gtkblist->notebook), gtkblist->vbox, NULL); 5847 gtk_notebook_append_page(GTK_NOTEBOOK(gtkblist->notebook), gtkblist->vbox, NULL);
5850 gtk_widget_show_all(gtkblist->notebook); 5848 gtk_widget_show_all(gtkblist->notebook);
5851 pidgin_blist_select_notebook_page(gtkblist); 5849 pidgin_blist_select_notebook_page(gtkblist);

mercurial