Mercurial > audlegacy-plugins
comparison src/alarm/interface.c @ 134:8b343e9684b5 trunk
[svn] - fixes from Christian Birchinger <joker -at- gentoo.org>
author | nenolod |
---|---|
date | Fri, 27 Oct 2006 13:12:59 -0700 |
parents | 561871379579 |
children | e3b27548e45f |
comparison
equal
deleted
inserted
replaced
133:603d5ff9d4bd | 134:8b343e9684b5 |
---|---|
369 GtkWidget *reminder_text; | 369 GtkWidget *reminder_text; |
370 GtkWidget *label74; | 370 GtkWidget *label74; |
371 GtkWidget *frame16; | 371 GtkWidget *frame16; |
372 GtkWidget *scrolledwindow1; | 372 GtkWidget *scrolledwindow1; |
373 GtkWidget *text1; | 373 GtkWidget *text1; |
374 GtkTextBuffer *text1buffer; | |
375 GtkTextIter iter; | |
374 GtkWidget *label86; | 376 GtkWidget *label86; |
375 GtkWidget *dialog_action_area5; | 377 GtkWidget *dialog_action_area5; |
376 GtkWidget *hbox20; | 378 GtkWidget *hbox20; |
377 GtkWidget *ok_button; | 379 GtkWidget *ok_button; |
378 GtkWidget *cancel_button; | 380 GtkWidget *cancel_button; |
1347 (GtkDestroyNotify) gtk_widget_unref); | 1349 (GtkDestroyNotify) gtk_widget_unref); |
1348 gtk_widget_show (scrolledwindow1); | 1350 gtk_widget_show (scrolledwindow1); |
1349 gtk_container_add (GTK_CONTAINER (frame16), scrolledwindow1); | 1351 gtk_container_add (GTK_CONTAINER (frame16), scrolledwindow1); |
1350 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); | 1352 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); |
1351 | 1353 |
1352 text1 = gtk_text_new (NULL, NULL); | 1354 text1 = gtk_text_view_new(); |
1355 text1buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW (text1)); | |
1356 gtk_text_buffer_get_iter_at_offset (text1buffer, &iter, 0); | |
1353 gtk_widget_set_name (text1, "text1"); | 1357 gtk_widget_set_name (text1, "text1"); |
1354 gtk_widget_ref (text1); | 1358 gtk_widget_ref (text1); |
1355 gtk_object_set_data_full (GTK_OBJECT (config_dialog), "text1", text1, | 1359 gtk_object_set_data_full (GTK_OBJECT (config_dialog), "text1", text1, |
1356 (GtkDestroyNotify) gtk_widget_unref); | 1360 (GtkDestroyNotify) gtk_widget_unref); |
1357 gtk_widget_show (text1); | 1361 gtk_widget_show (text1); |
1358 gtk_container_add (GTK_CONTAINER (scrolledwindow1), text1); | 1362 gtk_container_add (GTK_CONTAINER (scrolledwindow1), text1); |
1359 gtk_text_insert (GTK_TEXT_VIEW (text1), NULL, NULL, NULL, | 1363 gtk_text_buffer_insert (text1buffer, &iter, |
1360 "Time\n Alarm at: \n The time for the alarm to come on.\n\n Quiet After: \n Stop alarm after this amount of time.\n (if the wakeup dialog is not closed)\n\n\nDays\n Day:\n Select the days for the alarm to activate.\n\n Time:\n Choose the time for the alarm on each day,\n or select the toggle button to use the default\n time.\n\n\nVolume\n Fading: \n Fade the volume up to the chosen volume \n for this amount of time.\n\n Start at: \n Start fading from this volume.\n\n Final: \n The volume to stop fading at. If the fading\n time is 0 then set volume to this and start\n playing.\n\n\nOptions:\n Additional Command:\n Run this command at the alarm time.\n\n Playlist: \n Load this playlist for playing songs from \n (must have .m3u extension). If no playlist\n is given then the songs which are currently\n in the list will be used.\n The URL of an mp3/ogg stream can also be\n entered here, but loading of playlists from\n URLs is not currently supported by xmms.\n\n Reminder:\n Display a reminder when the alarm goes off,\n type the reminder in the box and turn on the\n toggle button if you want it to be shown.", 1143); | 1364 "Time\n Alarm at: \n The time for the alarm to come on.\n\n Quiet After: \n Stop alarm after this amount of time.\n (if the wakeup dialog is not closed)\n\n\nDays\n Day:\n Select the days for the alarm to activate.\n\n Time:\n Choose the time for the alarm on each day,\n or select the toggle button to use the default\n time.\n\n\nVolume\n Fading: \n Fade the volume up to the chosen volume \n for this amount of time.\n\n Start at: \n Start fading from this volume.\n\n Final: \n The volume to stop fading at. If the fading\n time is 0 then set volume to this and start\n playing.\n\n\nOptions:\n Additional Command:\n Run this command at the alarm time.\n\n Playlist: \n Load this playlist for playing songs from \n (must have .m3u extension). If no playlist\n is given then the songs which are currently\n in the list will be used.\n The URL of an mp3/ogg stream can also be\n entered here, but loading of playlists from\n URLs is not currently supported by xmms.\n\n Reminder:\n Display a reminder when the alarm goes off,\n type the reminder in the box and turn on the\n toggle button if you want it to be shown.", 1143); |
1361 | 1365 |
1362 label86 = gtk_label_new ("Help"); | 1366 label86 = gtk_label_new ("Help"); |
1363 gtk_widget_set_name (label86, "label86"); | 1367 gtk_widget_set_name (label86, "label86"); |
1364 gtk_widget_ref (label86); | 1368 gtk_widget_ref (label86); |