[rygel/config] Use the correct response IDs.
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel/config] Use the correct response IDs.
- Date: Mon, 27 Apr 2009 16:57:35 -0400 (EDT)
commit f995caeda571ad55f6a4a409e63335ba89b7ca04
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Apr 27 23:48:35 2009 +0300
Use the correct response IDs.
---
src/ui/rygel-preferences-dialog.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ui/rygel-preferences-dialog.vala b/src/ui/rygel-preferences-dialog.vala
index 1f2ba86..f2a9e55 100644
--- a/src/ui/rygel-preferences-dialog.vala
+++ b/src/ui/rygel-preferences-dialog.vala
@@ -60,10 +60,10 @@ public class Rygel.PreferencesDialog : GLib.Object {
private void on_response (Dialog dialog, int response_id) {
switch (response_id) {
- case ResponseType.REJECT:
+ case ResponseType.CANCEL:
Gtk.main_quit ();
break;
- case ResponseType.ACCEPT:
+ case ResponseType.OK:
apply_settings ();
Gtk.main_quit ();
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]