Revision 3220

View differences:

src/notificationwindow.c
139 139
	g_signal_connect(G_OBJECT(window), "motion_notify_event",
140 140
			 G_CALLBACK(nwin_motion_notify), NULL);
141 141

  
142
	vbox = gtk_vbox_new(FALSE, 4);
142
	vbox = gtk_vbox_new(FALSE, 8);
143 143
	gtk_container_add(GTK_CONTAINER(window), vbox);
144 144

  
145 145
	msglabel = gtk_label_new(message);
146
	gtk_box_pack_start(GTK_BOX(vbox), msglabel, FALSE, FALSE, 4);
146
	gtk_box_pack_start(GTK_BOX(vbox), msglabel, FALSE, FALSE, 0);
147 147

  
148 148
	sublabel = gtk_label_new("");
149 149
	gtk_label_set_ellipsize(GTK_LABEL(sublabel), PANGO_ELLIPSIZE_END);
150 150
	gtk_label_set_markup(GTK_LABEL(sublabel), submessage);
151
	gtk_box_pack_start(GTK_BOX(vbox), sublabel, FALSE, FALSE, 4);
151
	gtk_box_pack_start(GTK_BOX(vbox), sublabel, FALSE, FALSE, 0);
152 152
	gtk_label_set_justify(GTK_LABEL(sublabel), GTK_JUSTIFY_LEFT);
153 153
	gtk_misc_set_alignment(GTK_MISC(sublabel), 0.0, 0.5);
154 154

  
plugin/test/test.c
1 1
/*
2 2
 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3
 * Copyright (C) 1999-2011 Hiroyuki Yamamoto
3
 * Copyright (C) 1999-2013 Hiroyuki Yamamoto
4 4
 *
5 5
 * This program is free software; you can redistribute it and/or modify
6 6
 * it under the terms of the GNU General Public License as published by
......
147 147
	syl_plugin_update_check_set_check_plugin_url("http://localhost/plugin_version.txt");
148 148
	syl_plugin_update_check_set_jump_plugin_url("http://localhost/plugin.html");
149 149

  
150
	syl_plugin_notification_window_open("Sylpheed app init done", "Normal text\n<b>Bold</b>\n<s>Strikethrough</s>", 5);
150
	syl_plugin_notification_window_open("Sylpheed app init done", "Normal text\n<b>Bold</b>\n<s>Strikethrough</s>\n<b>This is a long text and will be truncated:</b> ABCDEFGHIJKLMNOPQRSTUVWXYZ", 5);
151 151

  
152 152
	g_print("test: %p: app init done\n", obj);
153 153
}
ChangeLog
1 1
2013-02-13
2 2

  
3
	* src/notificationwindow.c: adjusted paddings again.
4
	  plugin/test/test.c: modified notification test.
5

  
6
2013-02-13
7

  
3 8
	* src/notificationwindow.c: adjusted paddings.
4 9

  
5 10
2013-02-13

Also available in: Unified diff