"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/menus.c" between
xcdroast-1.18.tar.gz and xcdroast-1.19.tar.gz

About: X-CD-Roast is a graphical user interface (GUI) for the command-line cdrtools.

menus.c  (xcdroast-1.18):menus.c  (xcdroast-1.19)
skipping to change at line 90 skipping to change at line 90
extern current_set_t curset; extern current_set_t curset;
extern track_read_set_t trackreadset; extern track_read_set_t trackreadset;
extern gint read_done; extern gint read_done;
extern GList *tocfiles; extern GList *tocfiles;
extern gint read_abort_mark; extern gint read_abort_mark;
extern gchar sharedir[MAXLINE]; extern gchar sharedir[MAXLINE];
extern GtkWidget *cdlist_l1, *imglist_l2; extern GtkWidget *cdlist_l1, *imglist_l2;
extern GtkCList *cdlist, *imglist2; extern GtkCList *cdlist, *imglist2;
extern gchar configdir[MAXLINE]; extern gchar configdir[MAXLINE];
extern GtkWidget *isoopts[24]; extern GtkWidget *isoopts[24];
extern master_param_t masterparam;
extern GtkWidget *mkisofs_calc_timeout_dialog; extern GtkWidget *mkisofs_calc_timeout_dialog;
extern img_logo_t img; extern img_logo_t img;
GtkWidget *ctree_okbutton; GtkWidget *ctree_okbutton;
GtkWidget *cddb_info_label; GtkWidget *cddb_info_label;
GtkCList *cddb_clist; GtkCList *cddb_clist;
GtkWidget *viewmode_dialog; GtkWidget *viewmode_dialog;
GtkWidget *readtrack_info_label, *readtrack_textview; GtkWidget *readtrack_info_label, *readtrack_textview;
GtkWidget *readtrack_pbar1, *readtrack_pbar2; GtkWidget *readtrack_pbar1, *readtrack_pbar2;
GtkWidget *readtrack_pbar3, *readtrack_pbar4, *readtrack_spd; GtkWidget *readtrack_pbar3, *readtrack_pbar4, *readtrack_spd;
skipping to change at line 496 skipping to change at line 495
gtk_box_pack_start(GTK_BOX(box1),l4,FALSE,FALSE,0); gtk_box_pack_start(GTK_BOX(box1),l4,FALSE,FALSE,0);
gtk_widget_show(l4); gtk_widget_show(l4);
g_snprintf(tmp,MAXLINE,_("<a href=\"http://www.xcdroast.org/translations .html\">Translations</a>")); g_snprintf(tmp,MAXLINE,_("<a href=\"http://www.xcdroast.org/translations .html\">Translations</a>"));
l5 = gtk_label_new(NULL); l5 = gtk_label_new(NULL);
gtk_label_set_markup(GTK_LABEL(l5), tmp); gtk_label_set_markup(GTK_LABEL(l5), tmp);
gtk_label_set_justify(GTK_LABEL(l5),GTK_JUSTIFY_CENTER); gtk_label_set_justify(GTK_LABEL(l5),GTK_JUSTIFY_CENTER);
gtk_box_pack_start(GTK_BOX(box1),l5,FALSE,FALSE,5); gtk_box_pack_start(GTK_BOX(box1),l5,FALSE,FALSE,5);
gtk_widget_show(l5); gtk_widget_show(l5);
g_snprintf(tmp,MAXLINE,_("Copyright &#xA9; 1996-2017 Thomas Niederreiter ")); g_snprintf(tmp,MAXLINE,_("Copyright &#xA9; 1996-2018 Thomas Niederreiter "));
l6 = gtk_label_new(NULL); l6 = gtk_label_new(NULL);
gtk_label_set_markup(GTK_LABEL(l6), tmp); gtk_label_set_markup(GTK_LABEL(l6), tmp);
gtk_label_set_justify(GTK_LABEL(l6),GTK_JUSTIFY_CENTER); gtk_label_set_justify(GTK_LABEL(l6),GTK_JUSTIFY_CENTER);
gtk_box_pack_start(GTK_BOX(box1),l6,FALSE,FALSE,10); gtk_box_pack_start(GTK_BOX(box1),l6,FALSE,FALSE,10);
gtk_widget_show(l6); gtk_widget_show(l6);
box2 = gtk_hbox_new(FALSE,0); box2 = gtk_hbox_new(FALSE,0);
button1 = gtk_button_new_with_label (T_CLOSE); button1 = gtk_button_new_with_label (T_CLOSE);
gtk_box_pack_start(GTK_BOX(box2),button1,TRUE,FALSE,10); gtk_box_pack_start(GTK_BOX(box2),button1,TRUE,FALSE,10);
skipping to change at line 643 skipping to change at line 642
/* allocate directory names */ /* allocate directory names */
strncpy(tmp2, dir_list->data, MAXLINE); strncpy(tmp2, dir_list->data, MAXLINE);
convert_for_gtk2(tmp2); convert_for_gtk2(tmp2);
text[0] = tmp2; text[0] = tmp2;
strcpy(tmp,path); strcpy(tmp,path);
/* add slash when not there */ /* add slash when not there */
if (tmp[strlen(tmp)-1] != '/') if (tmp[strlen(tmp)-1] != '/')
strcat(tmp,"/"); strcat(tmp,"/");
if ((strlen(tmp) + strlen(dir_list->data)) > MAXLINE-1) { if ((strlen(tmp) + strlen(dir_list->data)) > MAXLINE-1) {
/* getting to long..writing dummy*/ /* getting too long.. writing dummy */
strcat(tmp,"+"); strcat(tmp,"+");
} else { } else {
strcat(tmp,dir_list->data); strcat(tmp,dir_list->data);
} }
textdata = g_strdup(tmp); textdata = g_strdup(tmp);
/* now check if there are subdirs in that dir */ /* now check if there are subdirs in that dir */
if (is_subdirs(tmp)) { if (is_subdirs(tmp)) {
sibling = gtk_ctree_insert_node (ctree,parent, sibling = gtk_ctree_insert_node (ctree,parent,
NULL,text,3,pixmap1,mask1, NULL,text,3,pixmap1,mask1,
skipping to change at line 694 skipping to change at line 693
while (file_list) { while (file_list) {
strncpy(tmp2, file_list->data, MAXLINE); strncpy(tmp2, file_list->data, MAXLINE);
convert_for_gtk2(tmp2); convert_for_gtk2(tmp2);
text[0] = tmp2; text[0] = tmp2;
strcpy(tmp,path); strcpy(tmp,path);
/* add slash when not there */ /* add slash when not there */
if (tmp[strlen(tmp)-1] != '/') if (tmp[strlen(tmp)-1] != '/')
strcat(tmp,"/"); strcat(tmp,"/");
if ((strlen(tmp) + strlen(file_list->data)) > MAXLINE-1) { if ((strlen(tmp) + strlen(file_list->data)) > MAXLINE-1) {
/* getting to long..writing dummy*/ /* getting too long.. writing dummy */
strcat(tmp,"+"); strcat(tmp,"+");
} else { } else {
strcat(tmp,file_list->data); strcat(tmp,file_list->data);
} }
textdata = g_strdup(tmp); textdata = g_strdup(tmp);
sibling = gtk_ctree_insert_node (ctree,parent, sibling = gtk_ctree_insert_node (ctree,parent,
NULL,text,3,pixmap3,mask3, NULL,text,3,pixmap3,mask3,
pixmap3,mask3,TRUE,FALSE); pixmap3,mask3,TRUE,FALSE);
skipping to change at line 4049 skipping to change at line 4048
gtk_window_set_transient_for(GTK_WINDOW(dialog),GTK_WINDOW(toplevel)); gtk_window_set_transient_for(GTK_WINDOW(dialog),GTK_WINDOW(toplevel));
g_signal_connect(dialog, "delete_event", g_signal_connect(dialog, "delete_event",
G_CALLBACK (dsptest_delete_event), (gpointer) dialog); G_CALLBACK (dsptest_delete_event), (gpointer) dialog);
/* create layout for dialog */ /* create layout for dialog */
box1 = gtk_vbox_new(FALSE,0); box1 = gtk_vbox_new(FALSE,0);
gtk_container_set_border_width (GTK_CONTAINER (box1), 5); gtk_container_set_border_width (GTK_CONTAINER (box1), 5);
gtk_container_add(GTK_CONTAINER(dialog),box1); gtk_container_add(GTK_CONTAINER(dialog),box1);
f1 = gtk_frame_new(_("Test DSP-Device")); f1 = gtk_frame_new(_("Test Audio-Device"));
set_font_and_color_frame(f1,PANGO_BOLD,NULL); set_font_and_color_frame(f1,PANGO_BOLD,NULL);
gtk_box_pack_start(GTK_BOX(box1),f1,TRUE,TRUE,0); gtk_box_pack_start(GTK_BOX(box1),f1,TRUE,TRUE,0);
gtk_widget_show(f1); gtk_widget_show(f1);
box2 = gtk_vbox_new(FALSE,0); box2 = gtk_vbox_new(FALSE,0);
gtk_container_set_border_width (GTK_CONTAINER (box2), 5); gtk_container_set_border_width (GTK_CONTAINER (box2), 5);
gtk_container_add(GTK_CONTAINER(f1),box2); gtk_container_add(GTK_CONTAINER(f1),box2);
gtk_widget_show(box2); gtk_widget_show(box2);
font = pango_font_description_from_string(PANGO_MONOSPACE); font = pango_font_description_from_string(PANGO_MONOSPACE);
skipping to change at line 4095 skipping to change at line 4094
gtk_widget_show(button2); gtk_widget_show(button2);
g_signal_connect(button2,"clicked", g_signal_connect(button2,"clicked",
G_CALLBACK(dsptest_cancel), GINT_TO_POINTER(-1)); G_CALLBACK(dsptest_cancel), GINT_TO_POINTER(-1));
/* grab cursor */ /* grab cursor */
gtk_grab_add(dialog); gtk_grab_add(dialog);
my_center_dialog(dialog); my_center_dialog(dialog);
/* now fill text-widget with infos */ /* now fill text-widget with infos */
strncpy(tmp,_("Here you can test if X-CD-Roast is able to access your sou nd\nhardware to play audio tracks in CD quality.\nWhen you press the \"Play demo sample\" button, you should be\nable to hear a chime from your soundcard. Other wise your\nDSP-Device is either not supported, or turned off or busy by\nanother program."),MAXLINE); strncpy(tmp,_("Here you can test if X-CD-Roast is able to access your sou nd\nhardware to play audio tracks in CD quality.\nWhen you press the \"Play demo sample\" button, you should be\nable to hear a chime from your soundcard. Other wise your\nAudio-Device is either not supported, or turned off or busy by\nanoth er program."),MAXLINE);
append_to_text_view(txt, tmp); append_to_text_view(txt, tmp);
gtk_widget_show(dialog); gtk_widget_show(dialog);
/* now wait until button is pressed */ /* now wait until button is pressed */
gtk_main(); gtk_main();
gtk_grab_remove(GTK_WIDGET(dialog)); gtk_grab_remove(GTK_WIDGET(dialog));
skipping to change at line 4189 skipping to change at line 4188
convert_for_gtk2(tmp2); convert_for_gtk2(tmp2);
l1 = gtk_label_new(tmp2); l1 = gtk_label_new(tmp2);
gtk_container_add(GTK_CONTAINER(f1),l1); gtk_container_add(GTK_CONTAINER(f1),l1);
gtk_widget_show(l1); gtk_widget_show(l1);
l1 = gtk_label_new("=>"); l1 = gtk_label_new("=>");
gtk_box_pack_start(GTK_BOX(box2),l1,FALSE,FALSE,0); gtk_box_pack_start(GTK_BOX(box2),l1,FALSE,FALSE,0);
gtk_widget_show(l1); gtk_widget_show(l1);
entry = gtk_entry_new(); entry = gtk_entry_new();
gtk_entry_set_max_length(GTK_ENTRY(entry), MAXENTRY);
gtk_box_pack_start(GTK_BOX(box2),entry,FALSE,FALSE,5); gtk_box_pack_start(GTK_BOX(box2),entry,FALSE,FALSE,5);
gtk_widget_show(entry); gtk_widget_show(entry);
strncpy(tmp2, ret, MAXLINE); strncpy(tmp2, ret, MAXLINE);
convert_for_gtk2(tmp2); convert_for_gtk2(tmp2);
gtk_entry_set_text(GTK_ENTRY(entry), tmp2); gtk_entry_set_text(GTK_ENTRY(entry), tmp2);
box3 = gtk_hbox_new(FALSE,0); box3 = gtk_hbox_new(FALSE,0);
gtk_box_pack_start(GTK_BOX(box1),box3,FALSE,TRUE,10); gtk_box_pack_start(GTK_BOX(box1),box3,FALSE,TRUE,10);
gtk_widget_show(box3); gtk_widget_show(box3);
skipping to change at line 4316 skipping to change at line 4316
gtk_container_add(GTK_CONTAINER(f1),l1); gtk_container_add(GTK_CONTAINER(f1),l1);
gtk_misc_set_alignment(GTK_MISC(l1),0.5,0.5); gtk_misc_set_alignment(GTK_MISC(l1),0.5,0.5);
gtk_misc_set_padding(GTK_MISC(l1),5,5); gtk_misc_set_padding(GTK_MISC(l1),5,5);
gtk_widget_show(l1); gtk_widget_show(l1);
l1 = gtk_label_new("=>"); l1 = gtk_label_new("=>");
gtk_box_pack_start(GTK_BOX(box2),l1,FALSE,FALSE,0); gtk_box_pack_start(GTK_BOX(box2),l1,FALSE,FALSE,0);
gtk_widget_show(l1); gtk_widget_show(l1);
entry = gtk_entry_new(); entry = gtk_entry_new();
gtk_entry_set_max_length(GTK_ENTRY(entry), MAXENTRY);
gtk_box_pack_start(GTK_BOX(box2),entry,FALSE,FALSE,5); gtk_box_pack_start(GTK_BOX(box2),entry,FALSE,FALSE,5);
gtk_widget_show(entry); gtk_widget_show(entry);
gtk_entry_set_text(GTK_ENTRY(entry), "/"); gtk_entry_set_text(GTK_ENTRY(entry), "/");
box3 = gtk_hbox_new(FALSE,0); box3 = gtk_hbox_new(FALSE,0);
gtk_box_pack_start(GTK_BOX(box1),box3,FALSE,TRUE,10); gtk_box_pack_start(GTK_BOX(box1),box3,FALSE,TRUE,10);
gtk_widget_show(box3); gtk_widget_show(box3);
button1 = gtk_button_new_with_label(T_OK); button1 = gtk_button_new_with_label(T_OK);
gtk_box_pack_start(GTK_BOX(box3),button1,TRUE,TRUE,10); gtk_box_pack_start(GTK_BOX(box3),button1,TRUE,TRUE,10);
skipping to change at line 4918 skipping to change at line 4919
gtk_widget_show(btn); gtk_widget_show(btn);
define_tooltip(btn,_("Lets you specify exactly where the file or director y content should be mapped to on the destination Disc. (e.g. a directory /home/u ser can be mapped to /backup/home-dirs/user.)")); define_tooltip(btn,_("Lets you specify exactly where the file or director y content should be mapped to on the destination Disc. (e.g. a directory /home/u ser can be mapped to /backup/home-dirs/user.)"));
if (masterparam.redirtype == 3) if (masterparam.redirtype == 3)
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(btn),1); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(btn),1);
f3 = gtk_hbox_new(FALSE,0); f3 = gtk_hbox_new(FALSE,0);
gtk_box_pack_start(GTK_BOX(box2),f3,FALSE,FALSE,5); gtk_box_pack_start(GTK_BOX(box2),f3,FALSE,FALSE,5);
gtk_widget_show(f3); gtk_widget_show(f3);
entry = gtk_entry_new(); entry = gtk_entry_new();
gtk_entry_set_max_length(GTK_ENTRY(entry), MAXENTRY);
redir_entry = entry; redir_entry = entry;
gtk_box_pack_start(GTK_BOX(f3),entry,TRUE,TRUE,20); gtk_box_pack_start(GTK_BOX(f3),entry,TRUE,TRUE,20);
gtk_widget_show(entry); gtk_widget_show(entry);
gtk_entry_set_text(GTK_ENTRY(entry), masterparam.lastredirpath); gtk_entry_set_text(GTK_ENTRY(entry), masterparam.lastredirpath);
if (masterparam.redirtype != 3) if (masterparam.redirtype != 3)
gtk_widget_set_sensitive(redir_entry, FALSE); gtk_widget_set_sensitive(redir_entry, FALSE);
box3 = gtk_hbox_new(FALSE,0); box3 = gtk_hbox_new(FALSE,0);
gtk_box_pack_start(GTK_BOX(box1),box3,FALSE,TRUE,10); gtk_box_pack_start(GTK_BOX(box1),box3,FALSE,TRUE,10);
gtk_widget_show(box3); gtk_widget_show(box3);
skipping to change at line 5329 skipping to change at line 5331
get_artist_and_title_from_cddb(tmp, get_artist_and_title_from_cddb(tmp,
artist, title); artist, title);
} }
lbl = gtk_label_new(_("Album title:")); lbl = gtk_label_new(_("Album title:"));
gtk_table_attach_defaults(GTK_TABLE(tbl),lbl,0,2,0,1); gtk_table_attach_defaults(GTK_TABLE(tbl),lbl,0,2,0,1);
gtk_widget_show(lbl); gtk_widget_show(lbl);
/* cd-title */ /* cd-title */
e1 = gtk_entry_new(); e1 = gtk_entry_new();
gtk_entry_set_max_length(GTK_ENTRY(e1), MAXENTRY);
cdtext_entry1[0] = e1; cdtext_entry1[0] = e1;
gtk_table_attach_defaults(GTK_TABLE(tbl),e1,2,6,0,1); gtk_table_attach_defaults(GTK_TABLE(tbl),e1,2,6,0,1);
gtk_entry_set_text(GTK_ENTRY(e1), convert_for_gtk2(title)); gtk_entry_set_text(GTK_ENTRY(e1), convert_for_gtk2(title));
gtk_entry_set_position(GTK_ENTRY(e1), 0); gtk_entry_set_position(GTK_ENTRY(e1), 0);
if (nrtracks == 0) if (nrtracks == 0)
gtk_widget_set_sensitive(e1, FALSE); gtk_widget_set_sensitive(e1, FALSE);
gtk_widget_show(e1); gtk_widget_show(e1);
btn = gtk_button_new_with_label(_("Clear all")); btn = gtk_button_new_with_label(_("Clear all"));
g_signal_connect(btn,"clicked", g_signal_connect(btn,"clicked",
skipping to change at line 5350 skipping to change at line 5353
gtk_table_attach_defaults(GTK_TABLE(tbl),btn,7,10,0,1); gtk_table_attach_defaults(GTK_TABLE(tbl),btn,7,10,0,1);
gtk_widget_show(btn); gtk_widget_show(btn);
define_tooltip(btn,_("Clears all the CD-Text fields.")); define_tooltip(btn,_("Clears all the CD-Text fields."));
lbl = gtk_label_new(_("Performer:")); lbl = gtk_label_new(_("Performer:"));
gtk_table_attach_defaults(GTK_TABLE(tbl),lbl,0,2,1,2); gtk_table_attach_defaults(GTK_TABLE(tbl),lbl,0,2,1,2);
gtk_widget_show(lbl); gtk_widget_show(lbl);
/* cd-artist */ /* cd-artist */
e1 = gtk_entry_new(); e1 = gtk_entry_new();
gtk_entry_set_max_length(GTK_ENTRY(e1), MAXENTRY);
cdtext_entry2[0] = e1; cdtext_entry2[0] = e1;
gtk_table_attach_defaults(GTK_TABLE(tbl),e1,2,6,1,2); gtk_table_attach_defaults(GTK_TABLE(tbl),e1,2,6,1,2);
g_signal_connect(e1,"changed", g_signal_connect(e1,"changed",
G_CALLBACK(cdtext_artist_changed),NULL); G_CALLBACK(cdtext_artist_changed),NULL);
gtk_entry_set_text(GTK_ENTRY(e1), convert_for_gtk2(artist)); gtk_entry_set_text(GTK_ENTRY(e1), convert_for_gtk2(artist));
gtk_entry_set_position(GTK_ENTRY(e1), 0); gtk_entry_set_position(GTK_ENTRY(e1), 0);
if (nrtracks == 0) if (nrtracks == 0)
gtk_widget_set_sensitive(e1, FALSE); gtk_widget_set_sensitive(e1, FALSE);
gtk_widget_show(e1); gtk_widget_show(e1);
skipping to change at line 5575 skipping to change at line 5579
strcpy(title,""); strcpy(title,"");
strcpy(artist,""); strcpy(artist,"");
if (trackparam->trackfile) { if (trackparam->trackfile) {
get_title_artist_from_xinf(trackparam->trackfile, get_title_artist_from_xinf(trackparam->trackfile,
artist, title); artist, title);
} }
loop = loop->next; loop = loop->next;
} }
/* title entry */ /* title entry */
e1 = gtk_entry_new(); e1 = gtk_entry_new();
gtk_entry_set_max_length(GTK_ENTRY(e1), MAXENTRY);
cdtext_entry1[i+1] = e1; cdtext_entry1[i+1] = e1;
gtk_table_attach_defaults(GTK_TABLE(tbl),e1,2,10,i+1,i+2); gtk_table_attach_defaults(GTK_TABLE(tbl),e1,2,10,i+1,i+2);
gtk_entry_set_text(GTK_ENTRY(e1), convert_for_gtk2(title)); gtk_entry_set_text(GTK_ENTRY(e1), convert_for_gtk2(title));
gtk_entry_set_position(GTK_ENTRY(e1), 0); gtk_entry_set_position(GTK_ENTRY(e1), 0);
gtk_widget_show(e1); gtk_widget_show(e1);
/* set a tooltip with the original filename */ /* set a tooltip with the original filename */
if (mode != 0 && mode != 3 && trackparam->trackfile) { if (mode != 0 && mode != 3 && trackparam->trackfile) {
tip = gtk_tooltips_new(); tip = gtk_tooltips_new();
g_snprintf(tmp,MAXLINE,"%s", trackparam->trackfile); g_snprintf(tmp,MAXLINE,"%s", trackparam->trackfile);
gtk_tooltips_set_tip(tip,e1,tmp,NULL); gtk_tooltips_set_tip(tip,e1,tmp,NULL);
} }
/* artist entry */ /* artist entry */
e1 = gtk_entry_new(); e1 = gtk_entry_new();
gtk_entry_set_max_length(GTK_ENTRY(e1), MAXENTRY);
cdtext_entry2[i+1] = e1; cdtext_entry2[i+1] = e1;
gtk_table_attach_defaults(GTK_TABLE(tbl),e1,10,18,i+1,i+2); gtk_table_attach_defaults(GTK_TABLE(tbl),e1,10,18,i+1,i+2);
gtk_entry_set_text(GTK_ENTRY(e1), convert_for_gtk2(artist)); gtk_entry_set_text(GTK_ENTRY(e1), convert_for_gtk2(artist));
gtk_entry_set_position(GTK_ENTRY(e1), 0); gtk_entry_set_position(GTK_ENTRY(e1), 0);
gtk_widget_show(e1); gtk_widget_show(e1);
l1 = gtk_label_new(tmp2); l1 = gtk_label_new(tmp2);
gtk_table_attach_defaults(GTK_TABLE(tbl),l1,18,21,i+1,i+2); gtk_table_attach_defaults(GTK_TABLE(tbl),l1,18,21,i+1,i+2);
gtk_widget_show(l1); gtk_widget_show(l1);
} }
skipping to change at line 5876 skipping to change at line 5882
define_tooltip(btn,_("Will prefix all the selected files and dire ctories with a new path on the destination Disc. (e.g. the directories /home/use r1 and /opt/backup can be prefixed with /old to become /old/home/user1 and /old/ opt/backup on the Disc.)")); define_tooltip(btn,_("Will prefix all the selected files and dire ctories with a new path on the destination Disc. (e.g. the directories /home/use r1 and /opt/backup can be prefixed with /old to become /old/home/user1 and /old/ opt/backup on the Disc.)"));
} }
if (masterparam.redirtype2 == 3) if (masterparam.redirtype2 == 3)
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(btn),1); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(btn),1);
f3 = gtk_hbox_new(FALSE,0); f3 = gtk_hbox_new(FALSE,0);
gtk_box_pack_start(GTK_BOX(box2),f3,FALSE,FALSE,5); gtk_box_pack_start(GTK_BOX(box2),f3,FALSE,FALSE,5);
gtk_widget_show(f3); gtk_widget_show(f3);
entry = gtk_entry_new(); entry = gtk_entry_new();
gtk_entry_set_max_length(GTK_ENTRY(entry), MAXENTRY);
redir_entry = entry; redir_entry = entry;
gtk_box_pack_start(GTK_BOX(f3),entry,TRUE,TRUE,20); gtk_box_pack_start(GTK_BOX(f3),entry,TRUE,TRUE,20);
gtk_widget_show(entry); gtk_widget_show(entry);
gtk_entry_set_text(GTK_ENTRY(entry), masterparam.lastredirpath2); gtk_entry_set_text(GTK_ENTRY(entry), masterparam.lastredirpath2);
if (masterparam.redirtype2 != 3) if (masterparam.redirtype2 != 3)
gtk_widget_set_sensitive(redir_entry, FALSE); gtk_widget_set_sensitive(redir_entry, FALSE);
box3 = gtk_hbox_new(FALSE,0); box3 = gtk_hbox_new(FALSE,0);
gtk_box_pack_start(GTK_BOX(box1),box3,FALSE,TRUE,10); gtk_box_pack_start(GTK_BOX(box1),box3,FALSE,TRUE,10);
gtk_widget_show(box3); gtk_widget_show(box3);
skipping to change at line 6024 skipping to change at line 6031
b1_sep = gtk_hseparator_new(); b1_sep = gtk_hseparator_new();
gtk_box_pack_start(GTK_BOX(box2),b1_sep,FALSE,TRUE,5); gtk_box_pack_start(GTK_BOX(box2),b1_sep,FALSE,TRUE,5);
gtk_widget_show(b1_sep); gtk_widget_show(b1_sep);
lbl = gtk_label_new(_("This can be any device string as described in the\ ncdrecord manpage resp. the documentation.\n\nHint: Type in a terminal \"sudo cd record -scanbus\"\nto get a list of all currently attached devices.\n\nThen belo w for example: \"5,0,0\" (SCSI CAM standard notation) or\n\"REMOTE:rscsi@host:\" to scan for network enabled devices.")); lbl = gtk_label_new(_("This can be any device string as described in the\ ncdrecord manpage resp. the documentation.\n\nHint: Type in a terminal \"sudo cd record -scanbus\"\nto get a list of all currently attached devices.\n\nThen belo w for example: \"5,0,0\" (SCSI CAM standard notation) or\n\"REMOTE:rscsi@host:\" to scan for network enabled devices."));
gtk_box_pack_start(GTK_BOX(box2),lbl,FALSE,TRUE,5); gtk_box_pack_start(GTK_BOX(box2),lbl,FALSE,TRUE,5);
gtk_widget_show(lbl); gtk_widget_show(lbl);
entry = gtk_entry_new(); entry = gtk_entry_new();
gtk_entry_set_max_length(GTK_ENTRY(entry), MAXENTRY);
gtk_box_pack_start(GTK_BOX(box2),entry,TRUE,TRUE,10); gtk_box_pack_start(GTK_BOX(box2),entry,TRUE,TRUE,10);
g_signal_connect(entry, "activate", g_signal_connect(entry, "activate",
G_CALLBACK(dialog_btn_press), GINT_TO_POINTER(0)); G_CALLBACK(dialog_btn_press), GINT_TO_POINTER(0));
gtk_widget_show(entry); gtk_widget_show(entry);
box3 = gtk_hbox_new(FALSE,0); box3 = gtk_hbox_new(FALSE,0);
gtk_box_pack_start(GTK_BOX(box1),box3,FALSE,TRUE,10); gtk_box_pack_start(GTK_BOX(box1),box3,FALSE,TRUE,10);
gtk_widget_show(box3); gtk_widget_show(box3);
button1 = gtk_button_new_with_label(T_OK); button1 = gtk_button_new_with_label(T_OK);
 End of changes. 15 change blocks. 
6 lines changed or deleted 14 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)