Code

part of bug #339660; can not use Add/Rename dialog to create layer with no proper...
[inkscape.git] / src / jabber_whiteboard / pedrogui.cpp
index 81866d8ce6a5532c0a2c5f0481e43b0ee59171d8..035fc5a2f9c9294fd1292dc719d1186e8778351b 100644 (file)
@@ -4,7 +4,7 @@
  * Authors:
  *   Bob Jamison
  *
- * Copyright (C) 2005 Bob Jamison
+ * Copyright (C) 2005-2008 Bob Jamison
  *
  *  This library is free software; you can redistribute it and/or
  *  modify it under the terms of the GNU Lesser General Public
@@ -24,6 +24,7 @@
 #include "jabber_whiteboard/pedrogui.h"
 #include "jabber_whiteboard/session-manager.h"
 
+#include <glibmm/i18n.h>
 
 #include <stdarg.h>
 
@@ -379,8 +380,8 @@ static const guint8 icon_xa[] =
 //#########################################################################
 
 
-void Roster::doubleClickCallback(const Gtk::TreeModel::Path &path,
-                   Gtk::TreeViewColumn *col)
+void Roster::doubleClickCallback(const Gtk::TreeModel::Path &/*path*/,
+                   Gtk::TreeViewColumn */*col*/)
 {
     Glib::RefPtr<Gtk::TreeModel> model = rosterView.get_model();
     Glib::RefPtr<Gtk::TreeSelection> sel = rosterView.get_selection();
@@ -698,8 +699,8 @@ void MessageList::postMessage(const DOMString &from, const DOMString &msg)
 //#########################################################################
 //# U S E R     L I S T
 //#########################################################################
-void UserList::doubleClickCallback(const Gtk::TreeModel::Path &path,
-                   Gtk::TreeViewColumn *col)
+void UserList::doubleClickCallback(const Gtk::TreeModel::Path &/*path*/,
+                   Gtk::TreeViewColumn */*col*/)
 {
     Glib::RefPtr<Gtk::TreeModel> model = userList.get_model();
     Glib::RefPtr<Gtk::TreeSelection> sel = userList.get_selection();
@@ -1091,7 +1092,7 @@ bool GroupChatWindow::receiveMessage(const DOMString &from,
 bool GroupChatWindow::receivePresence(const DOMString &fromNick,
                                       bool presence,
                                       const DOMString &show,
-                                      const DOMString &status)
+                                      const DOMString &/*status*/)
 {
 
     DOMString presStr = "";
@@ -1584,8 +1585,8 @@ void ConnectDialog::cancelCallback()
 
 
 void ConnectDialog::doubleClickCallback(
-                   const Gtk::TreeModel::Path &path,
-                   Gtk::TreeViewColumn *col)
+                   const Gtk::TreeModel::Path &/*path*/,
+                   Gtk::TreeViewColumn */*col*/)
 {
     Glib::RefPtr<Gtk::TreeModel> model = accountView.get_model();
     Glib::RefPtr<Gtk::TreeSelection> sel = accountView.get_selection();
@@ -1689,11 +1690,11 @@ bool ConnectDialog::doSetup()
     table.resize(6, 2);
     get_vbox()->pack_start(table);
 
-    parent.client.setHost("broadway.dynalias.com");
+    parent.client.setHost("enter server name");
     parent.client.setPort(5222);
     parent.client.setUsername("");
     parent.client.setPassword("");
-    parent.client.setResource("pedroXmpp");
+    parent.client.setResource("inkscape");
 
     hostLabel.set_text("Host");
     table.attach(hostLabel, 0, 1, 0, 1);
@@ -2621,11 +2622,13 @@ void PedroGui::sendFileCallback()
 void PedroGui::aboutCallback()
 {
     Gtk::AboutDialog dlg;
+    dlg.set_name("Inkboard");
     std::vector<Glib::ustring>authors;
-    authors.push_back("Bob Jamison");
+    authors.push_back("David Yip <yipdw@rose-hulman.edu>");
+    authors.push_back("Dale Harvey <harveyd@gmail.com>");
     dlg.set_authors(authors);
-    DOMString comments = "A simple XMPP gui client  ";
-    comments.append("Based on the Pedro XMPP client");
+    DOMString comments = _("Shared SVG whiteboard tool.");
+    comments.append(_("Based on the Pedro XMPP client"));
     dlg.set_comments(comments);
     dlg.set_version("1.0");
     dlg.run();