~ubuntu-branches/ubuntu/raring/synaptic/raring-proposed

« back to all changes in this revision

Viewing changes to gtk/rgfetchprogress.cc

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2006-12-18 10:52:08 UTC
  • Revision ID: james.westby@ubuntu.com-20061218105208-iwsrzl3k827vrou1
Tags: 0.57.11.1
* gtk/rgmainwindow.cc:
  - fix crash in "Lock package"
* gtk/rgpreferenceswindow.cc:
  - add default font to fix crash

Show diffs side-by-side

added added

removed removed

Lines of Context:
136
136
      gtk_widget_show_all(_sock);
137
137
      _win = _sock;
138
138
   } 
139
 
   show();
 
139
   gtk_widget_realize(_win);
 
140
 
 
141
   // reset the urgency hint here (gtk seems to like showing it for
 
142
   // dialogs that come up)
 
143
   gtk_window_set_urgency_hint(GTK_WINDOW(_win), FALSE);
140
144
 
141
145
   GtkStyle *style = gtk_widget_get_style(_win);
142
146
   _font = style->font_desc;
284
288
 
285
289
   pkgAcquireStatus::Pulse(Owner);
286
290
 
 
291
   // only show here if there is actually something to download/get
 
292
   if (TotalBytes > 0 && !GTK_WIDGET_VISIBLE(_win))
 
293
      show();
 
294
 
287
295
   for (pkgAcquire::Worker * I = Owner->WorkersBegin(); I != 0;
288
296
        I = Owner->WorkerStep(I)) {
289
297