~ubuntu-branches/ubuntu/raring/workrave/raring

« back to all changes in this revision

Viewing changes to frontend/plugin/distribution/gtkmm/src/NetworkPreferencePage.cc

  • Committer: Package Import Robot
  • Author(s): Francois Marier, Francois Marier, Jordi Mallach
  • Date: 2012-05-28 11:29:40 UTC
  • mfrom: (1.2.9)
  • Revision ID: package-import@ubuntu.com-20120528112940-bbbsjkk30fom9s8x
Tags: 1.9.909+abc941eb70-1
[ Francois Marier ]
* New upstream snapshot
  - Drop leak-fix patch (applied upstream)
  - Document how the tarball is built in README.source
* Build GNOME applets and use gsettings
* Massive update of Build-Depends as per configure.ac

* Update README.source with snapshot instructions
* Switch to machine-readable copyright file
* Update alioth git repo links
* Bump debhelper version to 9
* Bump Standards-Version to 3.9.3

[ Jordi Mallach ]
* Avoid references to GNU/Linux in manpage.
* Drop build dependency on libgnet-dev, it's obsolete and unneeded.
* Add myself to Uploaders.
* Rewrite d/rules into dh style.
  - Move all install tweaks to .install files.
  - Install manpages using dh_installman.
* As a side effect, the package installs arch-dependant data in the
  arch triplet directory; add the required Pre-Depends for m-a-support.
* Bring back GNOME Panel applet (for GNOME 3 fallback mode) and ship the
  new GNOME Shell extension (closes: #642514, #666100).
* Add private_dirs.patch: move libworkrave-private and GObject
  Introspection files to a private dir, so they are really out of the
  way, but disable it for now as it breaks the Shell extension.
* Move typelib out of the triplet dir as gobject-introspection is not
  M-A ready yet.
* Enable dh_autoreconf for the above patches.
* Add lintian overrides.
* Add necessary Breaks/Replaces as the xpm icon has moved to workrave-data.
* Prefix all debhelper files with package name.
* Suggest gnome-shell and gnome-panel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
  id_frame->add(_("Password:"), *password_entry);
105
105
  password_entry->set_visibility(false);
106
106
  password_entry->set_invisible_char('*');
107
 
 
 
107
 
108
108
  // Server switch
109
109
  listening_cb = Gtk::manage(new Gtk::CheckButton());
110
110
  Gtk::Label *listening_lab
111
111
    = Gtk::manage(GtkUtil::create_label(_("Allow incoming connections"), true));
112
112
  listening_cb->add(*listening_lab);
113
113
  id_frame->add(*listening_cb);
114
 
 
 
114
 
115
115
  id_frame->set_border_width(12);
116
116
  tnotebook->append_page(*id_frame, _("General"));
117
117
 
214
214
  renderer->property_editable().set_value(true);
215
215
  renderer->signal_edited().connect(sigc::mem_fun(*this, &NetworkPreferencePage::on_port_edited));
216
216
 
217
 
  
 
217
 
218
218
  Gtk::ScrolledWindow *peers_scroll = Gtk::manage(new Gtk::ScrolledWindow());
219
219
  peers_scroll->add(*peers_list);
220
220
 
243
243
  gp->pack_start(*hbox, true, true, 0);
244
244
 
245
245
  create_model();
246
 
  
 
246
 
247
247
  gp->show_all();
248
248
 
249
249
  gp->set_border_width(12);
258
258
//   Gtk::ListStore *store = peers_store.operator->();
259
259
//   printf("%x\n", store);
260
260
// #endif
261
 
  
 
261
 
262
262
  list<string> peers = dist_manager->get_peers();
263
263
 
264
264
  for (list<string>::iterator i = peers.begin(); i != peers.end(); i++)
272
272
 
273
273
          string hostname, port;
274
274
          parse_peers(peer, hostname, port);
275
 
          
 
275
 
276
276
          row[peers_columns.hostname]  = hostname;
277
277
          row[peers_columns.port]      = port;
278
278
        }
285
285
{
286
286
  hostname = "";
287
287
  port = "";
288
 
  
 
288
 
289
289
  std::string::size_type pos = peer.find("tcp://");
290
290
  if (pos != std::string::npos)
291
291
    {
439
439
 
440
440
  Gtk::TreeModel::iterator iter = peers_store->append();
441
441
  Gtk::TreeModel::Row row = *iter;
442
 
  
 
442
 
443
443
  row[peers_columns.hostname]  = "";
444
444
  row[peers_columns.port]      = ss.str();
445
 
  
 
445
 
446
446
  TRACE_EXIT();
447
447
}
448
448