Compare commits
15 Commits
network-in
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
58f8b54167 | ||
|
|
49b84df094 | ||
|
|
7771960acd | ||
|
|
c46eb3add7 | ||
|
|
b79692fb07 | ||
|
|
019b4dfceb | ||
|
|
28f576bda1 | ||
|
|
f6676cfd8f | ||
|
|
328447557d | ||
|
|
34dd5d6431 | ||
|
|
0d9ac272b8 | ||
|
|
65df286081 | ||
|
|
99b4257fc9 | ||
|
|
0172395589 | ||
|
|
5cc19a294d |
@@ -69,13 +69,10 @@
|
||||
<object class="AdwActionRow" id="primary_button_row">
|
||||
<property name="title" translatable="yes">Primary Button</property>
|
||||
<property name="subtitle" translatable="yes">Order of physical buttons on mice and touchpads</property>
|
||||
<property name="subtitle-lines">0</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="primary_button_box">
|
||||
<property name="valign">center</property>
|
||||
<property name="homogeneous">True</property>
|
||||
<property name="margin_top">12</property>
|
||||
<property name="margin_bottom">12</property>
|
||||
<style>
|
||||
<class name="linked"/>
|
||||
</style>
|
||||
|
||||
@@ -88,7 +88,8 @@
|
||||
<child>
|
||||
<object class="GtkLabel" id="proxy_warning_label">
|
||||
<property name="margin-top">12</property>
|
||||
<property name="wrap">1</property>
|
||||
<property name="wrap">True</property>
|
||||
<property name="xalign">0.0</property>
|
||||
<property name="label" translatable="yes">Web Proxy Autodiscovery is used when a Configuration URL is not provided. This is not recommended for untrusted public networks.</property>
|
||||
<style>
|
||||
<class name="dim-label"/>
|
||||
|
||||
@@ -43,8 +43,8 @@ struct _PpDetailsDialog {
|
||||
|
||||
GtkWindow *toplevel;
|
||||
AdwPreferencesGroup *driver_button_rows_group;
|
||||
GtkSpinner *spinner_driver_search;
|
||||
GtkLabel *printer_address_label;
|
||||
AdwSpinner *spinner_driver_search;
|
||||
AdwActionRow *printer_address_row;
|
||||
GtkRevealer *printer_name_hint_revealer;
|
||||
AdwEntryRow *printer_location_entry;
|
||||
AdwActionRow *printer_model_label;
|
||||
@@ -294,6 +294,22 @@ update_sensitivity (PpDetailsDialog *self,
|
||||
gtk_widget_set_sensitive (GTK_WIDGET (self->driver_button_rows_group), sensitive);
|
||||
}
|
||||
|
||||
static void
|
||||
on_open_address_button_clicked (PpDetailsDialog *self)
|
||||
{
|
||||
GtkWindow *toplevel;
|
||||
g_autoptr(GFile) file = NULL;
|
||||
g_autoptr(GtkFileLauncher) launcher = NULL;
|
||||
g_autofree gchar *printer_url;
|
||||
|
||||
printer_url = g_strdup_printf ("http://%s", adw_action_row_get_subtitle (self->printer_address_row));
|
||||
file = g_file_new_for_uri (printer_url);
|
||||
launcher = gtk_file_launcher_new (file);
|
||||
|
||||
toplevel = GTK_WINDOW (gtk_widget_get_root (GTK_WIDGET (self)));
|
||||
gtk_file_launcher_launch (launcher, toplevel, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
pp_details_dialog_init (PpDetailsDialog *self)
|
||||
{
|
||||
@@ -337,12 +353,13 @@ pp_details_dialog_class_init (PpDetailsDialogClass *klass)
|
||||
gtk_widget_class_bind_template_child (widget_class, PpDetailsDialog, printer_name_hint_revealer);
|
||||
gtk_widget_class_bind_template_child (widget_class, PpDetailsDialog, driver_button_rows_group);
|
||||
gtk_widget_class_bind_template_child (widget_class, PpDetailsDialog, spinner_driver_search);
|
||||
gtk_widget_class_bind_template_child (widget_class, PpDetailsDialog, printer_address_label);
|
||||
gtk_widget_class_bind_template_child (widget_class, PpDetailsDialog, printer_address_row);
|
||||
gtk_widget_class_bind_template_child (widget_class, PpDetailsDialog, printer_location_entry);
|
||||
gtk_widget_class_bind_template_child (widget_class, PpDetailsDialog, printer_model_label);
|
||||
gtk_widget_class_bind_template_child (widget_class, PpDetailsDialog, printer_name_entry);
|
||||
gtk_widget_class_bind_template_child (widget_class, PpDetailsDialog, search_for_drivers_button_row);
|
||||
|
||||
gtk_widget_class_bind_template_callback (widget_class, on_open_address_button_clicked);
|
||||
gtk_widget_class_bind_template_callback (widget_class, printer_name_changed);
|
||||
gtk_widget_class_bind_template_callback (widget_class, search_for_drivers);
|
||||
gtk_widget_class_bind_template_callback (widget_class, select_ppd_in_dialog);
|
||||
@@ -369,8 +386,8 @@ pp_details_dialog_new (gchar *printer_name,
|
||||
title = g_strdup_printf (_("%s Details"), printer_name);
|
||||
adw_dialog_set_title (ADW_DIALOG (self), title);
|
||||
|
||||
printer_url = g_strdup_printf ("<a href=\"http://%s:%d\">%s</a>", printer_address, ippPort (), printer_address);
|
||||
gtk_label_set_markup (GTK_LABEL (self->printer_address_label), printer_url);
|
||||
printer_url = g_strdup_printf ("%s:%d", printer_address, ippPort ());
|
||||
adw_action_row_set_subtitle (self->printer_address_row, printer_url);
|
||||
|
||||
gtk_editable_set_text (GTK_EDITABLE (self->printer_name_entry), printer_name);
|
||||
gtk_editable_set_text (GTK_EDITABLE (self->printer_location_entry), printer_location);
|
||||
|
||||
@@ -14,52 +14,45 @@
|
||||
<object class="AdwPreferencesGroup">
|
||||
<child>
|
||||
<object class="AdwEntryRow" id="printer_name_entry">
|
||||
<property name="title" translatable="yes">Name</property>
|
||||
<property name="title" translatable="yes">_Name</property>
|
||||
<property name="use-underline">True</property>
|
||||
<signal name="changed" handler="printer_name_changed" object="PpDetailsDialog" swapped="yes"/>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="AdwEntryRow" id="printer_location_entry">
|
||||
<property name="title" translatable="yes">Location</property>
|
||||
<property name="title" translatable="yes">_Location</property>
|
||||
<property name="use-underline">True</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<child type="prefix">
|
||||
<object class="GtkBox">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">3</property>
|
||||
<property name="halign">start</property>
|
||||
<object class="AdwActionRow" id="printer_address_row">
|
||||
<property name="title" translatable="yes">_Address</property>
|
||||
<property name="use-underline">True</property>
|
||||
<property name="subtitle-selectable">True</property>
|
||||
<child type="suffix">
|
||||
<object class="GtkButton">
|
||||
<style>
|
||||
<class name="flat"/>
|
||||
</style>
|
||||
<property name="icon-name">adw-external-link-symbolic</property>
|
||||
<property name="tooltip-text" translatable="yes">Open Address</property>
|
||||
<property name="valign">center</property>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">Address</property>
|
||||
<property name="hexpand">True</property>
|
||||
<property name="ellipsize">end</property>
|
||||
<property name="halign">start</property>
|
||||
<style>
|
||||
<class name="subtitle"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="printer_address_label">
|
||||
<property name="xalign">1</property>
|
||||
<property name="ellipsize">start</property>
|
||||
<property name="use-markup">true</property>
|
||||
</object>
|
||||
</child>
|
||||
<signal name="clicked" handler="on_open_address_button_clicked" object="PpDetailsDialog" swapped="yes"/>
|
||||
</object>
|
||||
</child>
|
||||
<style>
|
||||
<class name="property"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="AdwActionRow" id="printer_model_label">
|
||||
<property name="title" translatable="yes">Driver</property>
|
||||
<property name="subtitle-selectable">True</property>
|
||||
<child type="suffix">
|
||||
<object class="GtkSpinner" id="spinner_driver_search">
|
||||
<property name="visible">false</property>
|
||||
<property name="spinning">True</property>
|
||||
<object class="AdwSpinner" id="spinner_driver_search">
|
||||
<property name="visible">False</property>
|
||||
</object>
|
||||
</child>
|
||||
<style>
|
||||
|
||||
@@ -88,6 +88,7 @@ static const struct {
|
||||
{ "OutputBin", NULL, N_("Output Tray") },
|
||||
{ "Resolution", "printing option", NC_("printing option", "Resolution") },
|
||||
{ "PreFilter", NULL, N_("GhostScript pre-filtering") },
|
||||
{ "StpiShrinkOutput", NULL, N_("Shrink Page") },
|
||||
};
|
||||
|
||||
/* keep sorted when changing */
|
||||
|
||||
@@ -49,10 +49,9 @@ struct _PpPPDSelectionDialog {
|
||||
AdwWindow parent_instance;
|
||||
|
||||
GtkButton *ppd_selection_select_button;
|
||||
GtkSpinner *ppd_spinner;
|
||||
GtkLabel *progress_label;
|
||||
GtkTreeView *ppd_selection_manufacturers_treeview;
|
||||
GtkTreeView *ppd_selection_models_treeview;
|
||||
GtkStack *stack;
|
||||
|
||||
UserResponseCallback user_callback;
|
||||
gpointer user_data;
|
||||
@@ -162,10 +161,7 @@ fill_ppds_list (PpPPDSelectionDialog *self)
|
||||
GtkTreeIter *preselect_iter = NULL;
|
||||
gint i;
|
||||
|
||||
gtk_widget_set_visible (GTK_WIDGET (self->ppd_spinner), FALSE);
|
||||
gtk_spinner_stop (self->ppd_spinner);
|
||||
|
||||
gtk_widget_set_visible (GTK_WIDGET (self->progress_label), FALSE);
|
||||
gtk_stack_set_visible_child_name (self->stack, "ppd-selection-page");
|
||||
|
||||
treeview = self->ppd_selection_manufacturers_treeview;
|
||||
|
||||
@@ -249,14 +245,7 @@ populate_dialog (PpPPDSelectionDialog *self)
|
||||
g_signal_connect_object (gtk_tree_view_get_selection (manufacturers_treeview),
|
||||
"changed", G_CALLBACK (manufacturer_selection_changed_cb), self, G_CONNECT_SWAPPED);
|
||||
|
||||
if (!self->list)
|
||||
{
|
||||
gtk_widget_set_visible (GTK_WIDGET (self->ppd_spinner), TRUE);
|
||||
gtk_spinner_start (self->ppd_spinner);
|
||||
|
||||
gtk_widget_set_visible (GTK_WIDGET (self->progress_label), TRUE);
|
||||
}
|
||||
else
|
||||
if (self->list)
|
||||
{
|
||||
fill_ppds_list (self);
|
||||
}
|
||||
@@ -314,8 +303,6 @@ pp_ppd_selection_dialog_new (PPDList *ppd_list,
|
||||
|
||||
self->manufacturer = get_standard_manufacturers_name (manufacturer);
|
||||
|
||||
gtk_spinner_start (self->ppd_spinner);
|
||||
|
||||
populate_dialog (self);
|
||||
|
||||
return self;
|
||||
@@ -352,10 +339,9 @@ pp_ppd_selection_dialog_class_init (PpPPDSelectionDialogClass *klass)
|
||||
|
||||
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/printers/pp-ppd-selection-dialog.ui");
|
||||
gtk_widget_class_bind_template_child (widget_class, PpPPDSelectionDialog, ppd_selection_select_button);
|
||||
gtk_widget_class_bind_template_child (widget_class, PpPPDSelectionDialog, ppd_spinner);
|
||||
gtk_widget_class_bind_template_child (widget_class, PpPPDSelectionDialog, progress_label);
|
||||
gtk_widget_class_bind_template_child (widget_class, PpPPDSelectionDialog, ppd_selection_manufacturers_treeview);
|
||||
gtk_widget_class_bind_template_child (widget_class, PpPPDSelectionDialog, ppd_selection_models_treeview);
|
||||
gtk_widget_class_bind_template_child (widget_class, PpPPDSelectionDialog, stack);
|
||||
|
||||
gtk_widget_class_bind_template_callback (widget_class, select_cb);
|
||||
gtk_widget_class_bind_template_callback (widget_class, cancel_cb);
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<property name="show-end-title-buttons">False</property>
|
||||
<child type="start">
|
||||
<object class="GtkButton" id="ppd_selection_cancel_button">
|
||||
<property name="label" translatable="yes">Cancel</property>
|
||||
<property name="label" translatable="yes">_Cancel</property>
|
||||
<property name="use-underline">True</property>
|
||||
<signal name="clicked" handler="cancel_cb" swapped="yes"/>
|
||||
</object>
|
||||
@@ -33,76 +33,73 @@
|
||||
</object>
|
||||
</child>
|
||||
<property name="content">
|
||||
<object class="GtkBox" id="main-vbox">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">10</property>
|
||||
<property name="margin_top">10</property>
|
||||
<property name="margin_start">10</property>
|
||||
<property name="margin_end">10</property>
|
||||
<object class="GtkStack" id="stack">
|
||||
<child>
|
||||
<object class="GtkBox" id="box3">
|
||||
<property name="hexpand">True</property>
|
||||
<property name="vexpand">True</property>
|
||||
<property name="spacing">10</property>
|
||||
<property name="halign">fill</property>
|
||||
<child>
|
||||
<object class="GtkScrolledWindow" id="scrolledwindow1">
|
||||
<property name="width_request">140</property>
|
||||
<property name="hscrollbar_policy">never</property>
|
||||
<property name="halign">fill</property>
|
||||
<property name="has_frame">True</property>
|
||||
<child>
|
||||
<object class="GtkTreeView" id="ppd_selection_manufacturers_treeview">
|
||||
<child internal-child="selection">
|
||||
<object class="GtkTreeSelection" id="treeview-selection"/>
|
||||
</child>
|
||||
<object class="GtkStackPage">
|
||||
<property name="name">spinner-page</property>
|
||||
<property name="child">
|
||||
<object class="AdwStatusPage">
|
||||
<property name="paintable">
|
||||
<object class="AdwSpinnerPaintable">
|
||||
<property name="widget">PpPPDSelectionDialog</property>
|
||||
</object>
|
||||
</child>
|
||||
</property>
|
||||
<property name="title" translatable="yes">Loading Drivers</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkScrolledWindow" id="scrolledwindow2">
|
||||
<property name="hexpand">True</property>
|
||||
<property name="halign">fill</property>
|
||||
<property name="has_frame">True</property>
|
||||
<child>
|
||||
<object class="GtkTreeView" id="ppd_selection_models_treeview">
|
||||
<signal name="row-activated" handler="select_cb" swapped="yes"/>
|
||||
<child internal-child="selection">
|
||||
<object class="GtkTreeSelection" id="treeview-selection1"/>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkBox" id="dialog-action-area1">
|
||||
<property name="halign">fill</property>
|
||||
<property name="hexpand">True</property>
|
||||
<property name="spacing">10</property>
|
||||
<property name="margin_bottom">10</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="box2">
|
||||
<property name="halign">fill</property>
|
||||
<property name="hexpand">True</property>
|
||||
<object class="GtkStackPage">
|
||||
<property name="name">ppd-selection-page</property>
|
||||
<property name="child">
|
||||
<object class="GtkBox">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">10</property>
|
||||
<property name="margin_top">10</property>
|
||||
<property name="margin_start">10</property>
|
||||
<property name="margin_bottom">10</property>
|
||||
<property name="margin_end">10</property>
|
||||
<child>
|
||||
<object class="GtkSpinner" id="ppd_spinner">
|
||||
<property name="width_request">24</property>
|
||||
<property name="height_request">24</property>
|
||||
<property name="halign">fill</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="progress_label">
|
||||
<property name="label" translatable="yes">Loading drivers database…</property>
|
||||
<object class="GtkBox">
|
||||
<property name="hexpand">True</property>
|
||||
<property name="vexpand">True</property>
|
||||
<property name="spacing">10</property>
|
||||
<property name="halign">fill</property>
|
||||
<child>
|
||||
<object class="GtkScrolledWindow">
|
||||
<property name="width_request">140</property>
|
||||
<property name="hscrollbar_policy">never</property>
|
||||
<property name="halign">fill</property>
|
||||
<property name="has_frame">True</property>
|
||||
<child>
|
||||
<object class="GtkTreeView" id="ppd_selection_manufacturers_treeview">
|
||||
<child internal-child="selection">
|
||||
<object class="GtkTreeSelection" id="treeview-selection"/>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkScrolledWindow">
|
||||
<property name="hexpand">True</property>
|
||||
<property name="halign">fill</property>
|
||||
<property name="has_frame">True</property>
|
||||
<child>
|
||||
<object class="GtkTreeView" id="ppd_selection_models_treeview">
|
||||
<signal name="row-activated" handler="select_cb" swapped="yes"/>
|
||||
<child internal-child="selection">
|
||||
<object class="GtkTreeSelection" id="treeview-selection1"/>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
||||
@@ -32,8 +32,6 @@ struct _CcLocationPage
|
||||
{
|
||||
AdwNavigationPage parent_instance;
|
||||
|
||||
GtkLabel *privacy_policy_link;
|
||||
|
||||
GtkListBox *location_apps_list_box;
|
||||
AdwSwitchRow *location_row;
|
||||
|
||||
@@ -425,7 +423,6 @@ cc_location_page_class_init (CcLocationPageClass *klass)
|
||||
|
||||
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/privacy/location/cc-location-page.ui");
|
||||
|
||||
gtk_widget_class_bind_template_child (widget_class, CcLocationPage, privacy_policy_link);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcLocationPage, location_apps_list_box);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcLocationPage, location_row);
|
||||
}
|
||||
@@ -433,8 +430,6 @@ cc_location_page_class_init (CcLocationPageClass *klass)
|
||||
static void
|
||||
cc_location_page_init (CcLocationPage *self)
|
||||
{
|
||||
g_autofree gchar *privacy_policy_link = NULL;
|
||||
|
||||
gtk_widget_init_template (GTK_WIDGET (self));
|
||||
|
||||
self->location_icon_size_group = gtk_size_group_new (GTK_SIZE_GROUP_BOTH);
|
||||
@@ -442,10 +437,6 @@ cc_location_page_init (CcLocationPage *self)
|
||||
|
||||
self->cancellable = g_cancellable_new ();
|
||||
|
||||
/* Translators: This will be presented as the text of a link to the privacy policy */
|
||||
privacy_policy_link = g_strdup_printf ("<a href='https://location.services.mozilla.com/privacy'>%s</a>", _("Learn about what data is collected, and how it is used."));
|
||||
gtk_label_set_label (GTK_LABEL (self->privacy_policy_link), privacy_policy_link);
|
||||
|
||||
g_settings_bind (self->location_settings,
|
||||
LOCATION_ENABLED,
|
||||
self->location_row,
|
||||
|
||||
@@ -15,38 +15,10 @@
|
||||
<child>
|
||||
<object class="AdwSwitchRow" id="location_row">
|
||||
<property name="title" translatable="yes">_Automatic Device Location</property>
|
||||
<property name="subtitle" translatable="yes">Use sources like GPS and cellular to determine device location</property>
|
||||
<property name="use-underline">True</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="margin-top">12</property>
|
||||
<property name="spacing">12</property>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">Automatic device location uses sources like GPS, Wi-Fi and cellular to determine an approximate location for this device. Location data is sent to Mozilla Location Services as part of this feature.</property>
|
||||
<property name="wrap">True</property>
|
||||
<property name="wrap-mode">word-char</property>
|
||||
<property name="xalign">0</property>
|
||||
<style>
|
||||
<class name="caption"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="privacy_policy_link">
|
||||
<property name="use-markup">True</property>
|
||||
<property name="wrap">True</property>
|
||||
<property name="wrap-mode">word-char</property>
|
||||
<property name="xalign">0</property>
|
||||
<style>
|
||||
<class name="caption"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@ struct _CcVolumeLevelsPage
|
||||
AdwNavigationPage parent_instance;
|
||||
|
||||
GtkListBox *listbox;
|
||||
GtkStack *stack;
|
||||
GtkSizeGroup *label_size_group;
|
||||
|
||||
GvcMixerControl *mixer_control;
|
||||
@@ -103,6 +104,19 @@ create_stream_row (gpointer item,
|
||||
return GTK_WIDGET (row);
|
||||
}
|
||||
|
||||
static void
|
||||
items_changed_cb (CcVolumeLevelsPage *self,
|
||||
guint position,
|
||||
guint removed,
|
||||
guint added,
|
||||
GListModel *model)
|
||||
{
|
||||
gboolean has_streams = g_list_model_get_n_items (model) != 0;
|
||||
gtk_stack_set_visible_child_name (self->stack,
|
||||
has_streams ? "streams-page"
|
||||
: "no-streams-found-page");
|
||||
}
|
||||
|
||||
static void
|
||||
stream_added_cb (CcVolumeLevelsPage *self,
|
||||
guint id)
|
||||
@@ -169,6 +183,7 @@ cc_volume_levels_page_class_init (CcVolumeLevelsPageClass *klass)
|
||||
|
||||
gtk_widget_class_bind_template_child (widget_class, CcVolumeLevelsPage, listbox);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcVolumeLevelsPage, label_size_group);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcVolumeLevelsPage, stack);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -188,6 +203,10 @@ cc_volume_levels_page_init (CcVolumeLevelsPage *self)
|
||||
|
||||
sorter = GTK_SORTER (gtk_custom_sorter_new (sort_stream, self, NULL));
|
||||
sort_model = gtk_sort_list_model_new (G_LIST_MODEL (filter_model), sorter);
|
||||
g_signal_connect_object (sort_model,
|
||||
"items-changed",
|
||||
G_CALLBACK (items_changed_cb),
|
||||
self, G_CONNECT_SWAPPED);
|
||||
|
||||
gtk_list_box_bind_model (self->listbox,
|
||||
G_LIST_MODEL (sort_model),
|
||||
|
||||
@@ -8,19 +8,42 @@
|
||||
<object class="AdwHeaderBar"/>
|
||||
</child>
|
||||
<property name="content">
|
||||
<object class="AdwPreferencesPage">
|
||||
<object class="GtkStack" id="stack">
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<child>
|
||||
<object class="GtkListBox" id="listbox">
|
||||
<property name="selection-mode">none</property>
|
||||
<style>
|
||||
<class name="boxed-list"/>
|
||||
</style>
|
||||
<object class="GtkStackPage">
|
||||
<property name="name">no-streams-found-page</property>
|
||||
<property name="child">
|
||||
<object class="AdwStatusPage">
|
||||
<property name="icon-name">org.gnome.Settings-sound-symbolic</property>
|
||||
<property name="title" translatable="yes">No Sound Playing</property>
|
||||
</object>
|
||||
</child>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkStackPage">
|
||||
<property name="name">streams-page</property>
|
||||
<property name="child">
|
||||
<object class="AdwPreferencesPage">
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<child>
|
||||
<object class="GtkListBox" id="listbox">
|
||||
<property name="selection-mode">none</property>
|
||||
<style>
|
||||
<class name="boxed-list"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
|
||||
102
po/sl.po
102
po/sl.po
@@ -12,8 +12,8 @@ msgstr ""
|
||||
"Project-Id-Version: gnome-control-center master\n"
|
||||
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-control-center/"
|
||||
"issues\n"
|
||||
"POT-Creation-Date: 2024-07-16 10:13+0000\n"
|
||||
"PO-Revision-Date: 2024-07-16 23:01+0200\n"
|
||||
"POT-Creation-Date: 2024-07-23 14:08+0000\n"
|
||||
"PO-Revision-Date: 2024-07-23 16:13+0200\n"
|
||||
"Last-Translator: Martin Srebotnjak <miles@filmsi.net>\n"
|
||||
"Language-Team: Slovenian GNOME Translation Team <gnome-si@googlegroups.com>\n"
|
||||
"Language: sl_SI\n"
|
||||
@@ -41,8 +41,8 @@ msgid "Session Bus"
|
||||
msgstr "Vodilo seje"
|
||||
|
||||
#: panels/applications/cc-applications-panel.c:850
|
||||
#: panels/privacy/bolt/cc-bolt-page.ui:204
|
||||
#: panels/privacy/bolt/cc-bolt-page.ui:248
|
||||
#: panels/privacy/bolt/cc-bolt-page.ui:199
|
||||
#: panels/privacy/bolt/cc-bolt-page.ui:237
|
||||
#: panels/privacy/cc-privacy-panel.ui:72
|
||||
msgid "Devices"
|
||||
msgstr "Naprave"
|
||||
@@ -944,39 +944,39 @@ msgstr ""
|
||||
msgid "Enable"
|
||||
msgstr "Omogoči"
|
||||
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:29
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:32
|
||||
msgid "No Bluetooth Found"
|
||||
msgstr "Ni navzočih naprav Bluetooth"
|
||||
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:30
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:33
|
||||
msgid "Plug in a dongle to use Bluetooth"
|
||||
msgstr "Vstavite ključek BT za uporabo Bluetooth"
|
||||
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:36
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:44
|
||||
msgid "Bluetooth Turned Off"
|
||||
msgstr "Vmesnik Bluetooth je izklopljen!"
|
||||
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:37
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:45
|
||||
msgid "Turn on to connect devices and receive file transfers"
|
||||
msgstr "Omogoča povezovanje naprav za izmenjavo datotek"
|
||||
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:43
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:56
|
||||
msgid "Airplane Mode is On"
|
||||
msgstr "Omogočen je letalski način"
|
||||
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:44
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:57
|
||||
msgid "Bluetooth is disabled when airplane mode is on"
|
||||
msgstr "Ko je omogočen letalski način, je naprava Bluetooth izklopljena"
|
||||
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:47
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:60
|
||||
msgid "_Turn Off Airplane Mode"
|
||||
msgstr "_Onemogoči letalski način"
|
||||
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:63
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:81
|
||||
msgid "Hardware Airplane Mode is On"
|
||||
msgstr "Omogočen je strojni letalski način"
|
||||
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:64
|
||||
#: panels/bluetooth/cc-bluetooth-panel.ui:82
|
||||
msgid "Turn off the Airplane mode switch to enable Bluetooth"
|
||||
msgstr "Za uporabo vmesnika Bluetooth je treba izklopiti letalski način."
|
||||
|
||||
@@ -1096,6 +1096,7 @@ msgstr "Umerjanje zaslona"
|
||||
#: panels/network/connection-editor/connection-editor.ui:16
|
||||
#: panels/printers/pp-details-dialog.c:268
|
||||
#: panels/printers/pp-new-printer-dialog.ui:65
|
||||
#: panels/printers/pp-ppd-selection-dialog.ui:17
|
||||
#: panels/privacy/usage/cc-usage-page.ui:125
|
||||
#: panels/privacy/usage/cc-usage-page.ui:136
|
||||
#: panels/privacy/usage/cc-usage-page.ui:147
|
||||
@@ -5005,7 +5006,7 @@ msgstr "Mesto"
|
||||
|
||||
#. Translators: Name of column showing printer drivers
|
||||
#: panels/printers/pp-details-dialog.ui:58
|
||||
#: panels/printers/pp-ppd-selection-dialog.c:236
|
||||
#: panels/printers/pp-ppd-selection-dialog.c:232
|
||||
msgid "Driver"
|
||||
msgstr "Gonilnik"
|
||||
|
||||
@@ -5312,76 +5313,80 @@ msgstr "Ločljivost"
|
||||
msgid "GhostScript pre-filtering"
|
||||
msgstr "Predhodno filtriranje GhostScript"
|
||||
|
||||
#: panels/printers/pp-options-dialog.c:91
|
||||
msgid "Shrink Page"
|
||||
msgstr "Skrči stran"
|
||||
|
||||
#. Translators: This option sets number of pages printed on one sheet
|
||||
#: panels/printers/pp-options-dialog.c:508
|
||||
#: panels/printers/pp-options-dialog.c:509
|
||||
msgid "Pages per side"
|
||||
msgstr "Strani na stran"
|
||||
|
||||
#. Translators: This option sets whether to print on both sides of paper
|
||||
#: panels/printers/pp-options-dialog.c:520
|
||||
#: panels/printers/pp-options-dialog.c:521
|
||||
msgid "Two-sided"
|
||||
msgstr "Dvostransko"
|
||||
|
||||
#. Translators: This option sets orientation of print (portrait, landscape...)
|
||||
#: panels/printers/pp-options-dialog.c:532
|
||||
#: panels/printers/pp-options-dialog.c:533
|
||||
msgid "Orientation"
|
||||
msgstr "Usmerjenost"
|
||||
|
||||
#. Translators: "General" tab contains general printer options
|
||||
#: panels/printers/pp-options-dialog.c:629
|
||||
#: panels/printers/pp-options-dialog.c:630
|
||||
msgctxt "Printer Option Group"
|
||||
msgid "General"
|
||||
msgstr "Splošno"
|
||||
|
||||
#. Translators: "Page Setup" tab contains settings related to pages (page size, paper source, etc.)
|
||||
#: panels/printers/pp-options-dialog.c:632
|
||||
#: panels/printers/pp-options-dialog.c:633
|
||||
msgctxt "Printer Option Group"
|
||||
msgid "Page Setup"
|
||||
msgstr "Nastavitev strani"
|
||||
|
||||
#. Translators: "Installable Options" tab contains settings of presence of installed options (amount of RAM, duplex unit, etc.)
|
||||
#: panels/printers/pp-options-dialog.c:635
|
||||
#: panels/printers/pp-options-dialog.c:636
|
||||
msgctxt "Printer Option Group"
|
||||
msgid "Installable Options"
|
||||
msgstr "Namestitvene možnosti"
|
||||
|
||||
#. Translators: "Job" tab contains settings for jobs
|
||||
#: panels/printers/pp-options-dialog.c:638
|
||||
#: panels/printers/pp-options-dialog.c:639
|
||||
msgctxt "Printer Option Group"
|
||||
msgid "Job"
|
||||
msgstr "Posel"
|
||||
|
||||
#. Translators: "Image Quality" tab contains settings for quality of output print (e.g. resolution)
|
||||
#: panels/printers/pp-options-dialog.c:641
|
||||
#: panels/printers/pp-options-dialog.c:642
|
||||
msgctxt "Printer Option Group"
|
||||
msgid "Image Quality"
|
||||
msgstr "Kakovost slike"
|
||||
|
||||
#. Translators: "Color" tab contains color settings (e.g. color printing)
|
||||
#: panels/printers/pp-options-dialog.c:644
|
||||
#: panels/printers/pp-options-dialog.c:645
|
||||
msgctxt "Printer Option Group"
|
||||
msgid "Color"
|
||||
msgstr "Barvni profili"
|
||||
|
||||
#. Translators: "Finishing" tab contains finishing settings (e.g. booklet printing)
|
||||
#: panels/printers/pp-options-dialog.c:647
|
||||
#: panels/printers/pp-options-dialog.c:648
|
||||
msgctxt "Printer Option Group"
|
||||
msgid "Finishing"
|
||||
msgstr "Zaključevanje"
|
||||
|
||||
#. Translators: "Advanced" tab contains all others settings
|
||||
#: panels/printers/pp-options-dialog.c:650
|
||||
#: panels/printers/pp-options-dialog.c:651
|
||||
msgctxt "Printer Option Group"
|
||||
msgid "Advanced"
|
||||
msgstr "Napredno"
|
||||
|
||||
#. Translators: Name of job which makes printer to print test page
|
||||
#: panels/printers/pp-options-dialog.c:831
|
||||
#: panels/printers/pp-options-dialog.c:832
|
||||
msgid "Test Page"
|
||||
msgstr "Preizkusna stran"
|
||||
|
||||
#. Translators: Name of job which makes printer to print test page
|
||||
#: panels/printers/pp-options-dialog.c:844
|
||||
#: panels/printers/pp-options-dialog.c:845
|
||||
msgid "Test page"
|
||||
msgstr "Preizkusna stran"
|
||||
|
||||
@@ -5427,7 +5432,7 @@ msgid "No pre-filtering"
|
||||
msgstr "Brez predhodnega filtriranja"
|
||||
|
||||
#. Translators: Name of column showing printer manufacturers
|
||||
#: panels/printers/pp-ppd-selection-dialog.c:220
|
||||
#: panels/printers/pp-ppd-selection-dialog.c:216
|
||||
#: panels/wwan/cc-wwan-details-dialog.ui:160
|
||||
msgid "Manufacturer"
|
||||
msgstr "Proizvajalec"
|
||||
@@ -5436,14 +5441,9 @@ msgstr "Proizvajalec"
|
||||
msgid "Select Printer Driver"
|
||||
msgstr "Izbor gonilnik tiskalnika"
|
||||
|
||||
#: panels/printers/pp-ppd-selection-dialog.ui:17
|
||||
#: panels/wwan/cc-wwan-device-page.c:188
|
||||
msgid "Cancel"
|
||||
msgstr "Prekliči"
|
||||
|
||||
#: panels/printers/pp-ppd-selection-dialog.ui:100
|
||||
msgid "Loading drivers database…"
|
||||
msgstr "Poteka nalaganje zbirke gonilnikov …"
|
||||
#: panels/printers/pp-ppd-selection-dialog.ui:47
|
||||
msgid "Loading Drivers"
|
||||
msgstr "Nalaganje gonilnikov"
|
||||
|
||||
#. Translators: This is the label of the button that opens the Jobs Dialog.
|
||||
#: panels/printers/pp-printer-entry.c:532
|
||||
@@ -5797,7 +5797,7 @@ msgstr "Dovoli neposreden dostop do naprav, kot so sidrišča in zunanje GPE."
|
||||
msgid "Pending Devices"
|
||||
msgstr "Naprave na čakanju"
|
||||
|
||||
#: panels/privacy/bolt/cc-bolt-page.ui:257
|
||||
#: panels/privacy/bolt/cc-bolt-page.ui:246
|
||||
msgid "No devices attached"
|
||||
msgstr "Ni priklopljenih naprav"
|
||||
|
||||
@@ -7978,15 +7978,15 @@ msgstr "Upravljalnik prstnega odtisa"
|
||||
msgid "Fingerprint"
|
||||
msgstr "Prstni odtis"
|
||||
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:79
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:77
|
||||
msgid "_No"
|
||||
msgstr "_Ne"
|
||||
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:87
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:85
|
||||
msgid "_Yes"
|
||||
msgstr "_Da"
|
||||
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:107
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:105
|
||||
msgid ""
|
||||
"Do you want to delete your registered fingerprints so fingerprint login is "
|
||||
"disabled?"
|
||||
@@ -7994,43 +7994,43 @@ msgstr ""
|
||||
"Ali želite izbrisati obstoječe prstne odtise in onemogočiti tak način "
|
||||
"prijave?"
|
||||
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:163
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:161
|
||||
msgid "No fingerprint device"
|
||||
msgstr "Ni naprave za branje prstnega odtisa"
|
||||
|
||||
#. Translators: This is the empty state page label which states that there are no devices ready.
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:178
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:176
|
||||
msgid "No Fingerprint device"
|
||||
msgstr "Ni naprave za branje prstnega odtisa"
|
||||
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:187
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:185
|
||||
msgid "Ensure the device is properly connected"
|
||||
msgstr "Zagotovite, da je naprava pravilno povezana."
|
||||
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:195
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:193
|
||||
msgid "Fingerprint Device"
|
||||
msgstr "Naprava za branje prstnega odtisa"
|
||||
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:204
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:202
|
||||
msgid "Choose the fingerprint device you want to configure"
|
||||
msgstr "Izberite napravo za branje prstnega odtisa, ki jo želite nastaviti"
|
||||
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:234
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:232
|
||||
msgid "Fingerprint Login"
|
||||
msgstr "Prijava s prstnim odtisom"
|
||||
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:240
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:238
|
||||
msgid ""
|
||||
"Fingerprint login allows you to unlock and log into your device with your "
|
||||
"finger"
|
||||
msgstr ""
|
||||
"Prijava s prstnim odtisom omogoča odklepanje in prijavo v napravo s prstom"
|
||||
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:267
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:265
|
||||
msgid "_Delete Fingerprints"
|
||||
msgstr "_Izbriši prstne odtise"
|
||||
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:281
|
||||
#: panels/system/users/cc-fingerprint-dialog.ui:279
|
||||
msgid "Fingerprint Enroll"
|
||||
msgstr "Prijava s prstnim odtisom"
|
||||
|
||||
@@ -9509,6 +9509,10 @@ msgstr "Odkleni kartico SIM"
|
||||
msgid "Unlock"
|
||||
msgstr "Odkleni"
|
||||
|
||||
#: panels/wwan/cc-wwan-device-page.c:188
|
||||
msgid "Cancel"
|
||||
msgstr "Prekliči"
|
||||
|
||||
#: panels/wwan/cc-wwan-device-page.c:192
|
||||
#, c-format
|
||||
msgid "Please provide PIN code for SIM %d"
|
||||
|
||||
Reference in New Issue
Block a user