Don't know what expired means - anyway
Tried the revised patch on natty which is fine as far as not showing the dialog on dir. anymore
The orig part, while still being included is not being 'honored' on files where I still think the box should be disabled by default (visible but not checked
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->details->checkbox), TRUE);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->details->checkbox), FALSE);
Here this takes care of in new part (changed TRUE to FALSE
@ -1031,6 +1031,12 @@ set_uri_and_type (NautilusOpenWithDialog *dialog,
gtk_label_set_text_with_mnemonic (GTK_LABEL (dialog->details->open_label), _("_Add"));
gtk_window_set_title (GTK_WINDOW (dialog), _("Add Application"));
+ } else {
+ if (g_str_equal (mime_type, "inode/directory")) {
+ gtk_widget_hide (dialog->details->checkbox);
+ } else {
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dialog->details->checkbox), FALSE);
+ }
}
Don't know what expired means - anyway
Tried the revised patch on natty which is fine as far as not showing the dialog on dir. anymore
The orig part, while still being included is not being 'honored' on files where I still think the box should be disabled by default (visible but not checked button_ set_active (GTK_TOGGLE_BUTTON (dialog- >details- >checkbox) , TRUE); button_ set_active (GTK_TOGGLE_BUTTON (dialog- >details- >checkbox) , FALSE);
- gtk_toggle_
+ gtk_toggle_
Here this takes care of in new part (changed TRUE to FALSE thDialog *dialog, label_set_ text_with_ mnemonic (GTK_LABEL (dialog- >details- >open_label) ,
_("_Add" )); window_ set_title (GTK_WINDOW (dialog), _("Add Application")); >details- >checkbox) ; button_ set_active (GTK_TOGGLE_BUTTON (dialog- >details- >checkbox) , FALSE);
@ -1031,6 +1031,12 @@ set_uri_and_type (NautilusOpenWi
gtk_
gtk_
+ } else {
+ if (g_str_equal (mime_type, "inode/directory")) {
+ gtk_widget_hide (dialog-
+ } else {
+ gtk_toggle_
+ }
}
gtk_label_ set_markup (GTK_LABEL (dialog- >details- >label) , label);