~ubuntu-branches/ubuntu/precise/notify-osd/precise

« back to all changes in this revision

Viewing changes to src/dialog.c

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-02-25 10:04:57 UTC
  • mfrom: (3.1.27 upstream)
  • Revision ID: james.westby@ubuntu.com-20110225100457-09iyilml04zzpy2a
Tags: 0.9.30-0ubuntu1
* New upstream release
  - multi-monitor related fixes for correctly positioning the 
    notification-bubbles 
  - Notification borders are cut off on the right bottom side (LP: #724842)
  - Two notification bubbles at the same time (LP: #559109)
  - Fallback alert has leftmost button as default (LP: #353843)
  - should build without GTK deprecation (LP: #655232)
  - Black border in the notifications when effects are turned 
    off (LP: #654921)
  - Notify-osd needs to pause the timer during mouse-over (LP: #500663)

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
        dialog_info->sender = g_strdup(sender);
176
176
 
177
177
        dialog = gtk_dialog_new ();
178
 
        gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
179
178
 
180
179
        hbox = g_object_new (GTK_TYPE_HBOX,
181
180
                             "spacing", gap,
268
267
                                  "button-release-event",
269
268
                                  G_CALLBACK (handle_close),
270
269
                                  dialog);
 
270
        gtk_widget_set_can_default(GTK_WIDGET(cancel), FALSE);
271
271
 
272
272
        g_signal_connect (G_OBJECT (dialog),
273
273
                          "response",
287
287
                          "button-release-event",
288
288
                          G_CALLBACK (handle_response),
289
289
                          dialog);
 
290
        gtk_widget_set_can_default(GTK_WIDGET(ok), FALSE);
290
291
 
291
292
        g_object_set_data (G_OBJECT (dialog),
292
293
                           "_dialog_info",