Revision 3218

View differences:

src/notificationwindow.c
114 114
	window = gtk_window_new(GTK_WINDOW_POPUP);
115 115
	gtk_window_set_title(GTK_WINDOW(window), _("Notification"));
116 116
	gtk_window_set_wmclass(GTK_WINDOW(window), "notification", "Sylpheed");
117
	gtk_container_set_border_width(GTK_CONTAINER(window), 4);
117
	gtk_container_set_border_width(GTK_CONTAINER(window), 8);
118 118
	gtk_widget_set_events(window, GDK_EXPOSURE_MASK|GDK_BUTTON_MOTION_MASK|GDK_POINTER_MOTION_MASK|GDK_POINTER_MOTION_HINT_MASK|GDK_BUTTON_PRESS_MASK|GDK_BUTTON_RELEASE_MASK|GDK_ENTER_NOTIFY_MASK|GDK_LEAVE_NOTIFY_MASK);
119 119
	gtk_window_set_skip_taskbar_hint(GTK_WINDOW(window), TRUE);
120 120
	gtk_window_set_gravity(GTK_WINDOW(window), GDK_GRAVITY_SOUTH_EAST);
......
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, 0);
143 143
	gtk_container_add(GTK_CONTAINER(window), vbox);
144 144

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

  
153 155
	gtk_widget_show_all(window);
154 156

  
ChangeLog
1 1
2013-02-13
2 2

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

  
5
2013-02-13
6

  
3 7
	* src/plugin.[ch]
4 8
	  src/notificationwindow.[ch]
5 9
	  src/main.c

Also available in: Unified diff