bin_PROGRAMS = rygel-preferences
BUILT_SOURCES = rygel.stamp \
- rygel-preferences.c \
+ rygel-preferences-dialog.c \
rygel-config-editor.c
-rygel_preferences_SOURCES = rygel-preferences.c \
- rygel-preferences.vala \
+rygel_preferences_SOURCES = rygel-preferences-dialog.c \
+ rygel-preferences-dialog.vala \
rygel-config-editor.c \
rygel-config-editor.vala
*/
using Gtk;
-public class Rygel.Preferences : Dialog {
+public class Rygel.PreferencesDialog : Dialog {
ConfigEditor config_editor;
- public Preferences () {
+ public PreferencesDialog () {
this.title = "Rygel Preferences";
this.config_editor = new ConfigEditor ();
this.vbox.add (hbox);
}
- private void on_response (Preferences pref, int response_id) {
+ private void on_response (PreferencesDialog dialog, int response_id) {
switch (response_id) {
case ResponseType.REJECT:
Gtk.main_quit ();
public static int main (string[] args) {
Gtk.init (ref args);
- var pref = new Preferences ();
+ var dialog = new PreferencesDialog ();
- pref.run ();
+ dialog.run ();
return 0;
}