Merge lp:~karl-qdh/notify-osd/dialog-no-default-button into lp:notify-osd/lucid

Proposed by Karl Lattimer
Status: Merged
Approved by: Mirco Müller
Approved revision: 426
Merged at revision: 426
Proposed branch: lp:~karl-qdh/notify-osd/dialog-no-default-button
Merge into: lp:notify-osd/lucid
Diff against target: 19 lines (+2/-0)
1 file modified
src/dialog.c (+2/-0)
To merge this branch: bzr merge lp:~karl-qdh/notify-osd/dialog-no-default-button
Reviewer Review Type Date Requested Status
Mirco Müller (community) Approve
Review via email: mp+33623@code.launchpad.net

Description of the change

Updated dialog.c to unset can_default on both the cancel and ok button

To post a comment you must log in.
Revision history for this message
Mirco Müller (macslow) wrote :

Approved.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/dialog.c'
2--- src/dialog.c 2009-10-16 12:39:14 +0000
3+++ src/dialog.c 2010-08-25 10:19:38 +0000
4@@ -268,6 +268,7 @@
5 "button-release-event",
6 G_CALLBACK (handle_close),
7 dialog);
8+ gtk_widget_set_can_default(GTK_WIDGET(cancel), FALSE);
9
10 g_signal_connect (G_OBJECT (dialog),
11 "response",
12@@ -287,6 +288,7 @@
13 "button-release-event",
14 G_CALLBACK (handle_response),
15 dialog);
16+ gtk_widget_set_can_default(GTK_WIDGET(ok), FALSE);
17
18 g_object_set_data (G_OBJECT (dialog),
19 "_dialog_info",

Subscribers

People subscribed via source and target branches

to all changes: