forked from cromer/pamac-classic
v3.0.0
This commit is contained in:
@@ -27,14 +27,8 @@ namespace Pamac {
|
||||
[GtkChild]
|
||||
public Gtk.ComboBoxText comboboxtext;
|
||||
|
||||
public ChooseProviderDialog (string depend, string[] providers, Gtk.ApplicationWindow? window) {
|
||||
public ChooseProviderDialog (Gtk.ApplicationWindow? window) {
|
||||
Object (transient_for: window, use_header_bar: 0);
|
||||
|
||||
label.set_markup ("<b>%s</b>".printf (dgettext (null, "Choose a provider for %s").printf (depend)));
|
||||
foreach (string provider in providers) {
|
||||
comboboxtext.append_text (provider);
|
||||
}
|
||||
comboboxtext.active = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user