comparison plugins/contact_priority.c @ 7439:3a51b301a805

[gaim-migrate @ 8044] "The labels for the preferences in the contact priority plugin have the standard alignment "center". This doesn't look nice. I saw, that other preferences in the preference window are aligned left/up. The patch changes the alignment to left/up." -- Bjoern Voigt being consistent is a good thing :-)"The labels for the preferences in the contact priority plugin have the standard alignment "center". This doesn't look nice. I saw, that other preferences in the preference window are aligned left/up. The patch changes the alignment to left/up." -- Bjoern Voigt being consistent is a good thing :-)"The labels for the preferences in the contact priority plugin have the standard alignment "center". This doesn't look nice. I saw, that other preferences in the preference window are aligned left/up. The patch changes the alignment to left/up." -- Bjoern Voigt being consistent is a good thing :-)"The labels for the preferences in the contact priority plugin have the standard alignment "center". This doesn't look nice. I saw, that other preferences in the preference window are aligned left/up. The patch changes the alignment to left/up." -- Bjoern Voigt being consistent is a good thing :-)"The labels for the preferences in the contact priority plugin have the standard alignment "center". This doesn't look nice. I saw, that other preferences in the preference window are aligned left/up. The patch changes the alignment to left/up." -- Bjoern Voigt being consistent is a good thing :-)"The labels for the preferences in the contact priority plugin have the standard alignment "center". This doesn't look nice. I saw, that other preferences in the preference window are aligned left/up. The patch changes the alignment to left/up." -- Bjoern Voigt being consistent is a good thing :-)"The labels for the preferences in the contact priority plugin have the standard alignment "center". This doesn't look nice. I saw, that other preferences in the preference window are aligned left/up. The patch changes the alignment to left/up." -- Bjoern Voigt being consistent is a good thing :-)"The labels for the preferences in the contact priority plugin have the standard alignment "center". This doesn't look nice. I saw, that other preferences in the preference window are aligned left/up. The patch changes the alignment to left/up." -- Bjoern Voigt being consistent is a good thing :-)"The labels for the preferences in the contact priority plugin have the standard alignment "center". This doesn't look nice. I saw, that other preferences in the preference window are aligned left/up. The patch changes the alignment to left/up." -- Bjoern Voigt being consistent is a good thing :-) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 05 Nov 2003 22:46:44 +0000
parents 1a52d75489ad
children d7b8eb1f0a18
comparison
equal deleted inserted replaced
7438:d3400dadc594 7439:3a51b301a805
89 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); 89 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
90 90
91 label = gtk_label_new_with_mnemonic(_("Buddy is offline:")); 91 label = gtk_label_new_with_mnemonic(_("Buddy is offline:"));
92 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); 92 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
93 gtk_size_group_add_widget(sg, label); 93 gtk_size_group_add_widget(sg, label);
94 gtk_misc_set_alignment(GTK_MISC(label), 0, 0);
94 95
95 adj = gtk_adjustment_new(offline, -20, 20, 1, 1, 1); 96 adj = gtk_adjustment_new(offline, -20, 20, 1, 1, 1);
96 spin = gtk_spin_button_new((GtkAdjustment *)adj, 1, 0); 97 spin = gtk_spin_button_new((GtkAdjustment *)adj, 1, 0);
97 g_signal_connect(G_OBJECT(spin), "value-changed", G_CALLBACK(pref_update), "offline_score"); 98 g_signal_connect(G_OBJECT(spin), "value-changed", G_CALLBACK(pref_update), "offline_score");
98 gtk_box_pack_start(GTK_BOX(hbox), spin, FALSE, FALSE, 0); 99 gtk_box_pack_start(GTK_BOX(hbox), spin, FALSE, FALSE, 0);
102 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); 103 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
103 104
104 label = gtk_label_new_with_mnemonic(_("Buddy is away:")); 105 label = gtk_label_new_with_mnemonic(_("Buddy is away:"));
105 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); 106 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
106 gtk_size_group_add_widget(sg, label); 107 gtk_size_group_add_widget(sg, label);
108 gtk_misc_set_alignment(GTK_MISC(label), 0, 0);
107 109
108 adj = gtk_adjustment_new(away, -20, 20, 1, 1, 1); 110 adj = gtk_adjustment_new(away, -20, 20, 1, 1, 1);
109 spin = gtk_spin_button_new((GtkAdjustment *)adj, 1, 0); 111 spin = gtk_spin_button_new((GtkAdjustment *)adj, 1, 0);
110 g_signal_connect(G_OBJECT(spin), "value-changed", G_CALLBACK(pref_update), "away_score"); 112 g_signal_connect(G_OBJECT(spin), "value-changed", G_CALLBACK(pref_update), "away_score");
111 gtk_box_pack_start(GTK_BOX(hbox), spin, FALSE, FALSE, 0); 113 gtk_box_pack_start(GTK_BOX(hbox), spin, FALSE, FALSE, 0);
115 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); 117 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);
116 118
117 label = gtk_label_new_with_mnemonic(_("Buddy is idle:")); 119 label = gtk_label_new_with_mnemonic(_("Buddy is idle:"));
118 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); 120 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
119 gtk_size_group_add_widget(sg, label); 121 gtk_size_group_add_widget(sg, label);
122 gtk_misc_set_alignment(GTK_MISC(label), 0, 0);
120 123
121 adj = gtk_adjustment_new(idle, -20, 20, 1, 1, 1); 124 adj = gtk_adjustment_new(idle, -20, 20, 1, 1, 1);
122 spin = gtk_spin_button_new((GtkAdjustment *)adj, 1, 0); 125 spin = gtk_spin_button_new((GtkAdjustment *)adj, 1, 0);
123 g_signal_connect(G_OBJECT(spin), "value-changed", G_CALLBACK(pref_update), "idle_score"); 126 g_signal_connect(G_OBJECT(spin), "value-changed", G_CALLBACK(pref_update), "idle_score");
124 gtk_box_pack_start(GTK_BOX(hbox), spin, FALSE, FALSE, 0); 127 gtk_box_pack_start(GTK_BOX(hbox), spin, FALSE, FALSE, 0);