[tracker/miner-web: 21/24] tracker-preferences: Replace all the occurences of "bridge" by "miner" in messages
- From: Adrien Bustany <abustany src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/miner-web: 21/24] tracker-preferences: Replace all the occurences of "bridge" by "miner" in messages
- Date: Tue, 10 Nov 2009 16:16:35 +0000 (UTC)
commit 5df56cffb959ed9f695012ff64374a636e95e00b
Author: Adrien Bustany <madcat mymadcat com>
Date: Fri Nov 6 11:56:24 2009 -0300
tracker-preferences: Replace all the occurences of "bridge" by "miner" in messages
Bridges do not exist anymore. Get on with it!
src/tracker-preferences/tracker-preferences.vala | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-preferences/tracker-preferences.vala b/src/tracker-preferences/tracker-preferences.vala
index d42f080..533ec8e 100644
--- a/src/tracker-preferences/tracker-preferences.vala
+++ b/src/tracker-preferences/tracker-preferences.vala
@@ -69,6 +69,14 @@ public static Frame frame_miner_association;
public static VBox vbox_miner_tokenassociation;
public static Table table_miner_userassociation;
+public struct MinerInfo
+{
+ public string name;
+ public DBus.Object proxy;
+ public MinerWeb.AssociationStatus association_status;
+}
+public static MinerInfo? current_miner = null;
+
public static void radiobutton_visibility_toggled_cb (RadioButton source) {
if (radiobutton_display_never.active) {
icon_config.visibility = 0;
@@ -386,13 +394,13 @@ update_miner_status_panel (string name, string association_type)
case MinerWeb.AssociationStatus.ASSOCIATED:
image_miner_status.set_from_stock (STOCK_YES, IconSize.MENU);
label_miner_status.set_text (_("Running"));
- label_miner_associated.set_text (_("The bridge is associated"));
+ label_miner_associated.set_text (_("The miner is associated"));
button_miner_associate.set_label (_("Associate as another user"));
break;
case MinerWeb.AssociationStatus.UNASSOCIATED:
image_miner_status.set_from_stock (STOCK_NO, IconSize.MENU);
label_miner_status.set_text (_("Needs association"));
- label_miner_associated.set_text (_("The bridge is not associated yet"));
+ label_miner_associated.set_text (_("The miner is not associated yet"));
button_miner_associate.set_label (_("Associate"));
break;
}
@@ -413,7 +421,7 @@ update_miner_status_panel (string name, string association_type)
} catch (Error e) {
warning ("Error while contacting miner : %s", e.message);
image_miner_status.set_from_stock (STOCK_DIALOG_ERROR, IconSize.MENU);
- label_miner_status.set_text (_("Error while contacting the bridge"));
+ label_miner_status.set_text (_("Error while contacting the miner"));
frame_miner_association.hide ();
}
@@ -434,6 +442,11 @@ treeview_miners_selection_changed ()
}
}
+static void
+button_miner_associate_clicked (Button source)
+{
+}
+
static int main (string[] args) {
Gtk.init (ref args);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]