mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 07:30:54 +00:00
sysprof: show dialog about local files
This commit is contained in:
@ -173,6 +173,16 @@ sysprof_greeter_choose_file_for_record_cb (GObject *object,
|
|||||||
sysprof_greeter_record_cb,
|
sysprof_greeter_record_cb,
|
||||||
g_object_ref (self));
|
g_object_ref (self));
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
GtkWidget *message;
|
||||||
|
|
||||||
|
message = adw_message_dialog_new (NULL,
|
||||||
|
_("Must Capture to Local File"),
|
||||||
|
_("You must choose a local file to capture using Sysprof"));
|
||||||
|
adw_message_dialog_add_response (ADW_MESSAGE_DIALOG (message), "close", _("Close"));
|
||||||
|
gtk_window_present (GTK_WINDOW (message));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user